当前位置:网站首页>[splashsplash] repeat the script that outputs splashsurf

[splashsplash] repeat the script that outputs splashsurf

2022-06-13 07:23:00 beidou111

import os

path=os.getcwd()
dir = path + '/partio/'
os.chdir(dir)
for i in range(1,76):
    cmd = f"splashsurf reconstruct -i ./ParticleData_Fluid_0_{i}.bgeo --output-dir=out --particle-radius=0.025 --smoothing-length=2.0 --cube-size=1.5 --surface-threshold=0.6 -o surface_{i}.obj"
    os.system(cmd)
原网站

版权声明
本文为[beidou111]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/164/202206130721275945.html