energyJumpFvPatchScalarField Class Reference

This boundary condition provides an energy jump condition, using the cyclic condition as a base. The jump is calculated from the corresponding temperature jump. This condition is not applied directly by the user, but is constructed automatically by the thermodynamic model when the corresponding temperature boundary condition is a jump cyclic. More...

Inheritance diagram for energyJumpFvPatchScalarField:
Collaboration diagram for energyJumpFvPatchScalarField:

Public Member Functions

 TypeName ("energyJump")
 Runtime type information. More...
 
 energyJumpFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 energyJumpFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 energyJumpFvPatchScalarField (const energyJumpFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fieldMapper &)
 Construct by mapping given energyJumpFvPatchScalarField onto a. More...
 
 energyJumpFvPatchScalarField (const energyJumpFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 energyJumpFvPatchScalarField (const energyJumpFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchField< scalar > > clone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual tmp< scalarFieldjump () const
 Return the "jump". More...
 
virtual void map (const fvPatchScalarField &, const fieldMapper &)
 Map the given fvPatchField onto this fvPatchField. More...
 
virtual void reset (const fvPatchScalarField &)
 Reset the fvPatchField to the given fvPatchField. More...
 
virtual void updateCoeffs ()
 Update the coefficients. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

This boundary condition provides an energy jump condition, using the cyclic condition as a base. The jump is calculated from the corresponding temperature jump. This condition is not applied directly by the user, but is constructed automatically by the thermodynamic model when the corresponding temperature boundary condition is a jump cyclic.

See also
Foam::jumpCyclicFvPatchField
Source files

Definition at line 55 of file energyJumpFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ energyJumpFvPatchScalarField() [1/5]

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

Construct from patch and internal field.

Definition at line 32 of file energyJumpFvPatchScalarField.C.

Referenced by energyJumpFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ energyJumpFvPatchScalarField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 45 of file energyJumpFvPatchScalarField.C.

◆ energyJumpFvPatchScalarField() [3/5]

energyJumpFvPatchScalarField ( const energyJumpFvPatchScalarField ptf,
const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const fieldMapper mapper 
)

Construct by mapping given energyJumpFvPatchScalarField onto a.

new patch

Definition at line 59 of file energyJumpFvPatchScalarField.C.

◆ energyJumpFvPatchScalarField() [4/5]

Disallow copy without setting internal field reference.

◆ energyJumpFvPatchScalarField() [5/5]

Copy constructor setting internal field reference.

Definition at line 72 of file energyJumpFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "energyJump"  )

Runtime type information.

◆ clone()

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

Construct and return a clone setting internal field reference.

Definition at line 112 of file energyJumpFvPatchScalarField.H.

References energyJumpFvPatchScalarField::energyJumpFvPatchScalarField().

Here is the call graph for this function:

◆ jump()

Foam::tmp< Foam::scalarField > jump ( ) const
virtual

Return the "jump".

Definition at line 85 of file energyJumpFvPatchScalarField.C.

◆ map()

void map ( const fvPatchScalarField ptf,
const fieldMapper mapper 
)
virtual

Map the given fvPatchField onto this fvPatchField.

Definition at line 91 of file energyJumpFvPatchScalarField.C.

◆ reset()

void reset ( const fvPatchScalarField ptf)
virtual

Reset the fvPatchField to the given fvPatchField.

Used for mesh to mesh mapping

Definition at line 106 of file energyJumpFvPatchScalarField.C.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients.

Definition at line 120 of file energyJumpFvPatchScalarField.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), basicThermo::he(), basicThermo::lookupThermo(), basicThermo::T(), and thermo.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 148 of file energyJumpFvPatchScalarField.C.

References fvPatchField< Type >::write(), and Foam::writeEntry().

Here is the call graph for this function:

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