CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...

[ICEM] Axisymmetric mesh for OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By CRT

Reply
 
LinkBack Thread Tools Display Modes
Old   March 9, 2012, 12:26
Default [ICEM] Axisymmetric mesh for OpenFOAM
  #1
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Posts: 355
Rep Power: 8
Attesz is an unknown quantity at this point
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
__________________
CFD= Cleverly Formatted Data
Attesz is offline   Reply With Quote

Old   March 26, 2012, 14:05
Default
  #2
CRT
New Member
 
Carles
Join Date: Jan 2012
Location: Karlsruhe
Posts: 29
Rep Power: 5
CRT is on a distinguished road
Quote:
Originally Posted by Attesz View Post
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.
youyoufish1987 likes this.
CRT is offline   Reply With Quote

Old   March 26, 2012, 14:17
Default
  #3
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Posts: 355
Rep Power: 8
Attesz is an unknown quantity at this point
Hi, thank you for your comment! Finally, I've solved the problem using purely the blockMesh feature.

Best,
Attila
__________________
CFD= Cleverly Formatted Data
Attesz is offline   Reply With Quote

Old   July 27, 2012, 09:38
Default plz help me around 2D axisymmetric!
  #4
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 4
vahid.najafi is an unknown quantity at this point
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 .
Attached Images
File Type: jpg geometry.jpg (18.9 KB, 138 views)
File Type: jpg make.jpg (18.1 KB, 142 views)
vahid.najafi is offline   Reply With Quote

Old   July 30, 2012, 07:03
Default
  #5
CRT
New Member
 
Carles
Join Date: Jan 2012
Location: Karlsruhe
Posts: 29
Rep Power: 5
CRT is on a distinguished road
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
CRT is offline   Reply With Quote

Old   August 5, 2012, 07:36
Default Hi Carles.
  #6
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 4
vahid.najafi is an unknown quantity at this point
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 is offline   Reply With Quote

Old   August 6, 2012, 03:53
Default plz answer me???
  #7
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 4
vahid.najafi is an unknown quantity at this point
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 .
Attached Images
File Type: jpg 1.jpg (20.9 KB, 78 views)
File Type: jpg 2.jpg (27.7 KB, 76 views)
File Type: jpg 3.jpg (23.3 KB, 75 views)
File Type: jpg 4.jpg (77.8 KB, 141 views)
vahid.najafi is offline   Reply With Quote

Old   August 8, 2012, 04:26
Default
  #8
CRT
New Member
 
Carles
Join Date: Jan 2012
Location: Karlsruhe
Posts: 29
Rep Power: 5
CRT is on a distinguished road
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
CRT is offline   Reply With Quote

Old   August 8, 2012, 06:46
Default Thanks
  #9
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 4
vahid.najafi is an unknown quantity at this point
Thanks carles for your answer.
vahid.najafi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
[ICEM] Problem making structured mesh on a surface froztbear ANSYS Meshing & Geometry 4 November 10, 2011 09:52
[ICEM] Problem making structural mesh on a surface froztbear ANSYS Meshing & Geometry 1 November 10, 2011 09:52
[ICEM] CGNS mesh failing in CFX siw ANSYS Meshing & Geometry 4 March 14, 2011 14:53
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


All times are GMT -4. The time now is 10:47.