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 &)
 Construct as copy. More...
 
 fixedEnergyFvPatchScalarField (const fixedEnergyFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchField< scalar > > clone () const
 Return a clone. More...
 
virtual tmp< fvPatchField< scalar > > clone (const DimensionedField< scalar, volMesh > &iF) const
 Clone with an 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 62 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 31 of file fixedEnergyFvPatchScalarField.C.

◆ 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 55 of file fixedEnergyFvPatchScalarField.C.

◆ 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 42 of file fixedEnergyFvPatchScalarField.C.

◆ fixedEnergyFvPatchScalarField() [4/5]

Construct as copy.

Definition at line 67 of file fixedEnergyFvPatchScalarField.C.

◆ fixedEnergyFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 77 of file fixedEnergyFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "fixedEnergy"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchField<scalar> > clone ( ) const
inlinevirtual

Return a clone.

Definition at line 129 of file fixedEnergyFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ clone() [2/2]

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

Clone with an internal field reference.

Definition at line 138 of file fixedEnergyFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 88 of file fixedEnergyFvPatchScalarField.C.

References fvPatchField< Type >::evaluate(), basicThermo::lookupThermo(), Foam::operator==(), and Foam::foamVersion::patch.

Here is the call graph for this function:

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