fixedEnergyFvPatchScalarField Class Reference

This boundary condition provides a fixed condition for internal energy. More...

Inheritance diagram for fixedEnergyFvPatchScalarField:
Collaboration diagram for fixedEnergyFvPatchScalarField:

Public Member Functions

 TypeName ("fixedEnergy")
 Runtime type information. More...
 
 fixedEnergyFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 fixedEnergyFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 fixedEnergyFvPatchScalarField (const fixedEnergyFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given fixedEnergyFvPatchScalarField. More...
 
 fixedEnergyFvPatchScalarField (const fixedEnergyFvPatchScalarField &)
 Copy constructor. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 fixedEnergyFvPatchScalarField (const fixedEnergyFvPatchScalarField &, 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...
 

Detailed Description

This boundary condition provides a fixed condition for internal energy.

Usage
Example of the boundary condition specification:
<patchName>
{
    type            fixedEnergy;
    value           uniform 100;
}
See also
Foam::fixedValueFvPatchField
Source files

Definition at line 61 of file fixedEnergyFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ fixedEnergyFvPatchScalarField() [1/5]

fixedEnergyFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF 
)

Construct from patch and internal field.

Definition at line 36 of file fixedEnergyFvPatchScalarField.C.

Referenced by fixedEnergyFvPatchScalarField::clone(), and fixedEnergyFvPatchScalarField::fixedEnergyFvPatchScalarField().

Here is the caller graph for this function:

◆ fixedEnergyFvPatchScalarField() [2/5]

fixedEnergyFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 60 of file fixedEnergyFvPatchScalarField.C.

References fixedEnergyFvPatchScalarField::fixedEnergyFvPatchScalarField().

Here is the call graph for this function:

◆ fixedEnergyFvPatchScalarField() [3/5]

fixedEnergyFvPatchScalarField ( const fixedEnergyFvPatchScalarField ptf,
const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const fvPatchFieldMapper mapper 
)

Construct by mapping given fixedEnergyFvPatchScalarField.

onto a new patch

Definition at line 47 of file fixedEnergyFvPatchScalarField.C.

References fixedEnergyFvPatchScalarField::fixedEnergyFvPatchScalarField().

Here is the call graph for this function:

◆ fixedEnergyFvPatchScalarField() [4/5]

Copy constructor.

Definition at line 72 of file fixedEnergyFvPatchScalarField.C.

References fixedEnergyFvPatchScalarField::fixedEnergyFvPatchScalarField().

Here is the call graph for this function:

◆ fixedEnergyFvPatchScalarField() [5/5]

Copy constructor setting internal field reference.

Definition at line 82 of file fixedEnergyFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "fixedEnergy"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 106 of file fixedEnergyFvPatchScalarField.H.

References fixedEnergyFvPatchScalarField::fixedEnergyFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [2/2]

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

Construct and return a clone setting internal field reference.

Definition at line 123 of file fixedEnergyFvPatchScalarField.H.

References fixedEnergyFvPatchScalarField::fixedEnergyFvPatchScalarField(), and fixedEnergyFvPatchScalarField::updateCoeffs().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 93 of file fixedEnergyFvPatchScalarField.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvPatchField< Type >::evaluate(), basicThermo::he(), basicThermo::lookupThermo(), Foam::makePatchTypeField(), Foam::operator==(), basicThermo::p(), patchi, basicThermo::T(), and thermo.

Referenced by fixedEnergyFvPatchScalarField::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

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