CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Axisymmetric

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2007, 11:36
Default hi everybody i would like t
  #1
rengu
Guest
 
Posts: n/a
hi everybody

i would like to create an axi-symmetric case

i have create my 3d mesh with the 5° with the mesh generator Salome.
i have create group of faces for the boundaries(2 wedge,wall,inlet,outlet....) and groups of edge for the axis
I export it to unv format
When i do the conversion to OF format
it recognize the face group but not the edge group

how can i do to have my boundary axis in OpenFOAM?

best regards
  Reply With Quote

Old   December 11, 2007, 12:07
Default Hi, This can help you http:/
  #2
New Member
 
Rachid bannari
Join Date: Mar 2009
Location: Quebec, Canada
Posts: 12
Rep Power: 17
bannari is on a distinguished road
Hi,
This can help you
http://openfoamwiki.net/index.php/Contrib_MakeAxialMesh
Best regards
bannari is offline   Reply With Quote

Old   December 12, 2007, 09:19
Default hi i have follow http://op
  #3
rengu
Guest
 
Posts: n/a
hi

i have follow http://openfoamwiki.net/index.php/Contrib_MakeAxialMesh

but i 've got this error

~/> makeAxialMesh /home/gui/Desktop/ plan axe frontback

Create mesh for time = 0

Plane of the grid: (0 0 1) (52.5 -122 2.5)

The rotation-axis: ((0 0 2.5) (0 -220 2.5))

Creating wedge with an opening angle of 5 degrees

Radius to axis: min = 2.5 max = 105.03
Splitting patch frontback

Copying patches
Creating Patches
Creating Pos-patch
Creating Neg-patch
Changing patches



--> FOAM FATAL ERROR : Cannot change patches after having changed faces.
Please call changePatches first.

From function repatchPolyTopoChanger::changePatches(const List<polypatch*>&)
in file polyTopoChange/repatchPolyTopoChanger/repatchPolyTopoChanger.C at line 72.


To change the patch is not the aim of the make AxialMESH?i've got to change the patch first?

best regards
  Reply With Quote

Old   December 12, 2007, 14:38
Default You're using it on a 1.4+-inst
  #4
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
You're using it on a 1.4+-installation? I'm surprised that the sources (which were written for 1.3) compile on that. Some of the underlying semantics changed as Mattijs pointed out to me. I will fix that and publish a new version (hopefully next week)

Bernhard
__________________
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   December 28, 2007, 11:22
Default Hi All, I modified Bernhard's
  #5
Member
 
David P. Schmidt
Join Date: Mar 2009
Posts: 72
Rep Power: 17
schmidt_d is on a distinguished road
Hi All,
I modified Bernhard's 1.3 version of make axial mesh so that it works with 1.4 and 1.4.1. It probably could have been done better, but here is what I did:

Since OF 1.4 and later, you must have the axisymmetric domain centered on the z=0 plane. The 1.3 version of makeAxialMesh made a copy of the 2D mesh that is rotated by five degrees. My change is to make the copy so that it is rotated from the xy plane by +2.5 degrees and then rotate the original by -2.5 degrees. You still get a 5 deg. wedge.

See the update at:
http://openfoamwiki.net/index.php/Contrib_MakeAxialMesh

It has worked for me. However, RENAUD Guillaume above, may still have problems. I don't see what causes his error.

-David Schmidt
schmidt_d is offline   Reply With Quote

Old   January 1, 2008, 14:50
Default Extending the definition of "n
  #6
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
Extending the definition of "next week" (see above) to "next year" I managed to clean up my internal versiion, incorporate David's suggestions and put it on of-extend (see http://openfoamwiki.net/index.php/Contrib_MakeAxialMesh )

Bernhard
__________________
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 31, 2008, 17:46
Default When changing to the OF 1.4.1
  #7
Member
 
David P. Schmidt
Join Date: Mar 2009
Posts: 72
Rep Power: 17
schmidt_d is on a distinguished road
When changing to the OF 1.4.1 hosted on the Subversion site (the tagged version that is the OpenCFD release of 1.4.1 plus bug fixes) I encountered the same error message that Renaud encountered. I took the error message at face value and modified the makeAxialMesh code to call changePatches first. All seems well and the latest code is listed as the 1.4.1 version on

http://openfoamwiki.net/index.php/Contrib_MakeAxialMesh
schmidt_d is offline   Reply With Quote

Old   April 26, 2008, 14:29
Default Hi all! I don't understand ho
  #8
New Member
 
Simone.Sa
Join Date: Mar 2009
Location: Rome, Italy
Posts: 9
Rep Power: 17
bonzodeb is on a distinguished road
Hi all!
I don't understand how collapseEdges work.

I use makeAxialMesh without errors.

At the end it says that I must use collapseEdges to clean the grid.

collapseEdges expected 4 arguments
<edge> is refers to which edge lenght??The edge of the axial patch that have zero area??
<merge> angle of what??

Can somebody help me or give me a link that can help me??

For example in my case the blockMesh before makeAxialeMesh is that:

convertToMeters 1;

vertices
(
(0 0 -0.05)
(100 0 -0.05)
(100 0.5 -0.05)
(0 0.5 -0.05)
(0 0 0.05)
(100 0 0.05)
(100 0.5 0.05)
(0 0.5 0.05)
);

blocks
(
hex (0 1 2 3 4 5 6 7) (100 10 1) simpleGrading (1 1 1)
);

edges
(
);

patches
(
patch inlet
(
(0 4 7 3)
)

patch outlet
(
(2 6 5 1)

)
wall pipe
(
(3 7 6 2)
)

empty axis
(
(1 5 4 0)
)
empty frontAndBack
(
(0 3 2 1)
(4 5 6 7)
)
);

mergePatchPairs
(
);


// ************************************************** *********************** //

what edge lenght and merge angle can I use in collapseEdges utility?

Simone
bonzodeb 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
Axisymmetric FEM Help Jesus Rojo Main CFD Forum 1 May 6, 2016 07:14
Abt: Axisymmetric B.C. jinwon park Main CFD Forum 0 March 10, 2008 15:03
From 2D to axisymmetric Nestor FLUENT 0 February 3, 2008 13:33
2D v.s. Axisymmetric Atit FLUENT 0 August 20, 2007 15:29
axisymmetric in vof moona FLUENT 1 January 25, 2007 09:49


All times are GMT -4. The time now is 17:28.