61 #ifndef fixedTemperatureConstraint_H 62 #define fixedTemperatureConstraint_H 117 TypeName(
"fixedTemperatureConstraint");
126 const word& modelType,
virtual bool read(const dictionary &dict)
Read dictionary.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
TypeName("fixedTemperatureConstraint")
Runtime type information.
word phase_
Optional phase name.
A list of keyword definitions, which are a keyword followed by any number of values (e...
temperatureMode mode_
Operation mode.
autoPtr< Function1< scalar > > Tuniform_
Uniform temperature [K].
fixedTemperatureConstraint(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
Fixed temperature equation constraint.
const fvMesh & mesh() const
Return const access to the mesh database.
word TName_
Temperature field name.
void operator=(const fixedTemperatureConstraint &)=delete
Disallow default bitwise assignment.
static const NamedEnum< temperatureMode, 2 > temperatureModeNames_
String representation of temperatureMode enums.
virtual void constrain(fvMatrix< scalar > &eqn, const label fieldi)
Constrain energy equation to fix the temperature.
A class for handling words, derived from string.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
const word & name() const
Return const access to the source name.
temperatureMode
Temperature mode.
Mesh data needed to do the Finite Volume discretisation.
Cell-set options abstract base class. Provides a base set of controls, e.g.:
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual ~fixedTemperatureConstraint()
Destructor.