transonicEntrainmentPressureFvPatchScalarField Class Reference

This boundary condition provides an entrainment condition for pressure including support for supersonic jets exiting the domain. More...

Inheritance diagram for transonicEntrainmentPressureFvPatchScalarField:
Collaboration diagram for transonicEntrainmentPressureFvPatchScalarField:

Public Member Functions

 TypeName ("transonicEntrainmentPressure")
 Runtime type information. More...
 
 transonicEntrainmentPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 transonicEntrainmentPressureFvPatchScalarField (const transonicEntrainmentPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 transonicEntrainmentPressureFvPatchScalarField (const transonicEntrainmentPressureFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 transonicEntrainmentPressureFvPatchScalarField (const transonicEntrainmentPressureFvPatchScalarField &, 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 map (const fvPatchScalarField &, const fvPatchFieldMapper &)
 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 associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

This boundary condition provides an entrainment condition for pressure including support for supersonic jets exiting the domain.

Usage
Property Description Required Default value
rho Density field name no rho
psi Compressibility field name no psi
gamma Heat capacity ratio (cp/Cv) yes
Mb Blending Mach No no 0.5
phi Flux field name no phi
p0 Reference pressure yes

Example of the boundary condition specification:

    <patchName>
    {
        type            transonicEntrainmentPressure;
        gamma           1.4;
        p0              uniform 1e5;
    }
See also
Foam::entrainmentPressureFvPatchScalarField Foam::mixedFvPatchField
Source files

Definition at line 110 of file transonicEntrainmentPressureFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ transonicEntrainmentPressureFvPatchScalarField() [1/4]

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

Construct from patch, internal field and dictionary.

Definition at line 32 of file transonicEntrainmentPressureFvPatchScalarField.C.

References dict, fvPatchField< Type >::operator, fvPatchField< Type >::operator=(), p, and Foam::Zero.

Referenced by transonicEntrainmentPressureFvPatchScalarField::clone().

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

◆ transonicEntrainmentPressureFvPatchScalarField() [2/4]

Construct by mapping given.

transonicEntrainmentPressureFvPatchScalarField onto a new patch

Definition at line 66 of file transonicEntrainmentPressureFvPatchScalarField.C.

◆ transonicEntrainmentPressureFvPatchScalarField() [3/4]

Disallow copy without setting internal field reference.

◆ transonicEntrainmentPressureFvPatchScalarField() [4/4]

Copy constructor setting internal field reference.

Definition at line 85 of file transonicEntrainmentPressureFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "transonicEntrainmentPressure"  )

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 175 of file transonicEntrainmentPressureFvPatchScalarField.H.

References transonicEntrainmentPressureFvPatchScalarField::transonicEntrainmentPressureFvPatchScalarField().

Here is the call graph for this function:

◆ map()

void map ( const fvPatchScalarField psf,
const fvPatchFieldMapper mapper 
)
virtual

Map the given fvPatchField onto this fvPatchField.

Definition at line 104 of file transonicEntrainmentPressureFvPatchScalarField.C.

◆ reset()

void reset ( const fvPatchScalarField psf)
virtual

Reset the fvPatchField to the given fvPatchField.

Used for mesh to mesh mapping

Definition at line 119 of file transonicEntrainmentPressureFvPatchScalarField.C.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 179 of file transonicEntrainmentPressureFvPatchScalarField.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: