gradientEnergyFvPatchScalarField Class Reference

This boundary condition provides a gradient condition for energy. This is selected when the corresponding temperature condition is zeroGradient, fixedGradient or gradientEnergyCalculatedTemperature. More...

Inheritance diagram for gradientEnergyFvPatchScalarField:
Collaboration diagram for gradientEnergyFvPatchScalarField:

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< fvPatchScalarFieldclone (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...
 

Detailed Description

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.

See also
Foam::zeroGradientFvPatchScalarField Foam::fixedGradientFvPatchScalarField Foam::gradientEnergyCalculatedTemperatureFvPatchScalarField
Source files

Definition at line 63 of file gradientEnergyFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ gradientEnergyFvPatchScalarField() [1/5]

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().

Here is the caller graph for this function:

◆ gradientEnergyFvPatchScalarField() [2/5]

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() [3/5]

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.

◆ gradientEnergyFvPatchScalarField() [4/5]

Disallow copy without setting internal field reference.

◆ gradientEnergyFvPatchScalarField() [5/5]

Copy constructor setting internal field reference.

Definition at line 72 of file gradientEnergyFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "gradientEnergy"  )

Runtime type information.

◆ clone()

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 115 of file gradientEnergyFvPatchScalarField.H.

References gradientEnergyFvPatchScalarField::gradientEnergyFvPatchScalarField().

Here is the call graph for this function:

◆ updateCoeffs()

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 137 of file gradientEnergyFvPatchScalarField.C.

References Foam::vtkWriteOps::write(), and Foam::writeEntry().

Here is the call graph for this function:

The documentation for this class was generated from the following files: