Public Member Functions | List of all members
fixedFluxExtrapolatedPressureFvPatchScalarField Class Reference

This boundary condition sets the pressure gradient to the provided value such that the flux on the boundary is that specified by the velocity boundary condition. More...

Inheritance diagram for fixedFluxExtrapolatedPressureFvPatchScalarField:
Inheritance graph
[legend]
Collaboration diagram for fixedFluxExtrapolatedPressureFvPatchScalarField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("fixedFluxExtrapolatedPressure")
 Runtime type information. More...
 
 fixedFluxExtrapolatedPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 fixedFluxExtrapolatedPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 fixedFluxExtrapolatedPressureFvPatchScalarField (const fixedFluxExtrapolatedPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 fixedFluxExtrapolatedPressureFvPatchScalarField (const fixedFluxExtrapolatedPressureFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 fixedFluxExtrapolatedPressureFvPatchScalarField (const fixedFluxExtrapolatedPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
- Public Member Functions inherited from fixedFluxPressureFvPatchScalarField
 TypeName ("fixedFluxPressure")
 Runtime type information. More...
 
 fixedFluxPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 fixedFluxPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 fixedFluxPressureFvPatchScalarField (const fixedFluxPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given fixedFluxPressureFvPatchScalarField onto. More...
 
 fixedFluxPressureFvPatchScalarField (const fixedFluxPressureFvPatchScalarField &)
 Construct as copy. More...
 
 fixedFluxPressureFvPatchScalarField (const fixedFluxPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual void updateCoeffs (const scalarField &snGradp)
 Update the patch pressure gradient field from the given snGradp. More...
 
virtual void updateCoeffs ()
 Update the patch pressure gradient field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

This boundary condition sets the pressure gradient to the provided value such that the flux on the boundary is that specified by the velocity boundary condition.

Example of the boundary condition specification:

<patchName>
{
    type            fixedFluxExtrapolatedPressure;
}
See also
Foam::fixedGradientFvPatchField
Source files

Definition at line 61 of file fixedFluxExtrapolatedPressureFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ fixedFluxExtrapolatedPressureFvPatchScalarField() [1/5]

Construct from patch and internal field.

Definition at line 33 of file fixedFluxExtrapolatedPressureFvPatchScalarField.C.

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

Here is the caller graph for this function:

◆ fixedFluxExtrapolatedPressureFvPatchScalarField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 44 of file fixedFluxExtrapolatedPressureFvPatchScalarField.C.

References fixedFluxExtrapolatedPressureFvPatchScalarField::fixedFluxExtrapolatedPressureFvPatchScalarField().

Here is the call graph for this function:

◆ fixedFluxExtrapolatedPressureFvPatchScalarField() [3/5]

Construct by mapping given.

fixedFluxExtrapolatedPressureFvPatchScalarField onto a new patch

Definition at line 56 of file fixedFluxExtrapolatedPressureFvPatchScalarField.C.

References fixedFluxExtrapolatedPressureFvPatchScalarField::fixedFluxExtrapolatedPressureFvPatchScalarField().

Here is the call graph for this function:

◆ fixedFluxExtrapolatedPressureFvPatchScalarField() [4/5]

Construct as copy.

Definition at line 69 of file fixedFluxExtrapolatedPressureFvPatchScalarField.C.

References fixedFluxExtrapolatedPressureFvPatchScalarField::fixedFluxExtrapolatedPressureFvPatchScalarField().

Here is the call graph for this function:

◆ fixedFluxExtrapolatedPressureFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 79 of file fixedFluxExtrapolatedPressureFvPatchScalarField.C.

References Foam::makePatchTypeField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "fixedFluxExtrapolatedPressure"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Reimplemented from fixedFluxPressureFvPatchScalarField.

Definition at line 106 of file fixedFluxExtrapolatedPressureFvPatchScalarField.H.

References fixedFluxExtrapolatedPressureFvPatchScalarField::fixedFluxExtrapolatedPressureFvPatchScalarField().

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.

Reimplemented from fixedFluxPressureFvPatchScalarField.

Definition at line 123 of file fixedFluxExtrapolatedPressureFvPatchScalarField.H.

References fixedFluxExtrapolatedPressureFvPatchScalarField::fixedFluxExtrapolatedPressureFvPatchScalarField().

Here is the call graph for this function:

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