Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's OpenFOAM page.
OpenFOAM example 24: use blockMesh to create a two-prism cube is an
OpenFOAM example
This example shows how to to use 'blockMesh' to create
a cube consisting out of two prisms.
The image shows the points and faces of the resulting mesh.
The top-left image shows the point indices, the others the face indices.
./ToolOpenFoamExample24/case.foam
./ToolOpenFoamExample24/output.txt
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
/* Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt *\
| Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com |
\*---------------------------------------------------------------------------*/
Build : 2.1-88b2f2ae3a0b
Exec : checkmesh
Date : Mar 24 2014
Time : 11:58:34
Host : "AIRBEAR-W7-I5"
PID : 6116
Case : D:/Projects/Test/ToolOpenFoamExample24
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create polyMesh for time = 0
Time = 0
Mesh stats
points: 8
internal points: 0
faces: 9
internal faces: 1
cells: 2
boundary patches: 1
point zones: 0
face zones: 0
cell zones: 0
Overall number of cells of each type:
hexahedra: 0
prisms: 2
wedges: 0
pyramids: 0
tet wedges: 0
tetrahedra: 0
polyhedra: 0
Checking topology...
Boundary definition OK.
Cell to face addressing OK.
Point usage OK.
Upper triangular ordering OK.
Face vertices OK.
Number of regions: 1 (OK).
Checking patch topology for multiply connected surfaces ...
Patch Faces Points Surface topology
my_faces 8 8 ok (closed singly connected)
Checking geometry...
Overall domain bounding box (-1 -1 -1) (1 1 1)
Mesh (non-empty, non-wedge) directions (1 1 1)
Mesh (non-empty) directions (1 1 1)
Boundary openness (0 0 0) OK.
Max cell openness = 0 OK.
Max aspect ratio = 2 OK.
Minimum face area = 2. Maximum face area = 5.65685. Face area magnitudes OK.
Min volume = 4. Max volume = 4. Total volume = 8. Cell volumes OK.
Mesh non-orthogonality Max: 0 average: 0
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 0.333333 OK.
Coupled point location match (average 0) OK.
Mesh OK.
End
|
./ToolOpenFoamExample24/ToolOpenFoamExample24.png
PNG
IHDR } sBITO sRGB gAMA a pHYs + {IDATx^an0U/nIrD7 n≰YMbĿq0$&W QdPDMD&hYk&8A *DFen~jTTwW~UULU]˯ 6
B X X X X X X X X %HȪU[x# P&4 P͛7;_|IkWB F#
s<v8_;_X hDhD:_9F#
E@#
I$ETgy12ex( B#
9rmK˼˝(sY,Lq灂h,X wi$y 'ԽMrhӹ^.~iDO.;FM]| ĕ_ߦ{[c<- P[*w.Y],_In^x' |i|b ~8__X.1@GiЈ@ahD@hs_ >(
Q (( ȍ b" `< |