50 const word& modelType,
56 UNbrName_(coeffs_.getOrDefault<
word>(
"UNbr",
"U")),
95 const auto& nbrMesh = mesh_.time().lookupObject<
fvMesh>(nbrRegionName());
103 const auto& nbrThermo =
106 const auto& UNbr = nbrMesh.lookupObject<
volVectorField>(UNbrName_);
116 htc_.primitiveFieldRef() = htcNbrMapped*AoV_();
124 coeffs_.readIfPresent(
"UNbr", UNbrName_);
126 coeffs_.readIfPresent(
"a", a_);
127 coeffs_.readIfPresent(
"b", b_);
128 coeffs_.readIfPresent(
"c", c_);
129 coeffs_.readIfPresent(
"ds", ds_);
130 coeffs_.readIfPresent(
"Pr", Pr_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
virtual bool read()
Re-read model coefficients if they have changed.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
static word timeName(const scalar t, const int precision=precision_)
static const word dictName
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
Fundamental fluid thermodynamic properties.
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
Intermediate class for handling inter-region heat exchanges.
bool master_
Master or slave region.
Base abstract class for handling finite volume options (i.e. fvOption).
const fvMesh & mesh_
Reference to the mesh database.
dictionary coeffs_
Dictionary containing source coefficients.
Applies a variable heat transfer model depending on local values for inter-region heat exchanges.
virtual void calculateHtc()
Calculate the heat transfer coefficient.
const Type & lookupObject(const word &name, const bool recursive=false) const
A class for managing temporary objects.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.