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

[blockMesh] generate a graded pipe mesh.

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

LinkBack Thread Tools Search this Thread Display Modes
Old   August 22, 2009, 08:58
Default generate a graded pipe mesh.
New Member
Jim Enright
Join Date: Jun 2009
Posts: 1
Rep Power: 0
jenright is on a distinguished road

I'm trying to generate a 'doughnut' pipe mesh with different levels of refinement at different parts of the pipe using blockMesh.
I want the mesh to be fine in the middle of the pipe and coarse at the inlet and outlet sides.

I create the pipe mesh using a script that allows me to specify the outer and inner radius of the pipe (attached).

I've used the refineHexMesh utility on cells within a bounding box near the centre of the pipe. I also tried snappyHexMesh to refine the region inside a searchable box.
However, both of these seemed to refine in only one direction and the edges from the refined region didn't connect well with the non-refined region. I hope you can see this in the attached screenshot.

Does anyone have any suggestions?
Is it possible to modify my script to get refinement in a specific part of the pipe?

Attached Images
File Type: jpg pipeMesh_refineHexMesh.jpg (59.3 KB, 96 views)
Attached Files
File Type: gz doughnutPipeMesh.m4.gz (1.4 KB, 24 views)
jenright is offline   Reply With Quote


blockmesh, mesh quality, refinement

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Too diffusive result on Delaunay type mesh for pipe AlmostSurelyRob OpenFOAM Running, Solving & CFD 7 October 8, 2018 13:34
[ICEM] How to generate sunstructured "all-tri patch-dependant" surface mesh in ICEM? jash ANSYS Meshing & Geometry 19 July 23, 2013 18:48
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11

All times are GMT -4. The time now is 07:43.