42 cellSizeCalculationType,
52 const dictionary& cellSizeCalcTypeDict,
54 const scalar& defaultCellSize
57 cellSizeCalculationType
64 coeffsDict_(cellSizeCalcTypeDict.optionalSubDict(typeName +
"Coeffs")),
67 cellSizeCalcTypeDict.optionalSubDict
70 ).
get<word>(
"fieldFile")
72 cellSizeMultipleCoeff_
74 coeffsDict_.getOrDefault<scalar>(
"cellSizeMultipleCoeff", 1)
85 tmp<triSurfacePointScalarField> pointCellSize
92 surface_.searchableSurface::time().constant(),
94 surface_.searchableSurface::time(),
104 pointCellSize.ref() *= cellSizeMultipleCoeff_;
106 return pointCellSize;
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
Ostream & indent(Ostream &os)
Indent stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ignore writing from objectRegistry::writeObject()
Macros for easy insertion into run-time selection tables.
fieldFromFile(const dictionary &cellSizeCalcTypeDict, const triSurfaceMesh &surface, const scalar &defaultCellSize)
Construct from components.
const wordList surface
Standard surface field types (scalar, vector, tensor, etc)
defineTypeNameAndDebug(combustionModel, 0)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
messageStream Info
Information stream (stdout output on master, null elsewhere)
Foam::DimensionedField< scalar, triSurfacePointGeoMesh > triSurfacePointScalarField
A class for managing temporary objects.
virtual tmp< triSurfacePointScalarField > load()
Load the cell size field.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)