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

[Other] Axisymmetric cylindrical meshes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2008, 10:33
Default Axisymmetric cylindrical meshes
  #1
New Member
 
Jësús Garicano
Join Date: Mar 2009
Posts: 4
Rep Power: 17
jgaricano is on a distinguished road
Greetings to you all!

I'm new with OpenFOAM. I need to model an axisymmetric cylindrical problem (very similarj to a Burke-Schumann configuration) but in2D.

Could any of you send me a Block Mesh dictionary in which appears the definition of an axisymmetric cylindrical geometry but treated as an 2D problem?
Thanks in advance.
jgaricano is offline   Reply With Quote

Old   March 3, 2008, 10:55
Default Hi Jesus, I'm not sure I un
  #2
Senior Member
 
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 17
mike_jaworski is on a distinguished road
Hi Jesus,
I'm not sure I understand your problem. Do you want to build a 2D axisymmetric mesh and need an example, or are you trying to approximate axisymmetry with a cartesian coordinate mesh?

If you want to use an axisymmetric mesh for your case, the icoDyMFoam tutorial "moving cone" has such a mesh generated with the blockMesh utility.

Good Luck,
Mike J.
mike_jaworski is offline   Reply With Quote

Old   March 4, 2008, 08:12
Default Hi Michael: I've started mo
  #3
New Member
 
Jësús Garicano
Join Date: Mar 2009
Posts: 4
Rep Power: 17
jgaricano is on a distinguished road
Hi Michael:

I've started modifying the geometry related to the lesInterFoam tutorial in order to get a longitudinal section of an arrangement of two coaxial tubes (the inner one being shorter than the outer one). This intends to be a 2D model of a combustion chamber.

I've developed the blockMeshDictionary but when running blockMesh I get the following:


Reading block mesh description dictionary

Creating block mesh

Creating blockCorners

Creating curved edges

Creating blocks

Creating patches

Creating block mesh topology

Default patch type set to empty


--> FOAM FATAL ERROR : Trying to specify a boundary face 4(2 8 30 25) on the face on cell 3 which is either an internal face or already belongs to some other patch. This is face 0 of patch 4 named separatingWall.#0 Foam::error::printStack(Foam:stream&) in "/home/jgaricano/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/jgaricano/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::polyMesh::polyMesh(Foam::IOobject const&, Foam::Field<foam::vector<double> > const&, Foam::List<foam::cellshape> const&, Foam::List<foam::list<foam::face> > const&, Foam::List<foam::word> const&, Foam::List<foam::word> const&, Foam::word const&, Foam::List<foam::word> const&, bool) in "/home/jgaricano/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#3 Foam::blockMesh::createTopology(Foam::IOdictionary &) in "/home/jgaricano/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/blockM esh"
#4 Foam::blockMesh::blockMesh(Foam::IOdictionary&) in "/home/jgaricano/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/blockM esh"
#5 main in "/home/jgaricano/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/blockM esh"
#6 __libc_start_main in "/lib/libc.so.6"
#7 Foam::regIOobject::readIfModified() in "/home/jgaricano/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/blockM esh"

The problem is in the nonzero width wall of the inner tube.

Thanks in advanced for your interest.
jgaricano is offline   Reply With Quote

Old   March 4, 2008, 13:12
Default I don't think I've seen that p
  #4
Senior Member
 
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 17
mike_jaworski is on a distinguished road
I don't think I've seen that particular error before. If you've never used blockMesh before, I think the biggest hurdle is making sure your vertices are defined in the correct order for both the patches and the blocks. There's information in the user manual which has all the "rules" for doing so. You may need to check that the patches all have their face-normals pointing away from the computational domain.

Good luck,
Mike J.
mike_jaworski is offline   Reply With Quote

Old   March 4, 2008, 14:07
Default Sometimes it helps to visualis
  #5
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Sometimes it helps to visualise the points. blockMesh with -blockTopology option will dump an .obj file which can be viewed in e.g. javaview or paraview (using objToVTK).
mattijs is offline   Reply With Quote

Old   March 4, 2008, 14:11
Default Thanks a lot for your interest
  #6
New Member
 
Jësús Garicano
Join Date: Mar 2009
Posts: 4
Rep Power: 17
jgaricano is on a distinguished road
Thanks a lot for your interest. Fortunately I've been able to solve the problem. It was a mistaken space. I'm very sorry of having troubled you.

See you.
jgaricano 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 solution of a 3D cylindrical domain cfdstar FLUENT 3 December 24, 2017 02:30
NS eq: 3D unsteady compressible to axisymmetric cylindrical 2D laminar+incompressible rere Main CFD Forum 7 November 28, 2015 04:53
3D axisymmetric flow in cylindrical coordinate = 2D cartesian flow? shubiaohewan Main CFD Forum 10 May 2, 2013 14:08
Derived planes for axisymmetric planar meshes jonny_b STAR-CCM+ 0 August 12, 2010 10:22
using RSM with axisymmetric meshes? mystic_cfd FLUENT 0 January 14, 2004 08:17


All times are GMT -4. The time now is 02:57.