This source condition is applied to the temperature field, but provides a uniform fixed energy into the energy equation. More...
Public Member Functions | |
TypeName ("uniformFixedEnergyTemperature") | |
Runtime type information. More... | |
uniformFixedEnergyTemperatureFvScalarFieldSource (const DimensionedField< scalar, volMesh > &, const dictionary &dict) | |
Construct from internal field and dictionary. More... | |
uniformFixedEnergyTemperatureFvScalarFieldSource (const uniformFixedEnergyTemperatureFvScalarFieldSource &, 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 | ~uniformFixedEnergyTemperatureFvScalarFieldSource () |
Destructor. More... | |
virtual tmp< scalarField > | sourceHeValue (const fvSource &) const |
Return the source energy value. More... | |
virtual tmp< scalarField > | internalCoeff (const fvSource &) const |
Return the internal coefficient. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
![]() | |
TypeName ("energyCalculatedTemperature") | |
Runtime type information. More... | |
energyCalculatedTemperatureFvScalarFieldSource (const DimensionedField< scalar, volMesh > &, const dictionary &dict) | |
Construct from internal field and dictionary. More... | |
energyCalculatedTemperatureFvScalarFieldSource (const energyCalculatedTemperatureFvScalarFieldSource &, const DimensionedField< scalar, volMesh > &) | |
Copy constructor setting internal field reference. More... | |
virtual | ~energyCalculatedTemperatureFvScalarFieldSource () |
Destructor. More... | |
virtual tmp< scalarField > | sourceValue (const fvSource &) const |
Return the source value. Not implemented. More... | |
This source condition is applied to the temperature field, but provides a uniform fixed energy into the energy equation.
Property | Description | Required | Default value |
---|---|---|---|
uniformHe | uniform energy value | yes |
Example of the boundary condition specification:
<patchName> { type uniformFixedEnergyTemperature; uniformHe 3700000; }
Definition at line 75 of file uniformFixedEnergyTemperatureFvScalarFieldSource.H.
uniformFixedEnergyTemperatureFvScalarFieldSource | ( | const DimensionedField< scalar, volMesh > & | iF, |
const dictionary & | dict | ||
) |
Construct from internal field and dictionary.
Definition at line 34 of file uniformFixedEnergyTemperatureFvScalarFieldSource.C.
Referenced by uniformFixedEnergyTemperatureFvScalarFieldSource::clone().
uniformFixedEnergyTemperatureFvScalarFieldSource | ( | const uniformFixedEnergyTemperatureFvScalarFieldSource & | field, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 55 of file uniformFixedEnergyTemperatureFvScalarFieldSource.C.
|
virtual |
Destructor.
Definition at line 69 of file uniformFixedEnergyTemperatureFvScalarFieldSource.C.
TypeName | ( | "uniformFixedEnergyTemperature" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 110 of file uniformFixedEnergyTemperatureFvScalarFieldSource.H.
References uniformFixedEnergyTemperatureFvScalarFieldSource::uniformFixedEnergyTemperatureFvScalarFieldSource().
|
virtual |
Return the source energy value.
Implements energyCalculatedTemperatureFvScalarFieldSource.
Definition at line 77 of file uniformFixedEnergyTemperatureFvScalarFieldSource.C.
References fvSource::nCells().
|
virtual |
Return the internal coefficient.
Definition at line 88 of file uniformFixedEnergyTemperatureFvScalarFieldSource.C.
References fvSource::nCells().
|
virtual |
Write.
Definition at line 97 of file uniformFixedEnergyTemperatureFvScalarFieldSource.C.
References Foam::dimEnergy, Foam::dimMass, Foam::vtkWriteOps::write(), and Foam::writeEntry().