CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

makeAxialMesh and axisymmetric flow

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 31, 2011, 05:54
Default makeAxialMesh and axisymmetric flow
  #1
New Member
 
m
Join Date: Nov 2010
Posts: 3
Rep Power: 0
yassepid is on a distinguished road
I want to use the makeAxialMesh to create axisymmetric mesh
I compile the makeAxialMesh without error but my problem is that when I want to Run the Axialcavity testcase first I Run blockMesh then I Run makeAxialMesh -axis movingWall -wedge frontAndBack the mesh successfully is generated in folder 0.00125 then I RUN icoFoam without error but when I Run paraFoam I encounter bellow error


--> FOAM FATAL IO ERROR: keyword frontAndBack_pos is undefined in dictionary
"/home/ami/OpenFOAMŪ/ami-1.7.1/run/AXIALRUN/cavity/0.5/p::boundaryField" file: /home/ami/OpenFOAMŪ/ami-1.7.1/run/AXIALRUN/cavity/0.5/p::boundaryField from line 26 to line 34. From function dictionary::subDict(const word& keyword) const in file db/dictionary/dictionary.C at line 456.
FOAM exiting


I think the reason of this error is that frontAndBack_pos and frontAndBack_neg are not exist in P and U that generated by icoFoam

please help me to run this axisymmetric testcase
yassepid is offline   Reply With Quote

Old   May 31, 2011, 13:11
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by yassepid View Post
I want to use the makeAxialMesh to create axisymmetric mesh
I compile the makeAxialMesh without error but my problem is that when I want to Run the Axialcavity testcase first I Run blockMesh then I Run makeAxialMesh -axis movingWall -wedge frontAndBack the mesh successfully is generated in folder 0.00125 then I RUN icoFoam without error but when I Run paraFoam I encounter bellow error


--> FOAM FATAL IO ERROR: keyword frontAndBack_pos is undefined in dictionary
"/home/ami/OpenFOAMŪ/ami-1.7.1/run/AXIALRUN/cavity/0.5/p::boundaryField" file: /home/ami/OpenFOAMŪ/ami-1.7.1/run/AXIALRUN/cavity/0.5/p::boundaryField from line 26 to line 34. From function dictionary::subDict(const word& keyword) const in file db/dictionary/dictionary.C at line 456.
FOAM exiting


I think the reason of this error is that frontAndBack_pos and frontAndBack_neg are not exist in P and U that generated by icoFoam

please help me to run this axisymmetric testcase
Usually the best practice is that once you're sure that the mesh looks the way you want it to move it to constant/polyMesh. Having two meshes at different timesteps only causes confusion (unless you're doing moving mesh of course) If you're confident that makeAkialMash does everything you want it to you can have it write the mesh to t=0 with the -overwrite command line option.

Of course you'll have to adapt the fields to have all the patches that the mesh does (makeAxialMesh doesn't do this for you).

Bernhard
gschaider is offline   Reply With Quote

Old   June 1, 2011, 02:30
Default Dear Bernhard
  #3
New Member
 
Yasser Amini
Join Date: Nov 2010
Posts: 10
Rep Power: 6
aminiyasser is on a distinguished road
Quote:
Originally Posted by gschaider View Post
Usually the best practice is that once you're sure that the mesh looks the way you want it to move it to constant/polyMesh. Having two meshes at different timesteps only causes confusion (unless you're doing moving mesh of course) If you're confident that makeAkialMash does everything you want it to you can have it write the mesh to t=0 with the -overwrite command line option.

Of course you'll have to adapt the fields to have all the patches that the mesh does (makeAxialMesh doesn't do this for you).

Bernhard
Dear gschaider

I Run the makeAxialMesh -axis movingWall -overwrite -wedge frontAndBack
then I run paraFoam
the mesh is corrected.

and after it I run
collapseEdges "2e-07" 5 -overwrite
but when I run icoFoam the flow filed not solved and U=0 for all time !!!!!!!!!!!



please help me


Best Regards
Yasser

Last edited by aminiyasser; June 1, 2011 at 09:00.
aminiyasser is offline   Reply With Quote

Old   April 24, 2013, 01:27
Default
  #4
New Member
 
Yasser Amini
Join Date: Nov 2010
Posts: 10
Rep Power: 6
aminiyasser is on a distinguished road
Quote:
Originally Posted by aminiyasser View Post
Dear gschaider

I Run the makeAxialMesh -axis movingWall -overwrite -wedge frontAndBack
then I run paraFoam
the mesh is corrected.

and after it I run
collapseEdges "2e-07" 5 -overwrite
but when I run icoFoam the flow filed not solved and U=0 for all time !!!!!!!!!!!



please help me


Best Regards
Yasser
I Run the makeAxialMesh -axis movingWall -overwrite -wedge frontAndBack
then I run paraFoam
the mesh is corrected.

and after it I run
collapseEdges "2e-07" 5 -overwrite
but when I run icoFoam the flow filed not solved and U=0 for all time !!!!!!!!!!!
aminiyasser is offline   Reply With Quote

Old   April 24, 2013, 20:01
Default
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by aminiyasser View Post
I Run the makeAxialMesh -axis movingWall -overwrite -wedge frontAndBack
then I run paraFoam
the mesh is corrected.

and after it I run
collapseEdges "2e-07" 5 -overwrite
but when I run icoFoam the flow filed not solved and U=0 for all time !!!!!!!!!!!
Sounds like a problem with the boundary conditions. Check those
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider 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
makeAxialMesh issue feijooos OpenFOAM Meshing & Mesh Conversion 8 October 23, 2014 05:21
Convertation axisymmetric cases from Fluent to OpenFOAM Svensson OpenFOAM 0 April 19, 2011 06:08


All times are GMT -4. The time now is 12:26.