Quote:
|
reply
Hi, Dear rajeshkunwar.
Your question not Clear for me!!!plz Explain more about your question? maybe i can help you!!! :) |
Hi, Dear rajeshkunwar.
Your question not Clear for me!!!plz Explain more about your question? maybe i can help you!!! :) |
The axis patch type becomes symmetryPlane after using makeAxialMesh in boundary file of polyMesh directory . What boundary type I have to specify in P and U files for symmetryPlane.
|
if you done true all steps,you should have Something similar the following lines in your boundary:
frontAndBackPlanes { type empty; } frontAndBackPlanes_pos { type wedge; } frontAndBackPlanes_neg { type wedge; } are you make this lines(wedge) in your boundary in polymesh file?if you see this,so you should add the above lines in P and U files. |
Hi Vahid. Thank you for replying. my boundary file is below. The axis patch name is Axis.
FoamFile { version 2.0; format ascii; class polyBoundaryMesh; location "constant/polyMesh"; object boundary; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 8 ( Axis { type symmetryPlane; nFaces 0; startFace 19800; } Upper_Boundary { type patch; nFaces 100; startFace 19800; } Side_Boundary { type patch; nFaces 100; startFace 19900; } Bottom_Wall { type wall; nFaces 90; startFace 20000; } Source { type patch; nFaces 10; startFace 20090; } frontAndBackPlanes { type empty; nFaces 0; startFace 20100; } frontAndBackPlanes_pos { type wedge; nFaces 10000; startFace 20100; } frontAndBackPlanes_neg { type wedge; nFaces 10000; startFace 30100; } U file in zero folder is below. FoamFile { version 2.0; format ascii; class volVectorField; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0.0 0 0); boundaryField { Axis { type symmetryPlane; } Upper_Boundary { type inletOutlet; inletValue uniform (0 0 0); value uniform (0 0 0); } .... I just wanted to confirm whether it is correct or not. |
Hi dear rajeshkunwar .
I havent time to see your boundary,but I know that you have to run this line: makeAxialMesh -axis axis -wedge frontAndBackPlane I think, its better for you to learn it, do this Commands for a simple geometry like Rectangular shape!!! if your problem don't solve,Ask the problem again,to explain it!!! |
I have done the same thing what you have suggested. My confusion is regarding the boundary condition of Axis patch.
|
Quote:
|
Hi all,
where can i download makeAxialMesh for openFoam 2.1.0? svn doesn't work. thanks andrea |
Quote:
I will look into how to make stuff that is undisputed available in the meantime, but probably can't do so before monday If somebody who recently downloaded it (makeAxialMesh) could make a tarball of the source and make it available to the public (for instance on the Wiki) that would be great |
HI Bernhard,
if you can just copy here makeAxialMesh.C that compiles on OF 2.1.0 i can easily do the rest. I cannot find the source code. Thanks |
Quote:
|
thank you very much!
best andrea |
problem with makeAxialMesh
2 Attachment(s)
hi bernhard,
I am new to openfoam and i am facing few problems with using makeAxialMesh for a simple case of laminar flow thru a 2D axisymmetric pipe, can you please point out the probleam in my case setup since i am getting boundary layer even at the axis(as in the attached fig.). |
Quote:
|
Quote:
|
1 Attachment(s)
hi bernhard,
no i have not used collapseEdges, i simply gave these terminal commands blockMesh makeAxialMesh -axis center -wedge frontAndBack icoFoam >& log after running makeAxialMesh , a folder was formed from which i copied the polymesh dir. and replaced with the original. my original blockMeshDict convertToMeters 0.01; vertices ( (0 -1 0) (5 -1 0) (5 1 0) (0 1 0) (0 -1 2) (5 -1 2) (5 1 2) (0 1 2) ); blocks ( hex (0 1 2 3 4 5 6 7) (100 40 1) simpleGrading (1 1 1) ); edges ( ); boundary ( inlet { type patch; faces ( (0 4 7 3) ); } outlet { type patch; faces ( (2 6 5 1) ); } fixedWalls { type wall; faces ( (3 7 6 2) ); } center { type empty; faces ( (1 5 4 0) ); } frontAndBack { type empty; faces ( (0 3 2 1) (4 5 6 7) ); } ); mergePatchPairs ( ); and 0/u : internalField uniform (0 0 0); boundaryField { outlet { type zeroGradient; } inlet { type fixedValue; value uniform (0.05 0 0); } fixedWalls { type fixedValue; value uniform (0 0 0); } center { type symmetryPlane; } frontAndBack { type empty; } frontAndBack_pos { type wedge; } frontAndBack_neg { type wedge; } I am also not very sure about the parameters in rotationDict (attached). Will be grateful for ur help. |
Quote:
|
hi bernhard,
I am sorry , i didn't go thru prevoius threads. Thanks a lot for ur answer now its up and running, I also wanted to confirm something, thou collapseEdges 1e-06 175 command after makeaxialmesh worked for me on OF ver 2.1 but a friend of mine is getting troubles running the same command collapseEdges 1e-06 175 for same case on OF ver 2.2, whats the reason for that, its showing required 0 argument, 2 given |
All times are GMT -4. The time now is 02:28. |