36 namespace functionObjects
50 htcModelPtr_->calc(htc, htcModelPtr_->q());
77 auto* heatTransferCoeffPtr =
defineTypeNameAndDebug(ObukhovLength, 0)
word resultName_
Name of result field.
virtual bool calc()
Calculate the heat transfer coefficient field and return true if successful.
Type & lookupObjectRef(const word &name, const bool recursive=false) const
Lookup and return non-const reference to the object of the given Type. Fatal if not found or the wron...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool read(const dictionary &dict)
Read the fieldExpression data.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
bool store()
Register object with its registry and transfer ownership to the registry.
Computes the heat transfer coefficient [W/(m^2 K)] as a volScalarField for a given set of patches...
Ignore writing from objectRegistry::writeObject()
const Time & time() const
Return the top-level database.
Abstract base-class for Time/database function objects.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
virtual const objectRegistry & thisDb() const
Return the object registry - resolve conflict polyMesh/lduMesh.
A base class for heat transfer coefficient models.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
void setResultName(const word &typeName, const word &defaultArg)
Set the name of result field.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
static MinMax< scalar > ge(const scalar &minVal)
A semi-infinite range from minVal to the type max.
heatTransferCoeff(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
const dimensionSet dimPower
static word timeName(const scalar t, const int precision=precision_)
Return a time name for the given scalar time value formatted with the given precision.
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Intermediate class for handling field expression function objects (e.g. blendingFactor etc...
Defines the attributes of an object for which implicit objectRegistry management is supported...
Request registration (bool: true)
virtual bool read(const dictionary &dict)
Read the top-level dictionary.
const fvMesh & mesh_
Reference to the fvMesh.
const dimensionSet dimArea(sqr(dimLength))
static constexpr const zero Zero
Global zero (0)