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 <fixedFluxPressureFvPatchScalarField.H>


Public Member Functions | |
| 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 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. | |
| 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. | |
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 fixedFluxPressure;
}
Definition at line 65 of file fixedFluxPressureFvPatchScalarField.H.
| fixedFluxPressureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 30 of file fixedFluxPressureFvPatchScalarField.C.
References p.
Referenced by fixedFluxExtrapolatedPressureFvPatchScalarField::fixedFluxExtrapolatedPressureFvPatchScalarField(), fixedFluxExtrapolatedPressureFvPatchScalarField::fixedFluxExtrapolatedPressureFvPatchScalarField(), fixedFluxExtrapolatedPressureFvPatchScalarField::fixedFluxExtrapolatedPressureFvPatchScalarField(), fixedFluxExtrapolatedPressureFvPatchScalarField::fixedFluxExtrapolatedPressureFvPatchScalarField(), fixedFluxExtrapolatedPressureFvPatchScalarField::fixedFluxExtrapolatedPressureFvPatchScalarField(), fixedFluxPressureFvPatchScalarField(), fixedFluxPressureFvPatchScalarField(), fixedFluxPressureFvPatchScalarField(), and TypeName().

| fixedFluxPressureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 41 of file fixedFluxPressureFvPatchScalarField.C.
References dict, p, fvPatchFieldBase::readDict(), and Foam::Zero.

| fixedFluxPressureFvPatchScalarField | ( | const fixedFluxPressureFvPatchScalarField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper ) |
Construct by mapping given fixedFluxPressureFvPatchScalarField onto.
a new patch
Definition at line 61 of file fixedFluxPressureFvPatchScalarField.C.
References fixedFluxPressureFvPatchScalarField(), Foam::notNull(), p, UList< T >::size(), and Foam::Zero.

| fixedFluxPressureFvPatchScalarField | ( | const fixedFluxPressureFvPatchScalarField & | wbppsf | ) |
Construct as copy.
Definition at line 103 of file fixedFluxPressureFvPatchScalarField.C.
References fixedFluxPressureFvPatchScalarField().

| fixedFluxPressureFvPatchScalarField | ( | const fixedFluxPressureFvPatchScalarField & | wbppsf, |
| const DimensionedField< scalar, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 113 of file fixedFluxPressureFvPatchScalarField.C.
References fixedFluxPressureFvPatchScalarField().

| TypeName | ( | "fixedFluxPressure" | ) |
Runtime type information.
References fixedFluxPressureFvPatchScalarField().

|
inlinevirtual |
Return a clone.
Reimplemented in fixedFluxExtrapolatedPressureFvPatchScalarField.
Definition at line 140 of file fixedFluxPressureFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

|
inlinevirtual |
Clone with an internal field reference.
Reimplemented in fixedFluxExtrapolatedPressureFvPatchScalarField.
Definition at line 148 of file fixedFluxPressureFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

|
virtual |
Update the patch pressure gradient field from the given snGradp.
Implements updateableSnGrad.
Definition at line 126 of file fixedFluxPressureFvPatchScalarField.C.
|
virtual |
Update the patch pressure gradient field.
Definition at line 143 of file fixedFluxPressureFvPatchScalarField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and timeIndex.

|
virtual |
Write.
Definition at line 160 of file fixedFluxPressureFvPatchScalarField.C.
References os(), fixedGradientFvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().
