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

[mesh manipulation] makeAxialMesh and axisymmetric flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 31, 2011, 06: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, 14:11
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
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, 03:30
Default Dear Bernhard
  #3
New Member
 
Yasser Amini
Join Date: Nov 2010
Posts: 10
Rep Power: 16
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 10:00.
aminiyasser is offline   Reply With Quote

Old   April 24, 2013, 02:27
Default
  #4
New Member
 
Yasser Amini
Join Date: Nov 2010
Posts: 10
Rep Power: 16
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, 21:01
Default
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
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

Old   January 28, 2024, 23:38
Default which version of openfoam are you using? does OpenFOAM 5.0 able to use this utility?
  #6
New Member
 
Join Date: Jan 2023
Posts: 4
Rep Power: 3
cindyhere is on a distinguished road
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
Hi,yassepid.

Good day.

I am currently trying to test the case with makeAxialMesh but failed to compile it.

I've already extracted the tar.gz file and put it under/application/utilities/mesh/manipulation.

then I entered the makeAxialMesh file with Make as subfile, and run wmake but it returned me with this error:

make: *** [makeAxialMesh.dep:337: Make/linux64GccDPOpt/makeAxialMesh.o] Error 1

while compiling OpenFOAM 2.0.0 it returned me errors as well though I was able to compile it.

Please advise me on this, thank you in advance.

Regards,
Cindy
cindyhere is offline   Reply With Quote

Reply


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
[Other] Installing makeAxialMesh - strange wmake error krzychu111 OpenFOAM Community Contributions 1 December 19, 2018 19:29
Swirl component in inflow BC for 2d axisymmetric flows vishalsacharya OpenFOAM Pre-Processing 2 November 2, 2018 06:33
MapFields to Axisymmetric Mesh adkar Main CFD Forum 0 February 15, 2016 06:11
snappyHexMesh axisymmetric multiRegion Henning86 OpenFOAM Running, Solving & CFD 0 October 23, 2014 13:05
Convertation axisymmetric cases from Fluent to OpenFOAM Svensson OpenFOAM 0 April 19, 2011 07:08


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