CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Running axis-symmetric case (http://www.cfd-online.com/Forums/openfoam/107697-running-axis-symmetric-case.html)

houkensjtu October 4, 2012 06:33

Running axis-symmetric case
 
1 Attachment(s)
Hi foamers!

I tried to modify the cavity case used by User Guide to a axis-symmetric hagen-poiseuille flow case.
Firstly I modified my mesh following the OF wiki's instruction: http://openfoamwiki.net/index.php/Ma...s/AxiSymmetric
I attached my mesh result.It seems strange to me because it's actually not a "symmetric" mesh, it's just a collapsed hex mesh.

Then I modified boundary type of p and U in 0 directory. I applied the "wedge" type to both p and U on frontAndBack face. And I finished modified other boundary type to suit a hagen-poiseuille flow case.

I run icoFoam and the result is rather unfamiliar to me. I cant get the classic parabolic velocity profile.

Is it because my mesh was wrong? Or there was sth. i missed during setting the case?
Plz help!!

aerospain October 4, 2012 07:35

Hi HouKen,

Could you provide 'blockMeshDict' and the U file, please? It will help me understand what's going on.

Thanks!

houkensjtu October 4, 2012 21:45

2 Attachment(s)
Quote:

Originally Posted by aerospain (Post 384889)
Hi HouKen,

Could you provide 'blockMeshDict' and the U file, please? It will help me understand what's going on.

Thanks!

Thanks for quick reply!
Here is my 'blockMeshDict' and the U file. I will continue on trouble shooting today. Plz help me!
(I converted them to txt file because the forum upload restriction)

houkensjtu October 5, 2012 02:32

1 Attachment(s)
I found out one of the problems is, I should order the vertices in blockmeshdict so that the face on the hex bottom will collapse, instead of the "side" face.
Now here is my new mesh.


All times are GMT -4. The time now is 11:19.