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/)
-   -   [Commercial meshers] [ICEM] Axisymmetric mesh for OpenFOAM (https://www.cfd-online.com/Forums/openfoam-meshing/98391-icem-axisymmetric-mesh-openfoam.html)

Attesz March 9, 2012 11:26

[ICEM] Axisymmetric mesh for OpenFOAM
 
Hi all,

I'm solving a simple 2D axisymmetric case. I created the mesh in ICEM CFD using blocking in 2D and then extruding it by 5deg. The curve as the axis was a part named AXIS and after extruding it contains line elements. After converting the mesh using fluent3DMeshToFoam, I'll have a patch AXIS containing faces. How can I get rid of this part?

Thanks,
Attila

CRT March 26, 2012 14:05

Quote:

Originally Posted by Attesz (Post 348597)
I'm solving a simple 2D axisymmetric case. I created the mesh in ICEM CFD using blocking in 2D and then extruding it by 5deg.

I think that to extrude your mesh/block isnīt necessary. some pictures will make it more understandably. as far as i understood, I can tell you how i will deal with an axy-symmetric case.

I will make a 2D geometry and 2D mesh. then i will import to OpenFOAM with the command fluentMeshToFoam. (the program will make the volumes automatically). The i will use the command
makeAxialMesh -case testAxial2 -axis center -wedge frontAndBackPlanes -wedgeAngle 5
, u can find the needed information here: http://openfoamwiki.net/index.php/Contrib_MakeAxialMesh

after that you should use the command: collapseEdges 0.0000001 179

I hope it will be useful. ;)

Attesz March 26, 2012 14:17

Hi, thank you for your comment! Finally, I've solved the problem using purely the blockMesh feature.

Best,
Attila

vahid.najafi July 27, 2012 09:38

plz help me around 2D axisymmetric!
 
2 Attachment(s)
dear Foamers.
I want to use 2Daxisymmetric for openFoam,and for this reason used makeAxialmesh and coolapse to make wedge type for boundary.
I make it,but my result after run is not correct and differrent with 3Dmodel.other friends tell me ,I must be use axisymmetric swirl 2d .....
if my work in modelling 2DAxisymetric is not correct please tell me???
Thanks .

CRT July 30, 2012 07:03

Hi vahid,

Iīm not sure about your problem. do u need to use "makeaxialmesh" ? maybe u donīt need it, check this page.
http://openfoamwiki.net/index.php/Co...ialMeshhttp://

take care in the process
-wedge (name of the patch that have axisimmetric conditions) and
Quote:

For an application like this, you would want to use collapseEdges with a very small length scale argument and an angle argument near 180 degrees.
you should also check your mesh after the process.

Is it all correct? let me know

Carles

vahid.najafi August 5, 2012 07:36

Hi Carles.
 
Hi dear Carles.
thanks for your answer.
for my geometry i used makeaxialMesh,and then run collapseEdges.
my geometry convert to wedge.
but again i seen my result is not correct!!!
my mesh is structed and Rectangular!!!
how I check my mesh?

vahid.najafi August 6, 2012 03:53

plz answer me???
 
4 Attachment(s)
dear Foamers.
I have used 2Daxisymmetric for openFoam.
for this reason used :
1)makeAxialMesh -axis axis.4 -wedge frontAndBackPlanes
2)collapseEdges 1e-8 180
to make wedge type for boundary.

after do above,added for me 2 files.(seen in pic 1)

I have copied polyMesh from file:2e-08 to polyMesh in constant(seen in pic 2),and then I have deleted files: 1e-08 and 2e-08 .(seen in pic 3)

and after those I have correct B.C in file:0.
Then run paraFoam and (seen pic 4)
Is it my way true???


but my result after run is not correct and differrent with 3Dmodel.
if my work in modelling 2DAxisymetric is not correct please tell me???
Thanks .

CRT August 8, 2012 04:26

If you have to new folders, 1e-08 and 2e-08, it is because every step make a new mesh file. So before to use collapse edges move your data to the constant folder so that when you use collapse edges will take the correct Mesh file.

In other words, You collapse edges to the original mesh, and then copied the Mesh with angle 5° to the main folder.

In order to check your mesh, use the command checkMesh.

regards,
Carles

vahid.najafi August 8, 2012 06:46

Thanks
 
Thanks carles for your answer.


All times are GMT -4. The time now is 05:07.