This source condition is applied to the temperature field, but provides a uniform fixed energy into the energy equation when the source is positive, and the internal value when it is negative (i.e., a sink) More...
Public Member Functions | |
TypeName ("uniformInletOutletEnergyTemperature") | |
Runtime type information. More... | |
uniformInletOutletEnergyTemperatureFvScalarFieldSource (const DimensionedField< scalar, volMesh > &, const dictionary &dict) | |
Construct from internal field and dictionary. More... | |
uniformInletOutletEnergyTemperatureFvScalarFieldSource (const uniformInletOutletEnergyTemperatureFvScalarFieldSource &, 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 | ~uniformInletOutletEnergyTemperatureFvScalarFieldSource () |
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 when the source is positive, and the internal value when it is negative (i.e., a sink)
Property | Description | Required | Default value |
---|---|---|---|
uniformInletHe | uniform inlet energy value | yes |
Example of the boundary condition specification:
<patchName> { type uniformInletOutletEnergyTemperature; uniformInletHe 3700000; }
Definition at line 77 of file uniformInletOutletEnergyTemperatureFvScalarFieldSource.H.
uniformInletOutletEnergyTemperatureFvScalarFieldSource | ( | const DimensionedField< scalar, volMesh > & | iF, |
const dictionary & | dict | ||
) |
Construct from internal field and dictionary.
Definition at line 34 of file uniformInletOutletEnergyTemperatureFvScalarFieldSource.C.
uniformInletOutletEnergyTemperatureFvScalarFieldSource | ( | const uniformInletOutletEnergyTemperatureFvScalarFieldSource & | field, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 55 of file uniformInletOutletEnergyTemperatureFvScalarFieldSource.C.
Destructor.
Definition at line 69 of file uniformInletOutletEnergyTemperatureFvScalarFieldSource.C.
TypeName | ( | "uniformInletOutletEnergyTemperature" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 112 of file uniformInletOutletEnergyTemperatureFvScalarFieldSource.H.
|
virtual |
Return the source energy value.
Implements energyCalculatedTemperatureFvScalarFieldSource.
Definition at line 77 of file uniformInletOutletEnergyTemperatureFvScalarFieldSource.C.
References fvSource::nCells().
|
virtual |
Return the internal coefficient.
Definition at line 88 of file uniformInletOutletEnergyTemperatureFvScalarFieldSource.C.
References Foam::name(), fvSource::nCells(), Foam::neg0(), and fvSource::source().
|
virtual |
Write.
Definition at line 99 of file uniformInletOutletEnergyTemperatureFvScalarFieldSource.C.
References Foam::dimEnergy, Foam::dimMass, Foam::vtkWriteOps::write(), and Foam::writeEntry().