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