|
[Sponsors] |
the correct Type for axis of pipe in a 3D case |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 10, 2013, 03:02 |
the correct Type for axis of pipe in a 3D case
|
#1 |
Member
Arjang Behnoud
Join Date: Oct 2012
Posts: 63
Rep Power: 14 |
Hi Everyone
for simulating laminar duct flow in a pipe I've model only a quarter of pipe and the blockMeshDict is like below: Code:
convertToMeters 1; //- half angle of wedge in degrees halfAngle 45.0; //- Radius of pipe [m] radius 0.00625; radHalfAngle #calc "degToRad($halfAngle)"; y #calc "$radius*sin($radHalfAngle)"; minY #calc "-1.0*$y"; z #calc "$radius*cos($radHalfAngle)"; minZ #calc "-1.0*$z"; //-length of pipe [m] l 1; vertices ( (0.0 0.0 0) //0 ($l 0.0 0) ($l 0.0 0) //2 (0.0 0.0 0) (0.0 $minY $z) //4 ($l $minY $z) ($l $y $z) //6 (0.0 $y $z) ); blocks ( // inlet block hex (0 1 2 3 4 5 6 7) (300 20 20) simpleGrading (1 1 .2) ); edges ( arc 4 7 (0 0 $radius) arc 5 6 ($l 0 $radius) ); boundary ( inlet { type patch; faces ( (0 4 7 3) ); } outlet { type patch; faces ( (1 2 6 5) ); } side1 { type cyclic; neighbourPatch side2; faces ( (0 1 5 4) ); transform rotational; rotationAxis (1 0 0); rotationCentre (0 0 0); } side2 { type cyclic; neighbourPatch side1; faces ( (7 6 2 3) ); transform rotational; rotationAxis (1 0 0); rotationCentre (0 0 0); } walls { type wall; faces ( (4 5 6 7) //(3 2 1 0) ); } axis { type slip; faces ( (3 2 1 0) ); } ); (pictures are attached) now I want to know what is the problem, slip type is not correct for axis or maybe the quality of mesh (300 20 20) is not good? Thanks. Arjang |
|
October 11, 2013, 02:24 |
|
#2 |
Member
Dr. B T KANNAN
Join Date: Jul 2011
Location: CHENNAI (MADRAS), INDIA
Posts: 55
Rep Power: 15 |
Dear Arjang Behnoud,Try type "empty" for axis !!
-- KANNAN |
|
October 12, 2013, 03:02 |
|
#3 |
Member
Arjang Behnoud
Join Date: Oct 2012
Posts: 63
Rep Power: 14 |
first I've tried empty type for axis.but It was not good .
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[CGNS] CGNS converters available | mbeaudoin | OpenFOAM Meshing & Mesh Conversion | 137 | December 14, 2018 05:20 |
Why Menter's SST model low-Re issue has not been seriously investigated? | vkrastev | OpenFOAM | 58 | January 8, 2018 16:20 |
boundary conditions for simpleFoam calculation | foam_noob | OpenFOAM Running, Solving & CFD | 8 | July 1, 2015 09:07 |
rhoSimpleFoam | claco | OpenFOAM | 7 | April 20, 2010 05:32 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |