Go to the documentation of this file.
53 Foam::fv::limitTemperature::limitTemperature
56 const word& modelType,
62 Tmin_(coeffs_.get<scalar>(
"min")),
63 Tmax_(coeffs_.get<scalar>(
"max")),
64 phase_(coeffs_.lookupOrDefault<
word>(
"phase", word::null))
74 fieldNames_.setSize(1,
thermo.he().name());
76 applied_.setSize(1,
false);
114 const label celli = cells_[i];
115 hec[celli]=
max(
min(hec[celli], heMax[i]), heMin[i]);
119 if (selectionMode_ == smAll)
121 volScalarField::Boundary& bf =
he.boundaryFieldRef();
140 max(
min(hep[facei], heMaxp[facei]), heMinp[facei]);
148 he.correctBoundaryConditions();
virtual bool read(const dictionary &dict)
Read dictionary.
A class for handling words, derived from Foam::string.
Cell-set options abtract base class. Provides a base set of controls, e.g.:
const word dictName("blockMeshDict")
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Abstract base-class for fluid and solid thermodynamic properties.
virtual bool fixesValue() const
Return true if this patch field fixes a value.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const complex &c)
Return string representation of complex.
dictionary coeffs_
Dictionary containing source coefficients.
virtual bool read(const dictionary &dict)
Read source dictionary.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
word dictName() const
The local dictionary name (final part of scoped name)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalar Tmin_
Minimum temperature limit [K].
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
defineTypeNameAndDebug(option, 0)
addToRunTimeSelectionTable(option, fixedTemperatureConstraint, dictionary)
virtual void correct(volScalarField &he)
Correct the energy field.
static word groupName(StringType name, const word &group)
Create dot-delimited name.group.
scalar Tmax_
Maximum temperature limit [K].