CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Meshing & Mesh Conversion

Simple cylindrical geometry: example using blockMesh

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

Like Tree2Likes
  • 2 Post By guin

LinkBack Thread Tools Display Modes
Old   June 19, 2017, 05:59
Default Simple cylindrical geometry: example using blockMesh
New Member
Join Date: Mar 2010
Posts: 25
Rep Power: 9
guin is on a distinguished road

Here you have an example of blockMeshDict file that uses macro substitution to generate a simple cylindrical geometry based on a few user input values.

Well, actually it only generates 1/4th of the cylinder, which allows to keep the file reasonably small. You can make use of mirrorMesh to generate the complete cylinder, e.g.:

cp system/mirrorMeshDict_xAxis system/mirrorMeshDict
mirrorMesh -overwrite
cp system/mirrorMeshDict_yAxis system/mirrorMeshDict
mirrorMesh -overwrite
Hope someone finds it useful.
Attached Files
File Type: gz blockMeshDict.tar.gz (1.9 KB, 16 views)
Fabiio87 and Cássio Marques like this.

Last edited by guin; June 19, 2017 at 14:02. Reason: typo in the copy commands
guin is offline   Reply With Quote


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
[ANSYS Meshing] 2D equilaterals triangles in simple geometry Ulixes ANSYS Meshing & Geometry 0 June 16, 2017 19:01
[snappyHexMesh] unsymmetric boundary layer extrusion on simple symmetric geometry Attesz OpenFOAM Native Meshers: snappyHexMesh and Others 1 April 25, 2017 07:13
Trouble using blockMesh for axisymmetric geometry twinturbotom OpenFOAM Native Meshers: blockMesh 1 February 8, 2016 21:59
Cylindrical blockmesh to Improve snappyHexMesh Results nicholas.jones OpenFOAM Native Meshers: snappyHexMesh and Others 1 October 14, 2015 14:10
Can someone help me with a UDF for a simple rotatory geometry?? Maralady Fluent UDF and Scheme Programming 14 August 12, 2013 08:23

All times are GMT -4. The time now is 14:42.