This boundary condition provides a mixed condition for energy. This is selected when the corresponding temperature condition is mixed, or mixedEnergyCalculatedTemperature. More...
Public Member Functions | |
TypeName ("mixedEnergy") | |
Runtime type information. More... | |
mixedEnergyFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
mixedEnergyFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
mixedEnergyFvPatchScalarField (const mixedEnergyFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given mixedEnergyFvPatchScalarField. More... | |
mixedEnergyFvPatchScalarField (const mixedEnergyFvPatchScalarField &)=delete | |
Disallow copy without setting internal field reference. More... | |
mixedEnergyFvPatchScalarField (const mixedEnergyFvPatchScalarField &, 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 bool | fixesValue () const |
Allow manipulation of the boundary values. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
This boundary condition provides a mixed condition for energy. This is selected when the corresponding temperature condition is mixed, or mixedEnergyCalculatedTemperature.
If the temperature condition is mixed, the parameters of the energy condition are obtained from a linearisation of the corresponding parameters of the temperature condition.
If the temperature condition is mixedEnergyCalculatedTemperature, then the temperature condition explicitly provides energy refValue/refGrad/valueFraction fields, so no linearisation is needed.
Definition at line 62 of file mixedEnergyFvPatchScalarField.H.
mixedEnergyFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 37 of file mixedEnergyFvPatchScalarField.C.
Referenced by mixedEnergyFvPatchScalarField::clone(), and mixedEnergyFvPatchScalarField::mixedEnergyFvPatchScalarField().
mixedEnergyFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 52 of file mixedEnergyFvPatchScalarField.C.
References mixedEnergyFvPatchScalarField::mixedEnergyFvPatchScalarField().
mixedEnergyFvPatchScalarField | ( | const mixedEnergyFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given mixedEnergyFvPatchScalarField.
onto a new patch
Definition at line 64 of file mixedEnergyFvPatchScalarField.C.
References mixedEnergyFvPatchScalarField::mixedEnergyFvPatchScalarField().
|
delete |
Disallow copy without setting internal field reference.
mixedEnergyFvPatchScalarField | ( | const mixedEnergyFvPatchScalarField & | tppsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 77 of file mixedEnergyFvPatchScalarField.C.
TypeName | ( | "mixedEnergy" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 115 of file mixedEnergyFvPatchScalarField.H.
References mixedEnergyFvPatchScalarField::mixedEnergyFvPatchScalarField().
|
inlinevirtual |
Allow manipulation of the boundary values.
Definition at line 131 of file mixedEnergyFvPatchScalarField.H.
References mixedEnergyFvPatchScalarField::updateCoeffs().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 88 of file mixedEnergyFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), basicThermo::Cpv(), fvPatchField< Type >::evaluate(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, basicThermo::he(), mixedEnergyCalculatedTemperatureFvPatchScalarField::heRefGrad(), mixedEnergyCalculatedTemperatureFvPatchScalarField::heRefValue(), mixedEnergyCalculatedTemperatureFvPatchScalarField::heValueFraction(), basicThermo::lookupThermo(), Foam::makePatchTypeField(), patchi, basicThermo::T(), and thermo.
Referenced by mixedEnergyFvPatchScalarField::fixesValue().