Go to the documentation of this file.
102 #ifndef fixedTemperatureConstraint_H
103 #define fixedTemperatureConstraint_H
120 class fixedTemperatureConstraint
122 public fv::cellSetOption
154 TypeName(
"fixedTemperatureConstraint");
const word & name() const noexcept
Return const access to the source name.
static const Enum< temperatureMode > temperatureModeNames_
String representation of temperatureMode enums.
A class for handling words, derived from Foam::string.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
TypeName("fixedTemperatureConstraint")
Runtime type information.
temperatureMode mode_
Operation mode.
virtual bool read(const dictionary &dict)
Read dictionary.
fixedTemperatureConstraint(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
Constrain temperature equation (i.e. T) with a given set of fixed values within a specified region.
word TName_
Temperature field name.
void operator=(const fixedTemperatureConstraint &)=delete
No copy assignment.
autoPtr< Function1< scalar > > Tuniform_
Uniform temperature [K].
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual ~fixedTemperatureConstraint()=default
Destructor.
virtual void constrain(fvMatrix< scalar > &eqn, const label fieldi)
Constrain energy equation to fix the temperature.
temperatureMode
Temperature mode.