Go to the documentation of this file.
50 const word& modelType,
56 UNbrName_(coeffs_.getOrDefault<
word>(
"UNbr",
"U")),
66 coeffs_.readEntry(
"a", a_);
67 coeffs_.readEntry(
"b", b_);
68 coeffs_.readEntry(
"c", c_);
69 coeffs_.readEntry(
"ds", ds_);
70 coeffs_.readEntry(
"Pr", Pr_);
79 mesh_.time().timeName(),
103 const auto& nbrThermo =
106 const auto& UNbr = nbrMesh.lookupObject<
volVectorField>(UNbrName_);
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_);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const word & nbrRegionName() const
Return const access to the neighbour region name.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
Intermediate class for handling inter-region heat exchanges.
static const word propertiesName
Default name of the turbulence properties dictionary.
Fundamental fluid thermodynamic properties.
const fvMesh & mesh_
Reference to the mesh database.
virtual void calculateHtc()
Calculate the heat transfer coefficient.
tmp< Field< Type > > interpolate(const interRegionHeatTransferModel &nbrModel, const Field< Type > &field) const
Interpolate field with nbrModel specified.
variableHeatTransfer(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from dictionary.
const Type & lookupObject(const word &name, const bool recursive=false) const
volScalarField htc_
Heat transfer coefficient [W/m2/k] times area/volume [1/m].
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual bool read(const dictionary &dict)
Read dictionary.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
const Time & time() const
Return the top-level database.
defineTypeNameAndDebug(atmAmbientTurbSource, 0)
addToRunTimeSelectionTable(option, atmAmbientTurbSource, dictionary)
word dictName() const
The local dictionary name (final part of scoped name)