|
[Sponsors] |
[snappyHexMesh] Water burst inside snappyHexMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 5, 2012, 10:09 |
Water burst inside snappyHexMesh
|
#1 |
New Member
Efstratios Mavrogiannis
Join Date: Dec 2012
Posts: 20
Rep Power: 13 |
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 |
|
December 5, 2012, 12:34 |
|
#2 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
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.
|
|
December 5, 2012, 12:53 |
|
#3 | |
New Member
Efstratios Mavrogiannis
Join Date: Dec 2012
Posts: 20
Rep Power: 13 |
Quote:
|
||
December 5, 2012, 12:55 |
|
#4 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
You have to use setFields after snappyHexMesh.
|
|
December 5, 2012, 13:34 |
|
#5 |
New Member
Efstratios Mavrogiannis
Join Date: Dec 2012
Posts: 20
Rep Power: 13 |
I set the locationInMesh so both the blockMesh and the snappyHexMesh can be seen and I used setFields after the snapyHexMesh. everything was ok until I pressed play and no volume field for water was available in the Mesh only the blockMesh and the snappyHexMesh
|
|
December 5, 2012, 13:49 |
|
#6 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
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?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
No liquid water exist in my Fuel Cell simulation | fatchang | FLUENT | 19 | October 15, 2018 14:27 |
[snappyHexMesh] Moving/rotating STL/OBJ inside SnappyHexMesh | palgroth | OpenFOAM Meshing & Mesh Conversion | 3 | December 31, 2017 07:44 |
Evaporation of thin water film | Stephen Waite | CFX | 6 | July 3, 2014 22:14 |
free surface flow inside channel that gets narrower | JohnAB | STAR-CCM+ | 4 | June 24, 2013 15:48 |
[snappyHexMesh] SnappyHexMesh Meshing inside a cylinder | nammari | OpenFOAM Meshing & Mesh Conversion | 5 | March 11, 2011 19:49 |