OpenFOAM Tutorial | DamBreak | How to change setField
HTML-код
- Опубликовано: 4 фев 2025
- Easy to run steps:
The first and foremost step is to check the scale of your blockMesh and change it to 1 in a blockMeshDict. Next, run the blockMesh and simultaneously view your geometry in ParaView with the axis grid enabled. This will allow you to visualize the geometry and later setField in the x, y, and z axes. Afterward, execute the setField command and refresh ParaView to view the changes. Once you have a grasp of how setField works from the tutorial, you can modify it as needed or create multiples, as demonstrated in the tutorial."
you have to setfields everytime you change the box coordinate in setfieldsdict