CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] 2d axisymmeric mesh for coaxial pipes (https://www.cfd-online.com/Forums/openfoam-meshing/142540-2d-axisymmeric-mesh-coaxial-pipes.html)

gian87 October 3, 2014 18:45

2d axisymmeric mesh for coaxial pipes
 
I want to simulate the flow through the annular space between two pipes of different diameters (lets say d i D, respectively, with a length of L). In Fluent, it is possible to define such a system as a 2d axisymetric case.

My question is: how can I accomplish this using OpenFOAM? How should I configure the blockMeshDict file to achieve that? According to the User Guide, the solution for the typical 2d axissymetric case is to use wedge patches and a block with only 6 vertices, while the axis is defined by the "merged" vertices. I understand this approach, but how should I define the axis when it is actually outside the domain (as I will not simulate any flow in the lumen of the inner pipe)?

zandi October 5, 2014 20:16

You can use snapyHexMesh. First use blockMesh for draw outer pipe with arc (edges in blockMeshDict). Then draw inner pipe with cad in .stl format. After that use snapyHex Mesh in order to cute the inner pipe's shape out from the outer one.
Wedge BC help you to simulate just a circular sector of your axi-symmetric geometry if it has the condition.


All times are GMT -4. The time now is 14:25.