49 void Foam::fv::limitTemperature::readCoeffs()
51 Tmin_ = coeffs().lookup<scalar>(
"min");
52 Tmax_ = coeffs().lookup<scalar>(
"max");
53 phaseName_ = coeffs().lookupOrDefault<word>(
"phase",
word::null);
62 const word& modelType,
111 const label celli = cells[i];
112 hec[celli]=
max(
min(hec[celli], heMax[i]), heMin[i]);
135 max(
min(hep[facei], heMaxp[facei]), heMinp[facei]);
147 set_.updateMesh(mpm);
limitTemperature(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
defineTypeNameAndDebug(fixedTemperatureConstraint, 0)
#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.
fluidReactionThermo & thermo
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 > &)
void size(const label)
Override size to be inconsistent with allocated storage.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual bool constrain(volScalarField &he) const
Constrain the energy field.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Macros for easy insertion into run-time selection tables.
virtual volScalarField & he()=0
Enthalpy/Internal energy [J/kg].
virtual void updateMesh(const mapPolyMesh &)
Update for mesh changes.
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
static const word null
An empty word.
static const word dictName
Name of the thermophysical properties dictionary.
Internal::FieldType & primitiveFieldRef()
Return a reference to the internal field.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
virtual wordList constrainedFields() const
Return the list of fields constrained by the fvConstraint.
addToRunTimeSelectionTable(fvConstraint, fixedTemperatureConstraint, dictionary)
List< word > wordList
A List of words.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
Mesh data needed to do the Finite Volume discretisation.
virtual bool read(const dictionary &dict)
Read dictionary.
virtual bool read(const dictionary &dict)
Read source dictionary.
Finite volume options abstract base class.