50 const word& modelType,
55 interRegionHeatTransferModel(
name, modelType,
dict,
mesh),
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_);
word dictName() const
The local dictionary name (final part of scoped name)
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
defineTypeNameAndDebug(atmAmbientTurbSource, 0)
const fvMesh & mesh_
Reference to the mesh database.
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
const Time & time() const
Return the top-level database.
Macros for easy insertion into run-time selection tables.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
Fundamental fluid thermodynamic properties.
virtual void calculateHtc()
Calculate the heat transfer coefficient.
variableHeatTransfer(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from dictionary.
addToRunTimeSelectionTable(option, atmAmbientTurbSource, dictionary)
static word timeName(const scalar t, const int precision=precision_)
Return time name of given scalar time formatted with the given precision.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Mesh data needed to do the Finite Volume discretisation.
Automatically write from objectRegistry::writeObject()
bool master_
Master or slave region.
A class for managing temporary objects.
virtual bool read(const dictionary &dict)
Read dictionary.
virtual bool read(const dictionary &dict)
Read source dictionary.
Defines the attributes of an object for which implicit objectRegistry management is supported...
dictionary coeffs_
Dictionary containing source coefficients.