Loading...
Searching...
No Matches
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...

#include <fixedFluxExtrapolatedPressureFvPatchScalarField.H>

Inheritance diagram for fixedFluxExtrapolatedPressureFvPatchScalarField:
Collaboration diagram for fixedFluxExtrapolatedPressureFvPatchScalarField:

Public Member Functions

 TypeName ("fixedFluxExtrapolatedPressure")
 Runtime type information.
 fixedFluxExtrapolatedPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 fixedFluxExtrapolatedPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 fixedFluxExtrapolatedPressureFvPatchScalarField (const fixedFluxExtrapolatedPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 fixedFluxExtrapolatedPressureFvPatchScalarField (const fixedFluxExtrapolatedPressureFvPatchScalarField &)
 Construct as copy.
 fixedFluxExtrapolatedPressureFvPatchScalarField (const fixedFluxExtrapolatedPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< scalar > > clone () const
 Return a clone.
virtual tmp< fvPatchField< scalar > > clone (const DimensionedField< scalar, volMesh > &iF) const
 Clone with an internal field reference.
Public Member Functions inherited from fixedFluxPressureFvPatchScalarField
 TypeName ("fixedFluxPressure")
 Runtime type information.
 fixedFluxPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 fixedFluxPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 fixedFluxPressureFvPatchScalarField (const fixedFluxPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given fixedFluxPressureFvPatchScalarField onto.
 fixedFluxPressureFvPatchScalarField (const fixedFluxPressureFvPatchScalarField &)
 Construct as copy.
 fixedFluxPressureFvPatchScalarField (const fixedFluxPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual void updateSnGrad (const scalarField &snGradp)
 Update the patch pressure gradient field from the given snGradp.
virtual void updateCoeffs ()
 Update the patch pressure gradient field.
virtual void write (Ostream &) const
 Write.
Public Member Functions inherited from updateableSnGrad
 updateableSnGrad ()=default
 Constructor.
virtual ~updateableSnGrad ()=default
 Destructor.

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 62 of file fixedFluxExtrapolatedPressureFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ fixedFluxExtrapolatedPressureFvPatchScalarField() [1/5]

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

Construct from patch and internal field.

Definition at line 26 of file fixedFluxExtrapolatedPressureFvPatchScalarField.C.

References fixedFluxPressureFvPatchScalarField::fixedFluxPressureFvPatchScalarField(), and p.

Referenced by fixedFluxExtrapolatedPressureFvPatchScalarField(), fixedFluxExtrapolatedPressureFvPatchScalarField(), fixedFluxExtrapolatedPressureFvPatchScalarField(), and TypeName().

Here is the call graph for this function:
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 37 of file fixedFluxExtrapolatedPressureFvPatchScalarField.C.

References dict, fixedFluxPressureFvPatchScalarField::fixedFluxPressureFvPatchScalarField(), and p.

Here is the call graph for this function:

◆ fixedFluxExtrapolatedPressureFvPatchScalarField() [3/5]

fixedFluxExtrapolatedPressureFvPatchScalarField ( const fixedFluxExtrapolatedPressureFvPatchScalarField & ptf,
const fvPatch & p,
const DimensionedField< scalar, volMesh > & iF,
const fvPatchFieldMapper & mapper )

◆ fixedFluxExtrapolatedPressureFvPatchScalarField() [4/5]

fixedFluxExtrapolatedPressureFvPatchScalarField ( const fixedFluxExtrapolatedPressureFvPatchScalarField & wbppsf)

◆ fixedFluxExtrapolatedPressureFvPatchScalarField() [5/5]

fixedFluxExtrapolatedPressureFvPatchScalarField ( const fixedFluxExtrapolatedPressureFvPatchScalarField & wbppsf,
const DimensionedField< scalar, volMesh > & iF )

Construct as copy setting internal field reference.

Definition at line 72 of file fixedFluxExtrapolatedPressureFvPatchScalarField.C.

References fixedFluxExtrapolatedPressureFvPatchScalarField(), and fixedFluxPressureFvPatchScalarField::fixedFluxPressureFvPatchScalarField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "fixedFluxExtrapolatedPressure" )

Runtime type information.

References fixedFluxExtrapolatedPressureFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [1/2]

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

Return a clone.

Reimplemented from fixedFluxPressureFvPatchScalarField.

Definition at line 129 of file fixedFluxExtrapolatedPressureFvPatchScalarField.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.

Reimplemented from fixedFluxPressureFvPatchScalarField.

Definition at line 137 of file fixedFluxExtrapolatedPressureFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

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