CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   blockMesh pipe shape not preserved in bend (

kjetil May 22, 2010 20:07

blockMesh pipe shape not preserved in bend
2 Attachment(s)
I am creating different pipe bends in blockMesh, but experience that the shape midway is heavily distorted, that is - not circular. I have looked over the vertices and arc midpoints, but cannot find any major mistakes. Is this a bug? Or should the pipe be created in smalles increments? I believe that this has not been a problem before... I attach a screenshot and blockMeshDict-file.

kjetil May 24, 2010 08:30

... and for the record, the volume specified consists of the circular outlet and inlet only. No other "radial profile shape" is defined. The four arcs connecting inlet and outlet have intersection points with equal distance to the pipe center.

This problem - say bug - is increasingly dominant for higher angles. For a 90 degree bend it is barely visible, but up to 180 degrees it becomes a huge error.

(My geometry also have an internal square shaped volume at centre, to avoid small angles that would else have occured with an radial mesh. This, however, should not affect the entire generated volume.)

henry May 25, 2010 06:42

blockMesh uses a mapping process which does not conform to surfaces created by compound curves exactly. For arcs upto 90deg the conformance is decent but not exact and above 90deg the conformance is poor.

If you require a mesh that represents your curved pipe exactly you should use an extrusion method, e.g. extrudeMesh.


kjetil May 25, 2010 07:26

1 Attachment(s)

Wouldn't the extrudeMesh be better for single pipe bend studies only? More complex pipe geometries using extruded meshes would have to be stitched together. I assume a setup as illustrated in attached image would be difficult to create using extrudeMesh (this example is generated using blockMesh, but bends with 30-40 degrees increments).

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