Abstract base class with a fat-interface to all derived classes covering all possible ways in which they might be used. More...
#include <finiteVolume/fvPatchField.H>
Abstract base class with a fat-interface to all derived classes covering all possible ways in which they might be used.
The first level of derivation is to basic patchFields which cover zero-gradient, fixed-gradient, fixed-value and mixed conditions.
The next level of derivation covers all the specialised types with specific evaluation proceedures, particularly with respect to specific fields.
Definition at line 80 of file fvPatchField.H.
Public Types | |
typedef fvPatch | Patch |
Public Member Functions | |
TypeName ("fvPatchField") | |
Runtime type information.
| |
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 > &) | |
Construct from patch and internal field.
| |
fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const Field< Type > &) | |
Construct from patch and internal field and patch field.
| |
fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &, const bool valueRequired=false) | |
Construct from patch, internal field and dictionary.
| |
fvPatchField (const fvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping the given fvPatchField onto a new patch.
| |
fvPatchField (const fvPatchField< Type > &) | |
Construct as copy.
| |
virtual tmp< fvPatchField< Type > > | clone () const |
Construct and return a clone.
| |
fvPatchField (const fvPatchField< Type > &, const DimensionedField< Type, volMesh > &) | |
Construct as copy setting internal field reference.
| |
virtual tmp< fvPatchField< Type > > | clone (const DimensionedField< Type, volMesh > &iF) const |
Construct and return a clone setting internal field reference.
| |
virtual | ~fvPatchField () |
const objectRegistry & | db () const |
Return local objectRegistry.
| |
const fvPatch & | patch () const |
Return patch.
| |
const DimensionedField< Type, volMesh > & | dimensionedInternalField () const |
Return dimensioned internal field reference.
| |
const Field< Type > & | internalField () const |
Return internal field reference.
| |
virtual bool | fixesValue () const |
Return true if this patch field fixes a value.
| |
virtual bool | coupled () const |
Return true if this patch field is coupled.
| |
bool | updated () const |
Return true if the boundary condition has already been updated.
| |
virtual void | autoMap (const fvPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object.
| |
virtual void | rmap (const fvPatchField< Type > &, const labelList &) |
Reverse map the given fvPatchField onto this fvPatchField.
| |
virtual tmp< Field< Type > > | snGrad () const |
Return patch-normal gradient.
| |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field.
| |
virtual tmp< Field< Type > > | patchInternalField () const |
Return internal field next to patch as patch field.
| |
virtual tmp< Field< Type > > | patchNeighbourField () const |
Return patchField on the opposite patch of a coupled patch.
| |
virtual void | initEvaluate (const Pstream::commsTypes commsType=Pstream::blocking) |
Initialise the evaluation of the patch field.
| |
virtual void | evaluate (const Pstream::commsTypes commsType=Pstream::blocking) |
Evaluate the patch field, sets Updated to false.
| |
virtual tmp< Field< Type > > | valueInternalCoeffs (const tmp< Field< scalar > > &) const |
Return the matrix diagonal coefficients corresponding to the.
| |
virtual tmp< Field< Type > > | valueBoundaryCoeffs (const tmp< Field< scalar > > &) const |
Return the matrix source coefficients corresponding to the.
| |
virtual tmp< Field< Type > > | gradientInternalCoeffs () const |
Return the matrix diagonal coefficients corresponding to the.
| |
virtual tmp< Field< Type > > | gradientBoundaryCoeffs () const |
Return the matrix source coefficients corresponding to the.
| |
virtual void | manipulateMatrix (fvMatrix< Type > &matrix) |
Manipulate matrix.
| |
virtual void | write (Ostream &) const |
Write.
| |
template<class EntryType > | |
void | writeEntryIfDifferent (Ostream &os, const word &entryName, const EntryType &value1, const EntryType &value2) const |
Helper function to write the keyword and entry only if the.
| |
void | check (const fvPatchField< Type > &) const |
Check fvPatchField<Type> against given fvPatchField<Type>
| |
virtual void | operator= (const UList< Type > &) |
Assignment from UList operator. Takes linear time.
| |
virtual void | operator= (const fvPatchField< 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 &) |
Assignment of all entries to the given value.
| |
virtual void | operator+= (const Type &) |
virtual void | operator-= (const Type &) |
virtual void | operator*= (const scalar) |
virtual void | operator/= (const scalar) |
virtual void | operator== (const fvPatchField< Type > &) |
virtual void | operator== (const Field< Type > &) |
virtual void | operator== (const Type &) |
Static Public Member Functions | |
static tmp< fvPatchField< Type > > | New (const word &, const fvPatch &, const DimensionedField< Type, volMesh > &) |
Return a pointer to a new patchField created on freestore given.
| |
static tmp< fvPatchField< Type > > | New (const fvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &) |
Return a pointer to a new patchField created on freestore from.
| |
static tmp< fvPatchField< Type > > | New (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &) |
Return a pointer to a new patchField created on freestore.
| |
template<class Type2 > | |
static tmp< fvPatchField< Type > > | NewCalculatedType (const fvPatchField< Type2 > &) |
Return a pointer to a new calculatedFvPatchField created on.
| |
static const word & | calculatedType () |
Return the type of the calculated for of fvPatchField.
| |
Static Public Attributes | |
static int | disallowGenericFvPatchField |
Debug switch to disallow the use of genericFvPatchField.
| |
Friends | |
Ostream & | operator (Ostream &, const fvPatchField< Type > &) |
Definition at line 104 of file fvPatchField.H.
fvPatchField | ( | const fvPatch & | p, |
const DimensionedField< Type, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 36 of file fvPatchField.C.
fvPatchField | ( | const fvPatch & | p, |
const DimensionedField< Type, volMesh > & | iF, | ||
const Field< Type > & | f | ||
) |
Construct from patch and internal field and patch field.
Definition at line 51 of file fvPatchField.C.
fvPatchField | ( | const fvPatch & | p, |
const DimensionedField< Type, volMesh > & | iF, | ||
const dictionary & | dict, | ||
const bool | valueRequired = false
|
||
) |
Construct from patch, internal field and dictionary.
Definition at line 84 of file fvPatchField.C.
References Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, dictionary::found(), and fvPatch::size().
fvPatchField | ( | const fvPatchField< Type > & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< Type, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping the given fvPatchField onto a new patch.
Definition at line 67 of file fvPatchField.C.
fvPatchField | ( | const fvPatchField< Type > & | ptf ) |
Construct as copy.
Definition at line 128 of file fvPatchField.C.
fvPatchField | ( | const fvPatchField< Type > & | ptf, |
const DimensionedField< Type, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 142 of file fvPatchField.C.
virtual ~fvPatchField | ( | ) | [inline, virtual]
|
Definition at line 259 of file fvPatchField.H.
TypeName | ( | "fvPatchField< Type >" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | tmp | , |
fvPatchField< Type > | , | ||
patch | , | ||
(const fvPatch &p, const DimensionedField< Type, volMesh > &iF) | , | ||
(p, iF) | |||
) |
declareRunTimeSelectionTable | ( | tmp | , |
fvPatchField< Type > | , | ||
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< Type > | , | ||
dictionary | , | ||
(const fvPatch &p, const DimensionedField< Type, volMesh > &iF, const dictionary &dict) | , | ||
(p, iF, dict) | |||
) |
virtual tmp<fvPatchField<Type> > clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Reimplemented from Field< Type >.
Reimplemented in basicSymmetryFvPatchField< Type >, calculatedFvPatchField< Type >, coupledFvPatchField< Type >, directionMixedFvPatchField< Type >, fixedGradientFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, transformFvPatchField< Type >, zeroGradientFvPatchField< Type >, cyclicFvPatchField< Type >, emptyFvPatchField< Type >, processorFvPatchField< Type >, symmetryFvPatchField< Type >, wedgeFvPatchField< Type >, advectiveFvPatchField< Type >, directMappedFixedValueFvPatchField< Type >, fanFvPatchField< Type >, fixedInternalValueFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, freestreamFvPatchField< Type >, inletOutletFvPatchField< Type >, oscillatingFixedValueFvPatchField< Type >, outletInletFvPatchField< Type >, outletMappedUniformInletFvPatchField< Type >, partialSlipFvPatchField< Type >, slipFvPatchField< Type >, timeVaryingMappedFixedValueFvPatchField< Type >, timeVaryingUniformFixedValueFvPatchField< Type >, timeVaryingUniformInletOutletFvPatchField< Type >, turbulentInletFvPatchField< Type >, uniformFixedValueFvPatchField< Type >, waveTransmissiveFvPatchField< Type >, cellMotionFvPatchField< Type >, surfaceSlipDisplacementFvPatchField< Type >, genericFvPatchField< Type >, epsilonWallFunctionFvPatchScalarField, kqRWallFunctionFvPatchField< Type >, omegaWallFunctionFvPatchScalarField, epsilonWallFunctionFvPatchScalarField, kqRWallFunctionFvPatchField< Type >, omegaWallFunctionFvPatchScalarField, mixedFixedValueSlipFvPatchField< Type >, zeroGradientFvPatchField< scalar >, and fixedInternalValueFvPatchField< scalar >.
Definition at line 195 of file fvPatchField.H.
virtual tmp<fvPatchField<Type> > clone | ( | const DimensionedField< Type, volMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Reimplemented in basicSymmetryFvPatchField< Type >, calculatedFvPatchField< Type >, coupledFvPatchField< Type >, directionMixedFvPatchField< Type >, fixedGradientFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, transformFvPatchField< Type >, zeroGradientFvPatchField< Type >, cyclicFvPatchField< Type >, emptyFvPatchField< Type >, processorFvPatchField< Type >, symmetryFvPatchField< Type >, wedgeFvPatchField< Type >, advectiveFvPatchField< Type >, directMappedFixedValueFvPatchField< Type >, fanFvPatchField< Type >, fixedInternalValueFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, freestreamFvPatchField< Type >, inletOutletFvPatchField< Type >, oscillatingFixedValueFvPatchField< Type >, outletInletFvPatchField< Type >, outletMappedUniformInletFvPatchField< Type >, partialSlipFvPatchField< Type >, slipFvPatchField< Type >, timeVaryingMappedFixedValueFvPatchField< Type >, timeVaryingUniformFixedValueFvPatchField< Type >, timeVaryingUniformInletOutletFvPatchField< Type >, turbulentInletFvPatchField< Type >, uniformFixedValueFvPatchField< Type >, waveTransmissiveFvPatchField< Type >, cellMotionFvPatchField< Type >, surfaceSlipDisplacementFvPatchField< Type >, genericFvPatchField< Type >, epsilonWallFunctionFvPatchScalarField, kqRWallFunctionFvPatchField< Type >, omegaWallFunctionFvPatchScalarField, epsilonWallFunctionFvPatchScalarField, kqRWallFunctionFvPatchField< Type >, omegaWallFunctionFvPatchScalarField, mixedFixedValueSlipFvPatchField< Type >, zeroGradientFvPatchField< scalar >, and fixedInternalValueFvPatchField< scalar >.
Definition at line 209 of file fvPatchField.H.
Foam::tmp< Foam::fvPatchField< Type > > New | ( | const word & | patchFieldType, |
const fvPatch & | p, | ||
const DimensionedField< Type, volMesh > & | iF | ||
) | [static]
|
Return a pointer to a new patchField created on freestore given.
patch and internal field (does not set the patch field values)
Definition at line 30 of file newFvPatchField.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, and p.
Foam::tmp< Foam::fvPatchField< Type > > New | ( | const fvPatchField< Type > & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< Type, volMesh > & | iF, | ||
const fvPatchFieldMapper & | pfMapper | ||
) | [static]
|
Return a pointer to a new patchField created on freestore from.
a given fvPatchField mapped onto a new patch
Definition at line 152 of file newFvPatchField.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, and p.
Foam::tmp< Foam::fvPatchField< Type > > New | ( | const fvPatch & | p, |
const DimensionedField< Type, volMesh > & | iF, | ||
const dictionary & | dict | ||
) | [static]
|
Return a pointer to a new patchField created on freestore.
from dictionary
Definition at line 76 of file newFvPatchField.C.
References Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, dictionary::found(), Foam::Info, dictionary::lookup(), and p.
tmp< fvPatchField< Type > > NewCalculatedType | ( | const fvPatchField< Type2 > & | pf ) | [static]
|
Return a pointer to a new calculatedFvPatchField created on.
freestore without setting patchField values
Definition at line 103 of file calculatedFvPatchField.C.
References DimensionedField< Type, GeoMesh >::null(), and fvPatchField< Type >::patch().
const Foam::objectRegistry & db | ( | ) | const |
Return local objectRegistry.
Definition at line 158 of file fvPatchField.C.
const fvPatch& patch | ( | ) | const [inline]
|
Return patch.
Definition at line 271 of file fvPatchField.H.
Referenced by fvPatchField< Type >::NewCalculatedType(), fvPatchField< Type >::operator*=(), fvPatchField< Type >::operator/=(), directMappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), and directMappedFixedValueFvPatchField< Type >::updateCoeffs().
const DimensionedField<Type, volMesh>& dimensionedInternalField | ( | ) | const [inline]
|
Return dimensioned internal field reference.
Definition at line 278 of file fvPatchField.H.
const Field<Type>& internalField | ( | ) | const [inline]
|
Return internal field reference.
Definition at line 284 of file fvPatchField.H.
const word & calculatedType | ( | ) | [static]
|
Return the type of the calculated for of fvPatchField.
Definition at line 35 of file calculatedFvPatchField.C.
virtual bool fixesValue | ( | ) | const [inline, virtual]
|
Return true if this patch field fixes a value.
Needed to check if a level has to be specified while solving Poissons equations.
Reimplemented in calculatedFvPatchField< Type >, directionMixedFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, and slicedFvPatchField< Type >.
Definition at line 295 of file fvPatchField.H.
Referenced by Foam::adjustPhi(), faceMDLimitedGrad< Type >::grad(), faceLimitedGrad< Type >::grad(), and Foam::fv::makeFvGradScheme().
virtual bool coupled | ( | ) | const [inline, virtual]
|
Return true if this patch field is coupled.
Reimplemented in coupledFvPatchField< Type >, and processorFvPatchField< Type >.
Definition at line 301 of file fvPatchField.H.
Referenced by fvMatrix< Type >::DD(), faceMDLimitedGrad< Type >::grad(), faceLimitedGrad< Type >::grad(), cellMDLimitedGrad< Type >::grad(), cellLimitedGrad< Type >::grad(), Foam::MULES::limiter(), Foam::fv::makeFvGradScheme(), and fvMatrix< Type >::relax().
bool updated | ( | ) | const [inline]
|
Return true if the boundary condition has already been updated.
Definition at line 307 of file fvPatchField.H.
void autoMap | ( | const fvPatchFieldMapper & | m ) | [virtual]
|
Map (and resize as needed) from self given a mapping object.
Reimplemented in directionMixedFvPatchField< Type >, fixedGradientFvPatchField< Type >, mixedFvPatchField< Type >, emptyFvPatchField< Type >, fanFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, oscillatingFixedValueFvPatchField< Type >, partialSlipFvPatchField< Type >, timeVaryingMappedFixedValueFvPatchField< Type >, turbulentInletFvPatchField< Type >, uniformFixedValueFvPatchField< Type >, genericFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 195 of file fvPatchField.C.
Referenced by turbulentInletFvPatchField< Type >::autoMap(), timeVaryingMappedFixedValueFvPatchField< Type >::autoMap(), partialSlipFvPatchField< Type >::autoMap(), oscillatingFixedValueFvPatchField< Type >::autoMap(), fixedNormalSlipFvPatchField< Type >::autoMap(), fanFvPatchField< Type >::autoMap(), mixedFvPatchField< Type >::autoMap(), fixedGradientFvPatchField< Type >::autoMap(), and directionMixedFvPatchField< Type >::autoMap().
void rmap | ( | const fvPatchField< Type > & | ptf, |
const labelList & | addr | ||
) | [virtual]
|
Reverse map the given fvPatchField onto this fvPatchField.
Reimplemented in directionMixedFvPatchField< Type >, fixedGradientFvPatchField< Type >, mixedFvPatchField< Type >, emptyFvPatchField< Type >, fanFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, oscillatingFixedValueFvPatchField< Type >, partialSlipFvPatchField< Type >, timeVaryingMappedFixedValueFvPatchField< Type >, turbulentInletFvPatchField< Type >, genericFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 205 of file fvPatchField.C.
Referenced by turbulentInletFvPatchField< Type >::rmap(), timeVaryingMappedFixedValueFvPatchField< Type >::rmap(), partialSlipFvPatchField< Type >::rmap(), oscillatingFixedValueFvPatchField< Type >::rmap(), fixedNormalSlipFvPatchField< Type >::rmap(), fanFvPatchField< Type >::rmap(), mixedFvPatchField< Type >::rmap(), fixedGradientFvPatchField< Type >::rmap(), and directionMixedFvPatchField< Type >::rmap().
Foam::tmp< Foam::Field< Type > > snGrad | ( | ) | const [virtual]
|
Return patch-normal gradient.
Reimplemented in basicSymmetryFvPatchField< Type >, coupledFvPatchField< Type >, directionMixedFvPatchField< Type >, fixedGradientFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, transformFvPatchField< Type >, zeroGradientFvPatchField< Type >, processorFvPatchField< Type >, wedgeFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, mixedFixedValueSlipFvPatchField< Type >, zeroGradientFvPatchField< scalar >, basicSymmetryFvPatchField< Type >, basicSymmetryFvPatchField< Type >, wedgeFvPatchField< Type >, and wedgeFvPatchField< Type >.
Definition at line 178 of file fvPatchField.C.
Referenced by nuSgsWallFunctionFvPatchScalarField::evaluate(), muSgsWallFunctionFvPatchScalarField::evaluate(), alphaSgsJayatillekeWallFunctionFvPatchScalarField::evaluate(), gradientUnburntEnthalpyFvPatchScalarField::updateCoeffs(), gradientInternalEnergyFvPatchScalarField::updateCoeffs(), gradientEnthalpyFvPatchScalarField::updateCoeffs(), nutSpalartAllmarasWallFunctionFvPatchScalarField::yPlus(), and mutSpalartAllmarasWallFunctionFvPatchScalarField::yPlus().
virtual void updateCoeffs | ( | ) | [inline, virtual]
|
Update the coefficients associated with the patch field.
Sets Updated to true
Reimplemented in slicedFvPatchField< Type >, emptyFvPatchField< Type >, advectiveFvPatchField< Type >, directMappedFixedValueFvPatchField< Type >, fanFvPatchField< Type >, inletOutletFvPatchField< Type >, oscillatingFixedValueFvPatchField< Type >, outletInletFvPatchField< Type >, outletMappedUniformInletFvPatchField< Type >, timeVaryingMappedFixedValueFvPatchField< Type >, timeVaryingUniformFixedValueFvPatchField< Type >, timeVaryingUniformInletOutletFvPatchField< Type >, turbulentInletFvPatchField< Type >, cellMotionFvPatchField< Type >, epsilonWallFunctionFvPatchScalarField, omegaWallFunctionFvPatchScalarField, epsilonWallFunctionFvPatchScalarField, omegaWallFunctionFvPatchScalarField, fanFvPatchField< Type >, and fanFvPatchField< Type >.
Definition at line 336 of file fvPatchField.H.
Referenced by cellMotionFvPatchField< Type >::updateCoeffs(), turbulentInletFvPatchField< Type >::updateCoeffs(), timeVaryingMappedFixedValueFvPatchField< Type >::updateCoeffs(), outletMappedUniformInletFvPatchField< Type >::updateCoeffs(), outletInletFvPatchField< Type >::updateCoeffs(), oscillatingFixedValueFvPatchField< Type >::updateCoeffs(), inletOutletFvPatchField< Type >::updateCoeffs(), directMappedFixedValueFvPatchField< Type >::updateCoeffs(), and advectiveFvPatchField< Type >::updateCoeffs().
Foam::tmp< Foam::Field< Type > > patchInternalField | ( | ) | const [virtual]
|
Return internal field next to patch as patch field.
Reimplemented in slicedFvPatchField< Type >.
Definition at line 187 of file fvPatchField.C.
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::calcMut(), nutSpalartAllmarasWallFunctionFvPatchScalarField::calcUTau(), mutSpalartAllmarasWallFunctionFvPatchScalarField::calcUTau(), nuSgsWallFunctionFvPatchScalarField::evaluate(), muSgsWallFunctionFvPatchScalarField::evaluate(), alphaSgsJayatillekeWallFunctionFvPatchScalarField::evaluate(), and dynamicAlphaContactAngleFvPatchScalarField::theta().
Return patchField on the opposite patch of a coupled patch.
Reimplemented in coupledFvPatchField< Type >, slicedFvPatchField< Type >, cyclicFvPatchField< Type >, jumpCyclicFvPatchField< Type >, and processorFvPatchField< Type >.
Definition at line 345 of file fvPatchField.H.
Referenced by faceMDLimitedGrad< Type >::grad(), faceLimitedGrad< Type >::grad(), cellMDLimitedGrad< Type >::grad(), cellLimitedGrad< Type >::grad(), Foam::MULES::limiter(), and Foam::fv::makeFvGradScheme().
virtual void initEvaluate | ( | const Pstream::commsTypes | commsType = Pstream::blocking
) |
[inline, virtual]
|
Initialise the evaluation of the patch field.
Reimplemented in coupledFvPatchField< Type >, slicedFvPatchField< Type >, and processorFvPatchField< Type >.
Definition at line 353 of file fvPatchField.H.
void evaluate | ( | const Pstream::commsTypes | commsType = Pstream::blocking
) |
[virtual]
|
Evaluate the patch field, sets Updated to false.
Reimplemented in basicSymmetryFvPatchField< Type >, coupledFvPatchField< Type >, directionMixedFvPatchField< Type >, fixedGradientFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, zeroGradientFvPatchField< Type >, processorFvPatchField< Type >, wedgeFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, epsilonWallFunctionFvPatchScalarField, kqRWallFunctionFvPatchField< Type >, epsilonWallFunctionFvPatchScalarField, kqRWallFunctionFvPatchField< Type >, mixedFixedValueSlipFvPatchField< Type >, zeroGradientFvPatchField< scalar >, basicSymmetryFvPatchField< Type >, basicSymmetryFvPatchField< Type >, wedgeFvPatchField< Type >, and wedgeFvPatchField< Type >.
Definition at line 215 of file fvPatchField.C.
Referenced by partialSlipFvPatchField< Type >::evaluate(), fixedNormalSlipFvPatchField< Type >::evaluate(), zeroGradientFvPatchField< Type >::evaluate(), mixedFvPatchField< Type >::evaluate(), fixedGradientFvPatchField< Type >::evaluate(), directionMixedFvPatchField< Type >::evaluate(), coupledFvPatchField< Type >::evaluate(), basicSymmetryFvPatchField< Type >::evaluate(), gradientUnburntEnthalpyFvPatchScalarField::updateCoeffs(), fixedUnburntEnthalpyFvPatchScalarField::updateCoeffs(), gradientInternalEnergyFvPatchScalarField::updateCoeffs(), gradientEnthalpyFvPatchScalarField::updateCoeffs(), fixedInternalEnergyFvPatchScalarField::updateCoeffs(), and fixedEnthalpyFvPatchScalarField::updateCoeffs().
virtual tmp<Field<Type> > valueInternalCoeffs | ( | const tmp< Field< scalar > > & | ) | const [inline, virtual]
|
Return the matrix diagonal coefficients corresponding to the.
evaluation of the value of this patchField with given weights
Reimplemented in calculatedFvPatchField< Type >, coupledFvPatchField< Type >, fixedGradientFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, transformFvPatchField< Type >, zeroGradientFvPatchField< Type >, emptyFvPatchField< Type >, genericFvPatchField< Type >, and zeroGradientFvPatchField< scalar >.
Definition at line 368 of file fvPatchField.H.
Referenced by gaussConvectionScheme< Type >::fvmDiv().
virtual tmp<Field<Type> > valueBoundaryCoeffs | ( | const tmp< Field< scalar > > & | ) | const [inline, virtual]
|
Return the matrix source coefficients corresponding to the.
evaluation of the value of this patchField with given weights
Reimplemented in calculatedFvPatchField< Type >, coupledFvPatchField< Type >, fixedGradientFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, transformFvPatchField< Type >, zeroGradientFvPatchField< Type >, emptyFvPatchField< Type >, genericFvPatchField< Type >, and zeroGradientFvPatchField< scalar >.
Definition at line 383 of file fvPatchField.H.
Referenced by gaussConvectionScheme< Type >::fvmDiv().
Return the matrix diagonal coefficients corresponding to the.
evaluation of the gradient of this patchField
Reimplemented in calculatedFvPatchField< Type >, coupledFvPatchField< Type >, fixedGradientFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, transformFvPatchField< Type >, zeroGradientFvPatchField< Type >, emptyFvPatchField< Type >, genericFvPatchField< Type >, zeroGradientFvPatchField< scalar >, transformFvPatchField< Type >, and transformFvPatchField< Type >.
Definition at line 397 of file fvPatchField.H.
Return the matrix source coefficients corresponding to the.
evaluation of the gradient of this patchField
Reimplemented in calculatedFvPatchField< Type >, coupledFvPatchField< Type >, fixedGradientFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, transformFvPatchField< Type >, zeroGradientFvPatchField< Type >, emptyFvPatchField< Type >, genericFvPatchField< Type >, and zeroGradientFvPatchField< scalar >.
Definition at line 405 of file fvPatchField.H.
void manipulateMatrix | ( | fvMatrix< Type > & | matrix ) | [virtual]
|
Manipulate matrix.
Reimplemented in fixedInternalValueFvPatchField< Type >, and fixedInternalValueFvPatchField< scalar >.
Definition at line 227 of file fvPatchField.C.
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented in calculatedFvPatchField< Type >, coupledFvPatchField< Type >, directionMixedFvPatchField< Type >, fixedGradientFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, advectiveFvPatchField< Type >, directMappedFixedValueFvPatchField< Type >, fanFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, freestreamFvPatchField< Type >, inletOutletFvPatchField< Type >, oscillatingFixedValueFvPatchField< Type >, outletInletFvPatchField< Type >, outletMappedUniformInletFvPatchField< Type >, partialSlipFvPatchField< Type >, timeVaryingMappedFixedValueFvPatchField< Type >, timeVaryingUniformFixedValueFvPatchField< Type >, timeVaryingUniformInletOutletFvPatchField< Type >, turbulentInletFvPatchField< Type >, uniformFixedValueFvPatchField< Type >, waveTransmissiveFvPatchField< Type >, cellMotionFvPatchField< Type >, surfaceSlipDisplacementFvPatchField< Type >, genericFvPatchField< Type >, epsilonWallFunctionFvPatchScalarField, kqRWallFunctionFvPatchField< Type >, omegaWallFunctionFvPatchScalarField, epsilonWallFunctionFvPatchScalarField, kqRWallFunctionFvPatchField< Type >, omegaWallFunctionFvPatchScalarField, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 234 of file fvPatchField.C.
References Foam::nl, Foam::type(), and Ostream::writeKeyword().
Referenced by Foam::operator<<(), incompressible::atmBoundaryLayerInletVelocityFvPatchVectorField::write(), cellMotionFvPatchField< Type >::write(), waveTransmissiveFvPatchField< Type >::write(), uniformFixedValueFvPatchField< Type >::write(), turbulentInletFvPatchField< Type >::write(), timeVaryingMappedFixedValueFvPatchField< Type >::write(), swirlFlowRateInletVelocityFvPatchVectorField::write(), partialSlipFvPatchField< Type >::write(), outletMappedUniformInletFvPatchField< Type >::write(), outletInletFvPatchField< Type >::write(), inletOutletFvPatchField< Type >::write(), freestreamFvPatchField< Type >::write(), flowRateInletVelocityFvPatchVectorField::write(), fixedPressureCompressibleDensityFvPatchScalarField::write(), fixedNormalSlipFvPatchField< Type >::write(), fanFvPatchField< Type >::write(), directMappedFixedValueFvPatchField< Type >::write(), cylindricalInletVelocityFvPatchVectorField::write(), advectiveFvPatchField< Type >::write(), activeBaffleVelocityFvPatchVectorField::write(), slicedFvPatchField< Type >::write(), mixedFvPatchField< Type >::write(), fixedValueFvPatchField< Type >::write(), fixedGradientFvPatchField< Type >::write(), directionMixedFvPatchField< Type >::write(), coupledFvPatchField< Type >::write(), and calculatedFvPatchField< Type >::write().
void writeEntryIfDifferent | ( | Ostream & | os, |
const word & | entryName, | ||
const EntryType & | value1, | ||
const EntryType & | value2 | ||
) | const |
Helper function to write the keyword and entry only if the.
values are not equal. The value is then output as value2
Definition at line 249 of file fvPatchField.C.
References Foam::nl, and Ostream::writeKeyword().
void check | ( | const fvPatchField< Type > & | ptf ) | const |
Check fvPatchField<Type> against given fvPatchField<Type>
Definition at line 165 of file fvPatchField.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
void operator= | ( | const UList< Type > & | ) | [virtual]
|
Assignment from UList operator. Takes linear time.
Reimplemented from Field< Type >.
Reimplemented in fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 267 of file fvPatchField.C.
Referenced by advectiveFvPatchField< Type >::advectiveFvPatchField(), buoyantPressureFvPatchScalarField::buoyantPressureFvPatchScalarField(), cellMotionFvPatchField< Type >::cellMotionFvPatchField(), freestreamFvPatchField< Type >::freestreamFvPatchField(), inletOutletFvPatchField< Type >::inletOutletFvPatchField(), movingWallVelocityFvPatchVectorField::movingWallVelocityFvPatchVectorField(), pressureInletVelocityFvPatchVectorField::operator=(), pressureInletOutletVelocityFvPatchVectorField::operator=(), pressureDirectedInletVelocityFvPatchVectorField::operator=(), outletInletFvPatchField< Type >::outletInletFvPatchField(), pressureDirectedInletOutletVelocityFvPatchVectorField::pressureDirectedInletOutletVelocityFvPatchVectorField(), pressureDirectedInletVelocityFvPatchVectorField::pressureDirectedInletVelocityFvPatchVectorField(), pressureInletOutletVelocityFvPatchVectorField::pressureInletOutletVelocityFvPatchVectorField(), pressureInletVelocityFvPatchVectorField::pressureInletVelocityFvPatchVectorField(), pressureNormalInletOutletVelocityFvPatchVectorField::pressureNormalInletOutletVelocityFvPatchVectorField(), SRFFreestreamVelocityFvPatchVectorField::SRFFreestreamVelocityFvPatchVectorField(), SRFVelocityFvPatchVectorField::SRFVelocityFvPatchVectorField(), supersonicFreestreamFvPatchVectorField::supersonicFreestreamFvPatchVectorField(), surfaceNormalFixedValueFvPatchVectorField::surfaceNormalFixedValueFvPatchVectorField(), syringePressureFvPatchScalarField::syringePressureFvPatchScalarField(), and zeroGradientFvPatchField< Type >::zeroGradientFvPatchField().
void operator= | ( | const fvPatchField< Type > & | ptf ) | [virtual]
|
Reimplemented in directionMixedFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, transformFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, inletOutletFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 277 of file fvPatchField.C.
void operator+= | ( | const fvPatchField< Type > & | ptf ) | [virtual]
|
Reimplemented in directionMixedFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 288 of file fvPatchField.C.
void operator-= | ( | const fvPatchField< Type > & | ptf ) | [virtual]
|
Reimplemented in directionMixedFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 299 of file fvPatchField.C.
void operator*= | ( | const fvPatchField< scalar > & | ptf ) | [virtual]
|
Reimplemented in fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 310 of file fvPatchField.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, and fvPatchField< Type >::patch().
void operator/= | ( | const fvPatchField< scalar > & | ptf ) | [virtual]
|
Reimplemented in fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 329 of file fvPatchField.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, and fvPatchField< Type >::patch().
void operator+= | ( | const Field< Type > & | tf ) | [virtual]
|
Reimplemented in directionMixedFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 348 of file fvPatchField.C.
void operator-= | ( | const Field< Type > & | tf ) | [virtual]
|
Reimplemented in directionMixedFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 358 of file fvPatchField.C.
void operator*= | ( | const Field< scalar > & | tf ) | [virtual]
|
Reimplemented in directionMixedFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 368 of file fvPatchField.C.
void operator/= | ( | const Field< scalar > & | tf ) | [virtual]
|
Reimplemented in directionMixedFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 378 of file fvPatchField.C.
void operator= | ( | const Type & | ) | [virtual]
|
Assignment of all entries to the given value.
Reimplemented from Field< Type >.
Reimplemented in directionMixedFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 388 of file fvPatchField.C.
void operator+= | ( | const Type & | t ) | [virtual]
|
Reimplemented from Field< Type >.
Reimplemented in directionMixedFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 398 of file fvPatchField.C.
void operator-= | ( | const Type & | t ) | [virtual]
|
Reimplemented from Field< Type >.
Reimplemented in directionMixedFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 408 of file fvPatchField.C.
void operator*= | ( | const scalar | s ) | [virtual]
|
Reimplemented in directionMixedFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 418 of file fvPatchField.C.
void operator/= | ( | const scalar | s ) | [virtual]
|
Reimplemented in directionMixedFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, and mixedFixedValueSlipFvPatchField< Type >.
Definition at line 428 of file fvPatchField.C.
void operator== | ( | const fvPatchField< Type > & | ptf ) | [virtual]
|
Definition at line 439 of file fvPatchField.C.
Referenced by uniformFixedValueFvPatchField< Type >::autoMap(), zeroGradientFvPatchField< Type >::evaluate(), oscillatingFixedValueFvPatchField< Type >::oscillatingFixedValueFvPatchField(), timeVaryingMappedFixedValueFvPatchField< Type >::timeVaryingMappedFixedValueFvPatchField(), turbulentInletFvPatchField< Type >::turbulentInletFvPatchField(), and uniformFixedValueFvPatchField< Type >::uniformFixedValueFvPatchField().
void operator== | ( | const Field< Type > & | tf ) | [virtual]
|
Definition at line 449 of file fvPatchField.C.
void operator== | ( | const Type & | t ) | [virtual]
|
Definition at line 459 of file fvPatchField.C.
Ostream& operator | ( | Ostream & | , |
const fvPatchField< Type > & | |||
) | [friend]
|
int disallowGenericFvPatchField [static]
|
Debug switch to disallow the use of genericFvPatchField.
Definition at line 111 of file fvPatchField.H.