59 #ifndef fixedTemperatureConstraint_H 60 #define fixedTemperatureConstraint_H 124 TypeName(
"fixedTemperatureConstraint");
133 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.
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].
Fixed temperature equation constraint.
const fvMesh & mesh() const
Return const access to the mesh database.
word TName_
Temperature field name.
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 abtract 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.