ENH: Update foamyHexMesh tutorials

This commit is contained in:
laurence
2013-05-31 10:36:32 +01:00
parent 23ad2d08db
commit 9d2a0b25db
11 changed files with 153 additions and 282 deletions

View File

@ -26,29 +26,28 @@ geometry
{
name flange;
type triSurfaceMesh;
}
}
backgroundMeshDecomposition
{
minLevels 1;
sampleResolution 4;
spanScale 5;
maxCellWeightCoeff 10;
}
surfaceConformation
{
locationInMesh (0 0 0);
geometryToConformTo
{
flange
regions
{
featureMethod extractFeatures;
includedAngle 140;
patch1
{
name wall;
}
patch2
{
name plate;
}
patch3
{
name rings;
}
patch4
{
name outlet;
}
}
}
}
@ -68,13 +67,63 @@ initialPoints
}
surfaceConformation
{
locationInMesh (0 0 0);
geometryToConformTo
{
flange
{
featureMethod extractFeatures;
includedAngle 140;
regions
{
wall
{
patchInfo
{
inGroups (groupFlange groupWalls);
}
}
plate
{
patchInfo
{
inGroups (groupFlange groupWalls);
}
}
rings
{
patchInfo
{
inGroups (groupFlange);
}
}
outlet
{
patchInfo
{
type patch;
inGroups (groupFlange);
}
}
}
}
}
}
motionControl
{
defaultCellSize 0.0008;
minimumCellSizeCoeff 0;
// For background cell size and alignment grid
maxSmoothingIterations 100;
maxRefinementIterations 0;
@ -98,6 +147,28 @@ motionControl
surfaceOffsetCoeff 2.5;
linearDistanceCoeff 2.5;
}
regions
{
rings
{
type searchableSurfaceControl;
priority 2;
mode inside;
surfaceCellSizeFunction uniformValue;
uniformValueCoeffs
{
surfaceCellSizeCoeff 0.5;
}
cellSizeFunction surfaceOffsetLinearDistance;
surfaceOffsetLinearDistanceCoeffs
{
distanceCellSizeCoeff 1;
surfaceOffsetCoeff 2;
linearDistanceCoeff 2;
}
}
}
}
}
@ -113,6 +184,15 @@ motionControl
}
backgroundMeshDecomposition
{
minLevels 1;
sampleResolution 4;
spanScale 5;
maxCellWeightCoeff 10;
}
meshQualityControls
{
#include "meshQualityDict"