39 cellSizeCalculationType,
49 const dictionary& cellSizeCalcTypeDict,
50 const triSurfaceMesh& surface,
51 const scalar& defaultCellSize
54 cellSizeCalculationType
61 coeffsDict_(cellSizeCalcTypeDict.subDict(typeName +
"Coeffs")),
64 cellSizeCalcTypeDict.subDict(typeName +
"Coeffs").
lookup(
"fieldFile")
66 cellSizeMultipleCoeff_
68 coeffsDict_.lookupOrDefault<scalar>(
"cellSizeMultipleCoeff", 1)
79 tmp<triSurfacePointScalarField> pointCellSize
86 surface_.searchableSurface::time().constant(),
98 pointCellSize.ref() *= cellSizeMultipleCoeff_;
100 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.
stressControl lookup("compactNormalStress") >> compactNormalStress
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)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Foam::DimensionedField< scalar, triSurfacePointGeoMesh > triSurfacePointScalarField
A class for managing temporary objects.
virtual tmp< triSurfacePointScalarField > load()
Load the cell size field.