39 cellSizeCalculationType,
49 const dictionary& cellSizeCalcTypeDict,
50 const triSurfaceMesh& surface,
51 const scalar& defaultCellSize
54 cellSizeCalculationType
61 coeffsDict_(cellSizeCalcTypeDict.optionalSubDict(typeName +
"Coeffs")),
64 cellSizeCalcTypeDict.optionalSubDict
69 cellSizeMultipleCoeff_
71 coeffsDict_.lookupOrDefault<scalar>(
"cellSizeMultipleCoeff", 1)
82 tmp<triSurfacePointScalarField> pointCellSize
89 surface_.searchableSurface::time().constant(),
104 pointCellSize.ref() *= cellSizeMultipleCoeff_;
106 return pointCellSize;
Ostream & indent(Ostream &os)
Indent stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Macros for easy insertion into run-time selection tables.
const dimensionSet dimLength
stressControl lookup("compactNormalStress") >> compactNormalStress
static const word & geometryDir()
Return the geometry directory name.
fieldFromFile(const dictionary &cellSizeCalcTypeDict, const triSurfaceMesh &surface, const scalar &defaultCellSize)
Construct from components.
const triSurfaceMesh & surface_
Reference to the triSurfaceMesh.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
Foam::DimensionedField< scalar, triSurfacePointGeoMesh > triSurfacePointScalarField
A class for managing temporary objects.
virtual tmp< triSurfacePointScalarField > load()
Load the cell size field.