This boundary condition provides a gradient condition for energy. This is selected when the corresponding temperature condition is zeroGradient, fixedGradient or gradientEnergyCalculatedTemperature. More...
Public Member Functions | |
TypeName ("gradientEnergy") | |
Runtime type information. More... | |
gradientEnergyFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
gradientEnergyFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
gradientEnergyFvPatchScalarField (const gradientEnergyFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given gradientEnergyFvPatchScalarField. More... | |
gradientEnergyFvPatchScalarField (const gradientEnergyFvPatchScalarField &)=delete | |
Disallow copy without setting internal field reference. More... | |
gradientEnergyFvPatchScalarField (const gradientEnergyFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Copy constructor setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
This boundary condition provides a gradient condition for energy. This is selected when the corresponding temperature condition is zeroGradient, fixedGradient or gradientEnergyCalculatedTemperature.
If the temperature condition is fixedGradient or zeroGradient, the parameters of the energy condition are obtained from a linearisation of the corresponding parameters of the temperature condition.
If the temperature condition is gradientEnergyCalculatedTemperature, then the temperature condition explicitly provides an energy gradient field, so no linearisation is needed.
Definition at line 63 of file gradientEnergyFvPatchScalarField.H.
gradientEnergyFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 36 of file gradientEnergyFvPatchScalarField.C.
Referenced by gradientEnergyFvPatchScalarField::clone().
gradientEnergyFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 47 of file gradientEnergyFvPatchScalarField.C.
gradientEnergyFvPatchScalarField | ( | const gradientEnergyFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given gradientEnergyFvPatchScalarField.
onto a new patch
Definition at line 59 of file gradientEnergyFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
gradientEnergyFvPatchScalarField | ( | const gradientEnergyFvPatchScalarField & | tppsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 72 of file gradientEnergyFvPatchScalarField.C.
TypeName | ( | "gradientEnergy" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 115 of file gradientEnergyFvPatchScalarField.H.
References gradientEnergyFvPatchScalarField::gradientEnergyFvPatchScalarField().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 85 of file gradientEnergyFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), basicThermo::Cpv(), fvPatchField< Type >::evaluate(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, basicThermo::he(), gradientEnergyCalculatedTemperatureFvPatchScalarField::heGradient(), basicThermo::lookupThermo(), patchi, fvPatchField< Type >::snGrad(), basicThermo::T(), and thermo.
|
virtual |
Write.
Definition at line 137 of file gradientEnergyFvPatchScalarField.C.
References Foam::vtkWriteOps::write(), and Foam::writeEntry().