102 #ifndef fixedTemperatureConstraint_H 103 #define fixedTemperatureConstraint_H 120 class fixedTemperatureConstraint
122 public fv::cellSetOption
virtual bool read(const dictionary &dict)
Read dictionary.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
TypeName("fixedTemperatureConstraint")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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.
Constrain temperature equation (i.e. T) with a given set of fixed values within a specified region...
virtual ~fixedTemperatureConstraint()=default
Destructor.
word TName_
Temperature field name.
void operator=(const fixedTemperatureConstraint &)=delete
No copy assignment.
static const Enum< temperatureMode > 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 Foam::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 noexcept
Return const access to the source name.
temperatureMode
Temperature mode.
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...