Variant of inletOutlet boundary condition with uniform inletValue. More...
Public Member Functions | |
TypeName ("uniformInletOutlet") | |
uniformInletOutletFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &) | |
uniformInletOutletFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &) | |
uniformInletOutletFvPatchField (const uniformInletOutletFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &) | |
uniformInletOutletFvPatchField (const uniformInletOutletFvPatchField< Type > &) | |
virtual tmp< fvPatchField< Type > > | clone () const |
uniformInletOutletFvPatchField (const uniformInletOutletFvPatchField< Type > &, const DimensionedField< Type, volMesh > &) | |
virtual tmp< fvPatchField< Type > > | clone (const DimensionedField< Type, volMesh > &iF) const |
virtual bool | assignable () const |
virtual void | autoMap (const fvPatchFieldMapper &) |
virtual void | rmap (const fvPatchField< Type > &, const labelList &) |
virtual void | updateCoeffs () |
virtual void | write (Ostream &) const |
virtual void | operator= (const fvPatchField< Type > &pvf) |
![]() | |
TypeName ("mixed") | |
mixedFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &) | |
mixedFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &) | |
mixedFvPatchField (const mixedFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &) | |
mixedFvPatchField (const mixedFvPatchField< Type > &) | |
mixedFvPatchField (const mixedFvPatchField< Type > &, const DimensionedField< Type, volMesh > &) | |
virtual bool | fixesValue () const |
virtual Field< Type > & | refValue () |
virtual const Field< Type > & | refValue () const |
virtual Field< Type > & | refGrad () |
virtual const Field< Type > & | refGrad () const |
virtual scalarField & | valueFraction () |
virtual const scalarField & | valueFraction () const |
virtual Field< Type > & | source () |
virtual const Field< Type > & | source () const |
virtual tmp< Field< Type > > | snGrad () const |
virtual void | evaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::blocking) |
virtual tmp< Field< Type > > | valueInternalCoeffs (const tmp< scalarField > &) const |
virtual tmp< Field< Type > > | valueBoundaryCoeffs (const tmp< scalarField > &) const |
virtual tmp< Field< Type > > | gradientInternalCoeffs () const |
virtual tmp< Field< Type > > | gradientBoundaryCoeffs () const |
virtual void | operator= (const UList< Type > &) |
virtual void | operator+= (const fvPatchField< Type > &) |
virtual void | operator-= (const fvPatchField< Type > &) |
virtual void | operator*= (const fvPatchField< scalar > &) |
virtual void | operator/= (const fvPatchField< scalar > &) |
virtual void | operator+= (const Field< Type > &) |
virtual void | operator-= (const Field< Type > &) |
virtual void | operator*= (const Field< scalar > &) |
virtual void | operator/= (const Field< scalar > &) |
virtual void | operator= (const Type &) |
virtual void | operator+= (const Type &) |
virtual void | operator-= (const Type &) |
virtual void | operator*= (const scalar) |
virtual void | operator/= (const scalar) |
![]() | |
TypeName ("fvPatchField") | |
declareRunTimeSelectionTable (tmp, fvPatchField, patch,(const fvPatch &p, const DimensionedField< Type, volMesh > &iF),(p, iF)) | |
declareRunTimeSelectionTable (tmp, fvPatchField, patchMapper,(const fvPatchField< Type > &ptf, const fvPatch &p, const DimensionedField< Type, volMesh > &iF, const fvPatchFieldMapper &m),(dynamic_cast< const fvPatchFieldType & >(ptf), p, iF, m)) | |
declareRunTimeSelectionTable (tmp, fvPatchField, dictionary,(const fvPatch &p, const DimensionedField< Type, volMesh > &iF, const dictionary &dict),(p, iF, dict)) | |
fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &) | |
fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const Type &value) | |
fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const word &patchType) | |
fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const Field< Type > &) | |
fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &, const bool valueRequired=true) | |
fvPatchField (const fvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &) | |
fvPatchField (const fvPatchField< Type > &) | |
fvPatchField (const fvPatchField< Type > &, const DimensionedField< Type, volMesh > &) | |
virtual tmp< fvPatchField< Type > > | clone () const |
Foam::tmp< Foam::fvPatchField< Type > > | NewCalculatedType (const fvPatch &p) |
Foam::tmp< Foam::fvPatchField< Type > > | NewCalculatedType (const fvPatchField< Type2 > &pf) |
virtual | ~fvPatchField ()=default |
bool | useImplicit () const noexcept |
bool | useImplicit (bool on) noexcept |
virtual bool | fixesValue () const |
virtual bool | assignable () const |
virtual bool | coupled () const |
const objectRegistry & | db () const |
const fvPatch & | patch () const |
const DimensionedField< Type, volMesh > & | internalField () const |
const Field< Type > & | primitiveField () const |
const word & | patchType () const |
word & | patchType () |
bool | updated () const |
bool | manipulatedMatrix () const |
virtual tmp< Field< Type > > | snGrad () const |
virtual tmp< Field< Type > > | snGrad (const scalarField &deltaCoeffs) const |
virtual void | updateWeightedCoeffs (const scalarField &weights) |
virtual tmp< Field< Type > > | patchInternalField () const |
virtual void | patchInternalField (Field< Type > &) const |
virtual tmp< Field< Type > > | patchNeighbourField () const |
virtual void | initEvaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::blocking) |
virtual tmp< Field< Type > > | valueInternalCoeffs (const tmp< Field< scalar >> &) const |
virtual tmp< Field< Type > > | valueBoundaryCoeffs (const tmp< Field< scalar >> &) const |
virtual tmp< Field< Type > > | gradientInternalCoeffs () const |
virtual tmp< Field< Type > > | gradientInternalCoeffs (const scalarField &deltaCoeffs) const |
virtual tmp< Field< Type > > | gradientBoundaryCoeffs () const |
virtual tmp< Field< Type > > | gradientBoundaryCoeffs (const scalarField &deltaCoeffs) const |
virtual void | manipulateMatrix (fvMatrix< Type > &matrix) |
virtual void | manipulateMatrix (fvMatrix< Type > &matrix, const scalarField &weights) |
virtual void | manipulateMatrix (fvMatrix< Type > &matrix, const label iMatrix, const direction cmp) |
void | check (const fvPatchField< Type > &) const |
virtual void | operator== (const fvPatchField< Type > &) |
virtual void | operator== (const Field< Type > &) |
virtual void | operator== (const Type &) |
Protected Attributes | |
word | phiName_ |
autoPtr< Function1< Type > > | uniformInletValue_ |
Additional Inherited Members | |
![]() | |
typedef fvPatch | Patch |
typedef calculatedFvPatchField< Type > | Calculated |
![]() | |
static tmp< fvPatchField< Type > > | New (const word &, const fvPatch &, const DimensionedField< Type, volMesh > &) |
static tmp< fvPatchField< Type > > | New (const word &, const word &actualPatchType, const fvPatch &, const DimensionedField< Type, volMesh > &) |
static tmp< fvPatchField< Type > > | New (const fvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &) |
static tmp< fvPatchField< Type > > | New (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &) |
static tmp< fvPatchField< Type > > | NewCalculatedType (const fvPatch &) |
static tmp< fvPatchField< Type > > | NewCalculatedType (const fvPatchField< Type2 > &) |
static const word & | calculatedType () |
![]() | |
static int | disallowGenericFvPatchField |
Variant of inletOutlet boundary condition with uniform inletValue.
Property | Description | Required | Default value |
---|---|---|---|
phi | flux field name | no | phi |
uniformInletValue | inlet value for reverse flow | yes |
Example of the boundary condition specification:
<patchName> { type uniformInletOutlet; phi phi; uniformInletValue 0; value uniform 0; }
The mode of operation is determined by the sign of the flux across the patch faces.
Definition at line 96 of file uniformInletOutletFvPatchField.H.
uniformInletOutletFvPatchField | ( | const fvPatch & | p, |
const DimensionedField< Type, volMesh > & | iF | ||
) |
Definition at line 28 of file uniformInletOutletFvPatchField.C.
References Foam::Zero.
uniformInletOutletFvPatchField | ( | const fvPatch & | p, |
const DimensionedField< Type, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 44 of file uniformInletOutletFvPatchField.C.
References dict, p, and Foam::Zero.
uniformInletOutletFvPatchField | ( | const uniformInletOutletFvPatchField< Type > & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< Type, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 80 of file uniformInletOutletFvPatchField.C.
References fvPatchField< Type >::patchType(), and Foam::Zero.
uniformInletOutletFvPatchField | ( | const uniformInletOutletFvPatchField< Type > & | ptf | ) |
Definition at line 109 of file uniformInletOutletFvPatchField.C.
uniformInletOutletFvPatchField | ( | const uniformInletOutletFvPatchField< Type > & | ptf, |
const DimensionedField< Type, volMesh > & | iF | ||
) |
Definition at line 121 of file uniformInletOutletFvPatchField.C.
TypeName | ( | "uniformInletOutlet" | ) |
|
inlinevirtual |
Reimplemented from mixedFvPatchField< Type >.
Definition at line 152 of file uniformInletOutletFvPatchField.H.
|
inlinevirtual |
Reimplemented from mixedFvPatchField< Type >.
Definition at line 169 of file uniformInletOutletFvPatchField.H.
|
inlinevirtual |
Reimplemented from mixedFvPatchField< Type >.
Definition at line 185 of file uniformInletOutletFvPatchField.H.
|
virtual |
Reimplemented from mixedFvPatchField< Type >.
Definition at line 172 of file uniformInletOutletFvPatchField.C.
|
virtual |
Reimplemented from mixedFvPatchField< Type >.
Definition at line 186 of file uniformInletOutletFvPatchField.C.
|
virtual |
Reimplemented from fvPatchField< Type >.
Definition at line 135 of file uniformInletOutletFvPatchField.C.
References Foam::foamVersion::patch, and Foam::pos0().
|
virtual |
Reimplemented from mixedFvPatchField< Type >.
Definition at line 159 of file uniformInletOutletFvPatchField.C.
References os(), and Foam::vtk::write().
|
virtual |
Reimplemented from mixedFvPatchField< Type >.
Definition at line 203 of file uniformInletOutletFvPatchField.C.
|
protected |
Definition at line 106 of file uniformInletOutletFvPatchField.H.
Definition at line 109 of file uniformInletOutletFvPatchField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.