Laminar pipe flow using 2D axis symmetric geometry
Hi All,
I would like to know, if it is possible to solve a laminar flow in a cylindrical pipe using 2d axis symmetric simulations in openfoam. If so, please can anyone let me know how to construct the geometry. Further, should we change anything in the icoFoam solver. Thanks Regards Vishal |
Hello
Quote:
IcoFoam is a "Transient solver for incompressible, laminar flow of Newtonian fluids". Now, if you are using a Newtonian fluid for your case then you are progressing in a correct manner and you don't have to change anything in the solver. About the geometry you can construct any geometry from 2D -to- 3D using the polyline code (especially for cylindrical geometry) in openFOAM. |
Quote:
Thanks for your reply. Can you please illustrate more about the polyline code. I would like to create a cylinder of length (say) 30 nm and diameter 5 nm. The inlet of the cylinder has a uniform velocity and the walls have no slip. How can we create such a geometry. Can you provide a sample blockmesh file for this geometry along with the patch definitions. Thanks Vishal |
1 Attachment(s)
Quote:
Try making something similar to the blockMesh attached. Best of Luck. |
Quote:
I was trying to understand the blockMeshDict file you had sent and also started looking at pipecyclic tutorial. I understand that we convert the geometry in cylindrical coordinates into Cartesian coordinates. I would like to know, what does minY correspond to. Since minY = -y = -r*sin(pi). Wouldn't y and minY become zero. Please comment on this. Thanks Regards Vishal |
All times are GMT -4. The time now is 06:24. |