CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: snappyHexMesh and Others (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/)
-   -   Pipe flow / Internal fluid dynamics with SnappyHexMesh (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/65919-pipe-flow-internal-fluid-dynamics-snappyhexmesh.html)

denner June 30, 2009 16:15

Pipe flow / Internal fluid dynamics with SnappyHexMesh
 
Hi guys,

I like to apply SnappyHexMesh to a pipe-like flow, respectively to internal fluid dynamics. I read the manual and struggle with the following statement:

"The objective is to mesh a rectangular shaped region (shaded grey in the figure) surrounding an object described by and STL surface, e.g. typical for an external aerodynamics simulation."

Isn't it possible to apply SnappyHexMesh to internal flow? Does anybody have experience with this topic?

Cheers,
Fabian

Gecko July 21, 2009 05:43

It certainly is possible to mesh interior regions, it is just that the instructions are written with only a single application in mind. It all depends on where you put the internal point in the dictionary file.

zebu83 October 10, 2011 10:43

Quote:

Originally Posted by denner (Post 221016)
Hi guys,

I like to apply SnappyHexMesh to a pipe-like flow, respectively to internal fluid dynamics. I read the manual and struggle with the following statement:

"The objective is to mesh a rectangular shaped region (shaded grey in the figure) surrounding an object described by and STL surface, e.g. typical for an external aerodynamics simulation."

Isn't it possible to apply SnappyHexMesh to internal flow? Does anybody have experience with this topic?

Cheers,
Fabian

Hi Fabian,
have you run your case?
I'm able to run external aerodynamics simulation, but I don't understand yet how to run internal simulations.
I think, like Gecko wrote, I have to put right internal point in the dictionary file, but I don't understand how.

Thank you in advance for your help.

Best regard
MT

elia87 October 13, 2011 09:24

Hi Marco,

for mesh the internal region of your .stl geometry you just have to change the coordinates of the LocationInMesh point in the sHMDict file

Code:

// Mesh selection
    // ~~~~~~~~~~~~~~

    // After refinement patches get added for all refinementSurfaces and
    // all cells intersecting the surfaces get put into these patches. The
    // section reachable from the locationInMesh is kept.
    // NOTE: This point should never be on a face, always inside a cell, even
    // after refinement.
    locationInMesh (15 0 0); <-- here you must enter a point that is internal to your geometry

Obviously you must have previously defined the reference geometry with blockMesh as it is written on the tutorial.

Good luck

Let me know if it worked


All times are GMT -4. The time now is 17:30.