Generate dataset with pySPlishSPlash
pysplishsplash
pyvista (for reading vtk file)
- Choose one template.json from SPlishSPlash. (Could just copy from SPlishSPlasH/data/Scenes)
- Put them under directory [template]
- Also copy the models from SPlishSPlasH/data/models if needed, put them under directory [template/models]
- Modify the path in the RigidBodies part. (the path needs to point to the box or other models you want to use)
- Write one setting file as the example in the directory [settings]. Here you can specify the initial positions and velocity of the fluid block.
- Name the final dataset and pass it as the third parameter. It will be created under the directory [datasets]