CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Laminar pipe flow using 2D axis symmetric geometry (https://www.cfd-online.com/Forums/openfoam-solving/115295-laminar-pipe-flow-using-2d-axis-symmetric-geometry.html)

nandiganavishal March 27, 2013 14:27

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

Tushar@cfd March 28, 2013 01:06

Hello
 
Quote:

Originally Posted by nandiganavishal (Post 416825)
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

-------------

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.

nandiganavishal March 28, 2013 01:17

Quote:

Originally Posted by Tushar@cfd (Post 416881)
-------------

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.

Dear Tushar,

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

Tushar@cfd March 28, 2013 02:20

1 Attachment(s)
Quote:

Originally Posted by nandiganavishal (Post 416884)
Dear Tushar,

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

---

Try making something similar to the blockMesh attached.

Best of Luck.

nandiganavishal April 1, 2013 00:48

Quote:

Originally Posted by Tushar@cfd (Post 416894)
---

Try making something similar to the blockMesh attached.

Best of Luck.

Hi Tushar,

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.