FoamFile
{version 2.0; format ascii; class dictionary; object snappyHexMeshDict;}
castellatedMesh true; snap true; addLayers true;
geometry {body.stl {type triSurfaceMesh;name body;}
wheelFront.stl {type triSurfaceMesh;name wheelFront;}
wheelRear.stl {type triSurfaceMesh;name wheelRear;}

 nearBody {type searchableBox;min (-.3 0 .02);max (5.3 1.4 1.5);}
 wake {type searchableBox;min (4.3 0 .02);max (12 2 1.7);}
 frontContact {type searchableBox;min (.65 .75 .02);max (1.35 1.15 .14);}
 rearContact {type searchableBox;min (3.44 .72 .02);max (4.16 1.18 .14);}
}
castellatedMeshControls {maxLocalCells 2000000;maxGlobalCells 6000000;minRefinementCells 10;maxLoadUnbalance .1;nCellsBetweenLevels 3;features ({file "body.eMesh";level 4;}{file "wheelFront.eMesh";level 5;}{file "wheelRear.eMesh";level 5;});refinementSurfaces {body {level (4 4);patchInfo {type wall;}}wheelFront {level (5 5);patchInfo {type wall;}}wheelRear {level (5 5);patchInfo {type wall;}}}resolveFeatureAngle 30;
 refinementRegions {nearBody {mode inside;levels ((1e15 2));}wake {mode inside;levels ((1e15 2));}frontContact {mode inside;levels ((1e15 5));}rearContact {mode inside;levels ((1e15 5));}}
 locationInMesh (-4 3 2);allowFreeStandingZoneFaces true;
}
snapControls {nSmoothPatch 5;tolerance 1.0;nSolveIter 100;nRelaxIter 10;nFeatureSnapIter 15;implicitFeatureSnap false;explicitFeatureSnap true;multiRegionFeatureSnap true;}
addLayersControls {relativeSizes true;layers {body {nSurfaceLayers 3;}wheelFront {nSurfaceLayers 2;}wheelRear {nSurfaceLayers 2;}}expansionRatio 1.2;finalLayerThickness .3;minThickness .08;nGrow 0;featureAngle 60;nRelaxIter 5;nSmoothSurfaceNormals 3;nSmoothNormals 5;nSmoothThickness 10;maxFaceThicknessRatio .4;maxThicknessToMedialRatio .3;minMedialAxisAngle 90;nBufferCellsNoExtrude 0;nLayerIter 40;}
meshQualityControls {maxNonOrtho 65;maxBoundarySkewness 4;maxInternalSkewness 4;maxConcave 10;minVol 1e-15;minTetQuality 1e-15;minArea -1;minTwist .02;minDeterminant .001;minFaceWeight .05;minVolRatio .01;minTriangleTwist -1;nSmoothScale 4;errorReduction .75;}
mergeTolerance 1e-6;
