This source condition provides a value for the energy derived from the corresponding condition for the temperature, and the conditions for other relevant thermodynamic variables. This is constructed automatically by the thermodynamic model. The user does not specify it. More...
Public Member Functions | |
TypeName ("energy") | |
Runtime type information. More... | |
energyFvScalarFieldSource (const DimensionedField< scalar, volMesh > &) | |
Construct from internal field. More... | |
energyFvScalarFieldSource (const DimensionedField< scalar, volMesh > &, const dictionary &dict) | |
Construct from internal field and dictionary. More... | |
energyFvScalarFieldSource (const energyFvScalarFieldSource &, const DimensionedField< scalar, volMesh > &) | |
Copy constructor setting internal field reference. More... | |
virtual autoPtr< fvScalarFieldSource > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
virtual | ~energyFvScalarFieldSource () |
Destructor. More... | |
virtual tmp< scalarField > | sourceValue (const fvSource &) const |
Return the source value. More... | |
virtual tmp< scalarField > | internalCoeff (const fvSource &) const |
Return the internal coefficient. More... | |
This source condition provides a value for the energy derived from the corresponding condition for the temperature, and the conditions for other relevant thermodynamic variables. This is constructed automatically by the thermodynamic model. The user does not specify it.
Definition at line 51 of file energyFvScalarFieldSource.H.
energyFvScalarFieldSource | ( | const DimensionedField< scalar, volMesh > & | iF | ) |
Construct from internal field.
Definition at line 35 of file energyFvScalarFieldSource.C.
Referenced by energyFvScalarFieldSource::clone().
energyFvScalarFieldSource | ( | const DimensionedField< scalar, volMesh > & | iF, |
const dictionary & | dict | ||
) |
Construct from internal field and dictionary.
Definition at line 44 of file energyFvScalarFieldSource.C.
energyFvScalarFieldSource | ( | const energyFvScalarFieldSource & | field, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 54 of file energyFvScalarFieldSource.C.
|
virtual |
Destructor.
Definition at line 66 of file energyFvScalarFieldSource.C.
TypeName | ( | "energy" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 81 of file energyFvScalarFieldSource.H.
References energyFvScalarFieldSource::energyFvScalarFieldSource().
|
virtual |
Return the source value.
Definition at line 73 of file energyFvScalarFieldSource.C.
References basicThermo::he(), basicThermo::lookupThermo(), fvModel::name(), GeometricField< Type, PatchField, GeoMesh >::sources(), basicThermo::T(), and thermo.
|
virtual |
Return the internal coefficient.
Definition at line 92 of file energyFvScalarFieldSource.C.
References basicThermo::lookupThermo(), fvModel::name(), GeometricField< Type, PatchField, GeoMesh >::sources(), basicThermo::T(), and thermo.