Basic infrastructure and thinking - designing using the cvMeshDict.

This commit is contained in:
graham
2009-04-02 19:14:44 +01:00
parent d6854a4507
commit 9dbc29742a

View File

@ -0,0 +1,172 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object cvMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
geometry
{
channelWalls
{
type searchableBox;
min (-1 -1 -1);
max ( 2 2 2);
}
sphere
{
type searchableSphere;
centre (1.5 1.5 1.5);
radius 1.03;
}
cubeMissingSkewedCorner_patched_refined.obj
{
type triSurfaceMesh;
}
}
motionControl
{
defaultCellSize 0.06;
// Assign a priority to all requests for cell sizes, the highest overrules.
defaultPriority 0;
cellSizeControlGeometry
{
}
relaxationModel linear;
linearCoeffs
{
relaxationStart 0.8;
relaxationEnd 0.0;
}
alignmentSearchSpokes 36;
alignmentAcceptanceAngle 48;
targetCellSizeCoeff 1.0;
pointInsertionCriteria
{
cellCentreDistCoeff 1.75;
faceAreaRatioCoeff 0.0025;
alignmentAcceptanceAngle 21.5;
}
pointRemovalCriteria
{
cellCentreDistCoeff 0.65;
}
faceAreaWeightModel piecewiseLinearRamp;
piecewiseLinearRampCoeffs
{
lowerWeight 0;
lowerAreaFraction 0.707;
upperWeight 1;
upperAreaFraction 1.0;
}
}
surfaceConformation
{
locationInMesh (0.1 0.1 0.2);
// A faction of the local target cell size
pointPairDistanceCoeff 0.05;
geometryToConformTo
{
channelWalls
{
// Independently specify the feature characteristics of individual
// parts of the geometry. Allows some parts to calculate their own
// features (including analytical surfaces), others to be read from
// file. Optional, if ommited, assume no features.
features
{
// Included angle used to identify feature edges
// 0 = no features, 180 = all features
featureAngle 145;
maxQuadAngle 125;
}
}
sphere
{
// Allows surfaces to be use to generate baffles, default to no.
baffleSurface no;
}
cubeMissingSkewedCorner_patched_refined.obj
{
// ignores whether or not the surface is closed when asked to
// determine the volumeType of a point (whether it is inside or
// outside). Intended to allow imperfect surface files to be
// meshed. Only valid for triSurfaceMesh types.
treatAsClosedSurface true;
features
{
}
}
}
initialPositions
{
initialPositionsModel uniformGrid;
//initialPositionsModel pointsFile;
uniformGridCoeffs
{
initialCellSize 0.06;
randomiseInitialGrid yes;
randomPerturbationCoeff 0.1;
}
pointsFileCoeffs
{
pointsFile "40/internalDelaunayVertices"
minimumSurfaceDistance 12.345;
}
}
}
polyMeshFiltering
{
// A fraction of the local target cell size
minimumEdgeLengthCoeff 0.2;
}
// ************************************************************************* //