openfoam/tutorials/mesh/foamyHexMesh/mixerVessel/system/foamyHexMeshDict
Henry 0a6ca7ae45 includeEtcEntry: New dictionary include directive: #includeEtc "etcFile"
Description
    Specify an etc file to include when reading dictionaries, expects a
    single string to follow.

    Searches for files from user/group/shipped directories.
    The search scheme allows for version-specific and
    version-independent files using the following hierarchy:
    - \b user settings:
      - ~/.OpenFOAM/\<VERSION\>
      - ~/.OpenFOAM/
    - \b group (site) settings (when $WM_PROJECT_SITE is set):
      - $WM_PROJECT_SITE/\<VERSION\>
      - $WM_PROJECT_SITE
    - \b group (site) settings (when $WM_PROJECT_SITE is not set):
      - $WM_PROJECT_INST_DIR/site/\<VERSION\>
      - $WM_PROJECT_INST_DIR/site/
    - \b other (shipped) settings:
      - $WM_PROJECT_DIR/etc/

    An example of the \c \#includeEtc directive:
    \verbatim
        #includeEtc "etcFile"
    \endverbatim

    The usual expansion of environment variables and other constructs is
    retained.
2015-04-26 10:44:11 +01:00

110 lines
2.6 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;
class dictionary;
object foamyHexMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#includeEtc "caseDicts/foamyHexMeshDict"
geometry
{
#include "meshDict.geometry"
}
initialPoints
{
//initialPointsMethod pointFile;
initialPointsMethod autoDensity;
autoDensityCoeffs
{
minLevels 2;
maxSizeRatio 2.0;
sampleResolution 5;
surfaceSampleResolution 5;
}
pointFileCoeffs
{
insideOutsideCheck off;
randomiseInitialGrid off;
randomPerturbationCoeff 1e-3;
pointFile "0/internalDelaunayVertices";
}
}
surfaceConformation
{
locationInMesh (0 0.1 1.0);
#include "meshDict.conformationSurfaces"
featurePointExclusionDistanceCoeff 0.65;
featureEdgeExclusionDistanceCoeff 0.5;
maxSurfaceProtrusionCoeff 0.1;
conformationControls
{
edgeSearchDistCoeff 5;
surfacePtReplaceDistCoeff 0.5;
surfacePtExclusionDistanceCoeff 0.5;
maxIterations 15;
iterationToInitialHitRatioLimit 0.0001;
}
}
motionControl
{
defaultCellSize 6e-3;
minimumCellSizeCoeff 0.1;
maxRefinementIterations 1;
maxSmoothingIterations 100;
shapeControlFunctions
{
#include "meshDict.cellShapeControl"
}
objOutput no;
timeChecks no;
}
backgroundMeshDecomposition
{
minLevels 1;
sampleResolution 4;
spanScale 20;
maxCellWeightCoeff 20;
}
polyMeshFiltering
{
writeBackgroundMeshDecomposition true;
writeCellShapeControlMesh true;
writeTetDualMesh false;
filterEdges on;
filterFaces off;
}
// ************************************************************************* //