|
[Sponsors] |
March 19, 2014, 14:30 |
blockMeshDict not Matching Boundary
|
#1 |
New Member
Join Date: Mar 2014
Posts: 1
Rep Power: 0 |
Hi,
I'm running a OpenFOAM tutorial example, as I tried to edit the blockMeshDict I noticed that the blockMeshDict and boundary files within polymesh do not match, can anyone help me reverse engineer the blockMeshDict from the boundary: The boundary file is: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 5 ( base { type patch; nFaces 44; startFace 4900; } outlet { type patch; nFaces 50; startFace 4944; } sides { type patch; nFaces 100; startFace 4994; } frontAndBack { type empty; nFaces 5000; startFace 5094; } inlet { type patch; nFaces 6; startFace 10094; } ) // ************************************************** *********************** // a starting place for the blockMeshDict : // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (-0.5 0 -0.01) ( 0.5 0 -0.01) ( 0.5 1 -0.01) (-0.5 1 -0.01) (-0.5 0 0.01) ( 0.5 0 0.01) ( 0.5 1 0.01) (-0.5 1 0.01) ); blocks ( hex (0 1 2 3 4 5 6 7) (50 50 1) simpleGrading (1 1 1) ); edges ( ); boundary ( base { type patch; faces ( (0 1 5 4) ); } outlet { type patch; faces ( (3 2 6 7) ); } sides { type patch; faces ( (1 5 6 2) (0 4 7 3) ); } frontAndBack { type empty; faces ( (0 1 2 3) (4 5 6 7) ); } ); mergePatchPairs ( ); // ************************************************** *********************** // Many Thanks |
|
Tags |
mesh 2d, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source | silvan | CFX | 3 | June 16, 2014 10:49 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 11:56 |