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

[mesh manipulation] extrudeMesh for pipe bend

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2018, 13:04
Default extrudeMesh for pipe bend
  #1
New Member
 
anonymous
Join Date: Mar 2018
Posts: 11
Rep Power: 8
cfd4res is on a distinguished road
I managed to solve the problem by myself. So I'm posting the code in case someone needs to create a pipe bend using extrude Mesh.

The pipe looks as the image attached.
The pipe lengths are in inches.

x axis is perpendicular to the web page coming towards you.
x,y,z axis intersect at the center of the circular cross section.
image.JPG

The extrudeMeshDict code is as follows.

FoamFile
{
version 2.0;
format ascii;
class dictionary;
object extrudeProperties;
}

constructFrom mesh;
sourceCase "$FOAM_CASE";

sourcePatches (outlet);

extrudeModel sector;

nLayers 10; //number of layers in the pipe bend
expansionRatio 1.0; //expansion of the cross section

sectorCoeffs
{
axisPt (0 2.6824 0.146558); //conversion of inches to meters
axis (1 0 0); //apparently this is the axis
angle 90;
}


flipNormals false;
mergeFaces false;

Type blockMesh and then extrudeMesh. You should see the mesh in paraFoam
Attached Images
File Type: png sx.png (35.8 KB, 49 views)

Last edited by cfd4res; March 16, 2018 at 12:56. Reason: I managed to solve the problem by myself
cfd4res is offline   Reply With Quote

Reply

Tags
extrudemesh, pipe bend


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
[mesh manipulation] extrudeMesh limits Adaptive/Dynamic Mesh Refinenemt potentialFoam OpenFOAM Meshing & Mesh Conversion 3 January 29, 2018 03:42
How to plot vortices inside pipe bend sections? pd.iiest FLUENT 0 August 8, 2016 04:59
vector plot inside pipe bend pd.iiest Tecplot 0 August 2, 2016 05:15
Simple Pipe Bend Geometry not converging Zen OpenFOAM Running, Solving & CFD 0 March 16, 2016 08:46
[blockMesh] pipe bend mesh imperfect jochemvandenbosch OpenFOAM Meshing & Mesh Conversion 9 November 12, 2014 04:49


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