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 > &)
 Construct from patch and internal field. 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 autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object. More...
 
virtual void rmap (const fvPatchScalarField &, const labelList &)
 Reverse 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 thermo: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/5]

Construct from patch and internal field.

Definition at line 34 of file transonicEntrainmentPressureFvPatchScalarField.C.

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

Here is the caller graph for this function:

◆ transonicEntrainmentPressureFvPatchScalarField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 51 of file transonicEntrainmentPressureFvPatchScalarField.C.

References dictionary::found(), scalarField(), fvPatch::size(), transonicEntrainmentPressureFvPatchScalarField::transonicEntrainmentPressureFvPatchScalarField(), and Foam::Zero.

Here is the call graph for this function:

◆ transonicEntrainmentPressureFvPatchScalarField() [3/5]

◆ transonicEntrainmentPressureFvPatchScalarField() [4/5]

Disallow copy without setting internal field reference.

◆ transonicEntrainmentPressureFvPatchScalarField() [5/5]

Copy constructor setting internal field reference.

Definition at line 104 of file transonicEntrainmentPressureFvPatchScalarField.C.

References transonicEntrainmentPressureFvPatchScalarField::autoMap().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "transonicEntrainmentPressure"  )

Runtime type information.

◆ clone()

◆ autoMap()

void autoMap ( const fvPatchFieldMapper m)
virtual

Map (and resize as needed) from self given a mapping object.

Used to update fields following mesh topology change

Definition at line 122 of file transonicEntrainmentPressureFvPatchScalarField.C.

References transonicEntrainmentPressureFvPatchScalarField::rmap().

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

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

◆ rmap()

void rmap ( const fvPatchScalarField psf,
const labelList addr 
)
virtual

◆ reset()

void reset ( const fvPatchScalarField psf)
virtual

Reset the fvPatchField to the given fvPatchField.

Used for mesh to mesh mapping

Definition at line 147 of file transonicEntrainmentPressureFvPatchScalarField.C.

References transonicEntrainmentPressureFvPatchScalarField::reset().

Referenced by transonicEntrainmentPressureFvPatchScalarField::clone(), transonicEntrainmentPressureFvPatchScalarField::reset(), and transonicEntrainmentPressureFvPatchScalarField::rmap().

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

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 207 of file transonicEntrainmentPressureFvPatchScalarField.C.

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

Referenced by transonicEntrainmentPressureFvPatchScalarField::clone(), and transonicEntrainmentPressureFvPatchScalarField::updateCoeffs().

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: