mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
218 lines
4.4 KiB
C++
218 lines
4.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
|
|
root "";
|
|
case "";
|
|
instance "";
|
|
local "";
|
|
|
|
class dictionary;
|
|
object cvMeshDict;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
// Any scalar with a name <name>Coeff specifies a value that will be implemented
|
|
// as a faction of the local target cell size
|
|
|
|
geometry
|
|
{
|
|
flange.obj
|
|
{
|
|
type triSurfaceMesh;
|
|
}
|
|
}
|
|
|
|
|
|
backgroundMeshDecomposition
|
|
{
|
|
minLevels 1;
|
|
sampleResolution 4;
|
|
spanScale 5;
|
|
maxCellWeightCoeff 10;
|
|
}
|
|
|
|
|
|
surfaceConformation
|
|
{
|
|
locationInMesh (0 0 0);
|
|
|
|
pointPairDistanceCoeff 0.1;
|
|
|
|
mixedFeaturePointPPDistanceCoeff 5.0;
|
|
|
|
featurePointExclusionDistanceCoeff 0.7;
|
|
|
|
featureEdgeExclusionDistanceCoeff 0.7;
|
|
|
|
surfaceSearchDistanceCoeff 5;
|
|
|
|
maxSurfaceProtrusionCoeff 0.1;
|
|
|
|
maxQuadAngle 125;
|
|
|
|
surfaceConformationRebuildFrequency 10;
|
|
|
|
specialiseFeaturePoints on;
|
|
|
|
conformationControls
|
|
{
|
|
edgeSearchDistCoeff 5;
|
|
surfacePtReplaceDistCoeff 0.5;
|
|
surfacePtExclusionDistanceCoeff 0.5;
|
|
|
|
maxIterations 15;
|
|
|
|
iterationToInitialHitRatioLimit 0.0001;
|
|
}
|
|
|
|
geometryToConformTo
|
|
{
|
|
flange.obj
|
|
{
|
|
featureMethod extendedFeatureEdgeMesh;
|
|
extendedFeatureEdgeMesh "flange.extendedFeatureEdgeMesh";
|
|
}
|
|
}
|
|
|
|
additionalFeatures
|
|
{
|
|
}
|
|
}
|
|
|
|
|
|
initialPoints
|
|
{
|
|
minimumSurfaceDistanceCoeff 0.55;
|
|
|
|
initialPointsMethod autoDensity;
|
|
//initialPointsMethod pointFile;
|
|
|
|
autoDensityCoeffs
|
|
{
|
|
minLevels 1;
|
|
maxSizeRatio 3.0;
|
|
sampleResolution 4;
|
|
surfaceSampleResolution 5;
|
|
}
|
|
|
|
pointFileCoeffs
|
|
{
|
|
pointFile "constant/internalDelaunayVertices";
|
|
}
|
|
}
|
|
|
|
|
|
motionControl
|
|
{
|
|
defaultCellSize 0.001;
|
|
|
|
//cellShapeControl constantControl;
|
|
//cellShapeControl fileControl;
|
|
cellShapeControl surfaceControl;
|
|
|
|
constantControlCoeffs
|
|
{
|
|
cellSize 0.05;
|
|
cellAlignment (1 1 0 0 1 0 0 1 1);
|
|
}
|
|
|
|
fileControlCoeffs
|
|
{
|
|
pointFile "";
|
|
sizesFile "";
|
|
alignmentsFile "";
|
|
}
|
|
|
|
surfaceControlCoeffs
|
|
//cellSizeControlGeometry
|
|
{
|
|
flange.obj
|
|
{
|
|
priority 1;
|
|
mode inside;
|
|
surfaceCellSizeFunction uniformValue;
|
|
uniformValueCoeffs
|
|
{
|
|
surfaceCellSize 0.001;
|
|
}
|
|
|
|
cellSizeFunction uniform;
|
|
uniformCoeffs{}
|
|
}
|
|
}
|
|
|
|
cellAspectRatioControl
|
|
{
|
|
aspectRatio 1.0;
|
|
aspectRatioDirection (0 0 0);
|
|
}
|
|
|
|
relaxationModel adaptiveLinear;
|
|
|
|
adaptiveLinearCoeffs
|
|
{
|
|
relaxationStart 1.0;
|
|
relaxationEnd 0.0;
|
|
}
|
|
|
|
objOutput no;
|
|
|
|
timeChecks no;
|
|
|
|
maxLoadUnbalance 0.05;
|
|
|
|
alignmentSearchSpokes 36;
|
|
|
|
alignmentAcceptanceAngle 48;
|
|
|
|
sizeAndAlignmentRebuildFrequency 20;
|
|
|
|
pointInsertionCriteria
|
|
{
|
|
cellCentreDistCoeff 1.75;
|
|
faceAreaRatioCoeff 0.0025;
|
|
acceptanceAngle 21.5;
|
|
}
|
|
|
|
pointRemovalCriteria
|
|
{
|
|
cellCentreDistCoeff 0.65;
|
|
}
|
|
|
|
faceAreaWeightModel piecewiseLinearRamp;
|
|
|
|
piecewiseLinearRampCoeffs
|
|
{
|
|
lowerAreaFraction 0.5;
|
|
upperAreaFraction 1.0;
|
|
}
|
|
}
|
|
|
|
|
|
polyMeshFiltering
|
|
{
|
|
filterEdges on;
|
|
filterFaces on;
|
|
writeTetDualMesh false;
|
|
}
|
|
|
|
|
|
meshQualityControls
|
|
{
|
|
#include "meshQualityDict"
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|