53 const word& modelType,
71 fieldNames_.setSize(1, thermo.
he().
name());
73 applied_.setSize(1,
false);
83 coeffs_.lookup(
"min") >> Tmin_;
84 coeffs_.lookup(
"max") >> Tmax_;
113 label celli = cells_[i];
114 hec[celli]=
max(
min(hec[celli], heMax[i]), heMin[i]);
118 if (selectionMode_ == smAll)
139 max(
min(hep[facei], heMaxp[facei]), heMinp[facei]);
defineTypeNameAndDebug(option, 0)
limitTemperature(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
#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.
const word & name() const
Return name.
Abstract base-class for fluid and solid thermodynamic properties.
virtual bool fixesValue() const
Return true if this patch field fixes a value.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
const Boundary & boundaryField() const
Return const-reference to the boundary field.
void size(const label)
Override size to be inconsistent with allocated storage.
virtual void correct(volScalarField &he)
Correct the energy field.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
addToRunTimeSelectionTable(option, fixedTemperatureConstraint, dictionary)
virtual bool read(const dictionary &dict)
Read source dictionary.
rhoReactionThermo & thermo
Macros for easy insertion into run-time selection tables.
virtual volScalarField & he()=0
Enthalpy/Internal energy [J/kg].
const word dictName() const
Return the local dictionary name (final part of scoped name)
virtual volScalarField & p()
Pressure [Pa].
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
static const word null
An empty word.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if successful.
Internal::FieldType & primitiveFieldRef()
Return a reference to the internal field.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
Mesh data needed to do the Finite Volume discretisation.
Cell-set options abstract base class. Provides a base set of controls, e.g.:
virtual bool read(const dictionary &dict)
Read dictionary.