DeepLagrangianFluids
DeepLagrangianFluids copied to clipboard
[Question] - Wall boundary condition
Hello. I have a question about the walls during ground-truth simulations. Do you perform simulations with plane walls or walls represented as particles?
Everything is represented with particles.
So you convert the wall surface to static particles, introduce fluid particles, then run simulations with splishsplash to gather data. Compress the data and finally supply it as input to the network. Is it correct?
yes
Thank you
Still a bit confused. In the code, there is the run_simulator
function that uses a scene.json
file and an output directory. The json file contains information about fluids in .bgeo
(particle data) and a rigid body in .obj
(geometry data) format, so in simulations, fluid particles hit geometry planes, not static particles?
The geometry in the .obj
is converted to particles here https://github.com/isl-org/DeepLagrangianFluids/blob/d651c6fdf2aca3fac9abe3693b20981b191b4769/scripts/run_network.py#L45
yes, but it is for a trained network, right?
I mean in the data generation stage, https://github.com/isl-org/DeepLagrangianFluids/blob/d651c6fdf2aca3fac9abe3693b20981b191b4769/datasets/create_physics_scenes.py#L430
scenes are run with fluid particles interacting with each other and with boundary planes that are not converted to particles yet?
After a scene was created, we have data only of fluid particles? The .bgeo
geometry file is later converted to particles https://github.com/isl-org/DeepLagrangianFluids/blob/d651c6fdf2aca3fac9abe3693b20981b191b4769/datasets/create_physics_records.py#L19
and added to the feat_dict
?
https://github.com/isl-org/DeepLagrangianFluids/blob/d651c6fdf2aca3fac9abe3693b20981b191b4769/datasets/create_physics_records.py#L56