|
MPS-Basic
|
Two input files are required.
***.yml to specify simulation settingsinput/***/***.vtu, but this is not used for simulation. This is a ParaView file just for checking if the input file is correctly generated.***.yml file.***.yml should be given to the program when executing, using ---setting (or -s) option. ***.yml should be modified by the user based on their desired simulation settings.
***.prof can be made by cpp programs provided in generator folder. Currently generate_dambreak.cpp and generate_hydrostatic.cpp are provided, but users can add their own generators. generate_***.cpp is built at the same time as the main program is built, so build the main program first following Execution page. Then you will see build/generator/generate_***.exe, so execute this.
Example of making input/dambreak/input.prof for dambreak in Windows:
Now you will see input/dambreak/input.vtu. Open this in ParaView to check if the input file is generated correctly.
result/prof: Profile dataresult/vtu: VTK data