CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Commercial meshers] [ICEM] Axisymmetric mesh for OpenFOAM

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

Like Tree2Likes
  • 2 Post By CRT

Reply
 
LinkBack Thread Tools Search this Thread 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
Location: Munich
Posts: 368
Rep Power: 17
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
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   March 26, 2012, 15:05
Default
  #2
CRT
New Member
 
Carles
Join Date: Jan 2012
Location: Karlsruhe
Posts: 29
Rep Power: 14
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 and callmetao like this.
CRT is offline   Reply With Quote

Old   March 26, 2012, 15:17
Default
  #3
Senior Member
 
Attesz's Avatar
 
Attesz
Join Date: Mar 2009
Location: Munich
Posts: 368
Rep Power: 17
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
__________________
I am doing CFD Consulting Services.
Ich biete CFD Strömungssimulationen an.
Attesz is offline   Reply With Quote

Old   July 27, 2012, 10:38
Default plz help me around 2D axisymmetric!
  #4
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13
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, 296 views)
File Type: jpg make.jpg (18.1 KB, 289 views)
vahid.najafi is offline   Reply With Quote

Old   July 30, 2012, 08:03
Default
  #5
CRT
New Member
 
Carles
Join Date: Jan 2012
Location: Karlsruhe
Posts: 29
Rep Power: 14
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, 08:36
Default Hi Carles.
  #6
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13
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, 04:53
Default plz answer me???
  #7
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13
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, 157 views)
File Type: jpg 2.jpg (27.7 KB, 145 views)
File Type: jpg 3.jpg (23.3 KB, 146 views)
File Type: jpg 4.jpg (77.8 KB, 276 views)
vahid.najafi is offline   Reply With Quote

Old   August 8, 2012, 05:26
Default
  #8
CRT
New Member
 
Carles
Join Date: Jan 2012
Location: Karlsruhe
Posts: 29
Rep Power: 14
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, 07:46
Default Thanks
  #9
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13
vahid.najafi is an unknown quantity at this point
Thanks carles for your answer.
vahid.najafi is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
[ICEM] CGNS mesh failing in CFX siw ANSYS Meshing & Geometry 5 November 23, 2017 20:07
[ANSYS Meshing] "Wedge" mesh - axisymmetric problem sultzan ANSYS Meshing & Geometry 12 October 11, 2017 16:04
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
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 11:42.