![]() |
Water burst inside snappyHexMesh
1 Attachment(s)
Hi,
i am a begineer in OpenFoam. I created an stl file representing three connected tubes and this is my snappyHexMesh. I want to find a way to add a water box inside me snappyHexMesh that bursts like the damBreak case. Do you know what do I have to write and where (e.g. snappyHexMeshDict)? Thank you |
The damBreak case uses setFields to define a region where the fluid is located (two-phase flow). If this is all you want, then you don't need to do anything in snappyHexMesh, just use setFields. If you want actual patches you can set conditions on (split the domain into an inside/outside), you'll need to refer to the pimpleDyMFoam propeller tutorial case. They create an internal cylinder to use as an AMI boundary; you could use the same approach.
|
Quote:
|
You have to use setFields after snappyHexMesh.
|
Quote:
|
After you have created your domain with snappyHexMesh, you can then run setFields on the newly created domain. Make sure that the settings in system/controlDict have your start time to be the mesh created by sHM. Are you using the overwrite function for sHM, or are you keeping the intermediate meshes?
|
| All times are GMT -4. The time now is 12:04. |