Background Mesh - Stator Region
Background mesh is a very simple initial mesh. It serves as an input for snappyHexMesh utility. It is a basic (initial) mesh to be refined. All the surface model must be placed inside the background mesh. Usually, background mesh is a simple block a bit larger than bounding box of the surface model. Alternatively, the background mesh can be used to create inlet or outlet of the final mesh (this case).
convertToMeters 1; x1 -85; x2 76; y1 -66.3; y2 75; z1 203; z2 282; vertices ( ($x2 $y1 $z1) ($x2 $y2 $z1) ($x1 $y2 $z1) ($x1 $y1 $z1) ($x2 $y1 $z2) ($x2 $y2 $z2) ($x1 $y2 $z2) ($x1 $y1 $z2) ); blocks ( hex (0 1 2 3 4 5 6 7) (40 41 20) simpleGrading (1 1 1) );
Figure: Background mesh, compressor housing.