A finiteVolume patch using a polyPatch and a fvBoundaryMesh. More...
Public Types | |
typedef fvBoundaryMesh | BoundaryMesh |
Public Member Functions | |
TypeName (polyPatch::typeName_()) | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, fvPatch, polyPatch,(const polyPatch &patch, const fvBoundaryMesh &bm),(patch, bm)) | |
fvPatch (const polyPatch &, const fvBoundaryMesh &) | |
Construct from polyPatch and fvBoundaryMesh. More... | |
virtual | ~fvPatch () |
Destructor. More... | |
const polyPatch & | patch () const |
Return the polyPatch. More... | |
const word & | name () const |
Return name. More... | |
label | start () const |
Return start label of this patch in the polyMesh face list. More... | |
virtual label | size () const |
Return size. More... | |
virtual bool | coupled () const |
Return true if this patch is coupled. More... | |
label | index () const |
Return the index of this patch in the fvBoundaryMesh. More... | |
const fvBoundaryMesh & | boundaryMesh () const |
Return boundaryMesh reference. More... | |
template<class T > | |
const List< T >::subList | patchSlice (const List< T > &l) const |
Slice list to patch. More... | |
virtual const labelUList & | faceCells () const |
Return faceCells. More... | |
const vectorField & | Cf () const |
Return face centres. More... | |
tmp< vectorField > | Cn () const |
Return neighbour cell centres. More... | |
const vectorField & | Sf () const |
Return face area vectors. More... | |
const scalarField & | magSf () const |
Return face area magnitudes. More... | |
tmp< vectorField > | nf () const |
Return face normals. More... | |
virtual tmp< vectorField > | delta () const |
Return cell-centre to face-centre vector. More... | |
const scalarField & | weights () const |
Return patch weighting factors. More... | |
const scalarField & | deltaCoeffs () const |
Return the face - cell distance coeffient. More... | |
template<class Type > | |
tmp< Field< Type > > | patchInternalField (const UList< Type > &) const |
Return given internal field next to patch as patch field. More... | |
template<class Type > | |
void | patchInternalField (const UList< Type > &, Field< Type > &) const |
Return given internal field next to patch as patch field. More... | |
template<class GeometricField , class Type > | |
const GeometricField::Patch & | patchField (const GeometricField &) const |
Return the corresponding patchField of the named field. More... | |
template<class GeometricField , class Type > | |
GeometricField::Patch & | patchField (GeometricField &) const |
Return the corresponding patchField reference of the named field. More... | |
template<class GeometricField , class Type > | |
const GeometricField::Patch & | lookupPatchField (const word &name, const GeometricField *=nullptr, const Type *=nullptr) const |
Lookup and return the patchField of the named field from the. More... | |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | patchInternalField (const UList< Type > &f) const |
Static Public Member Functions | |
static autoPtr< fvPatch > | New (const polyPatch &, const fvBoundaryMesh &) |
Return a pointer to a new patch created on freestore from polyPatch. More... | |
static bool | constraintType (const word &pt) |
Return true if the given type is a constraint type. More... | |
static wordList | constraintTypes () |
Return a list of all the constraint patch types. More... | |
Protected Member Functions | |
virtual void | makeWeights (scalarField &) const |
Make patch weighting factors. More... | |
virtual void | initMovePoints () |
Initialise the patches for moving points. More... | |
virtual void | movePoints () |
Correct patches after moving points. More... | |
Friends | |
class | fvBoundaryMesh |
class | surfaceInterpolation |
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
typedef fvBoundaryMesh BoundaryMesh |
fvPatch | ( | const polyPatch & | p, |
const fvBoundaryMesh & | bm | ||
) |
Construct from polyPatch and fvBoundaryMesh.
|
protectedvirtual |
Make patch weighting factors.
Reimplemented in cyclicAMIFvPatch, coupledFvPatch, cyclicFvPatch, cyclicACMIFvPatch, and processorFvPatch.
Definition at line 150 of file fvPatch.C.
Referenced by cyclicACMIFvPatch::makeWeights(), and cyclicAMIFvPatch::makeWeights().
|
protectedvirtual |
Initialise the patches for moving points.
Definition at line 156 of file fvPatch.C.
Referenced by fvBoundaryMesh::movePoints().
|
protectedvirtual |
Correct patches after moving points.
Definition at line 160 of file fvPatch.C.
Referenced by fvBoundaryMesh::movePoints().
TypeName | ( | polyPatch::typeName_() | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
fvPatch | , | ||
polyPatch | , | ||
(const polyPatch &patch, const fvBoundaryMesh &bm) | , | ||
(patch, bm) | |||
) |
|
static |
Return a pointer to a new patch created on freestore from polyPatch.
Definition at line 33 of file fvPatchNew.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, InfoInFunction, and Foam::nl.
Referenced by fvMeshAdder::add(), and meshRefinement::appendPatch().
|
inline |
Return the polyPatch.
Definition at line 143 of file fvPatch.H.
Referenced by cyclicACMIFvPatch::cyclicACMIPatch(), Foam::evaluateConstraintTypes(), fvMeshSubset::interpolate(), Foam::levelSetFraction(), mappedFixedValueFvPatchField< Type >::mapper(), NamedEnum< directionType, 3 >::names(), cellMotionFvPatchField< Type >::updateCoeffs(), movingWallVelocityFvPatchVectorField::updateCoeffs(), outletMappedUniformInletFvPatchField< Type >::updateCoeffs(), regionSizeDistribution::write(), and leastSquaresVectors::~leastSquaresVectors().
|
inline |
Return name.
Definition at line 149 of file fvPatch.H.
References patchIdentifier::name().
Referenced by fWallFunctionFvPatchScalarField::checkType(), v2WallFunctionFvPatchScalarField::checkType(), kLowReWallFunctionFvPatchScalarField::checkType(), epsilonWallFunctionFvPatchScalarField::checkType(), omegaWallFunctionFvPatchScalarField::checkType(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::filmPyrolysisRadiativeCoupledMixedFvPatchScalarField(), meshToMesh0::interpolate(), epsilonWallFunctionFvPatchScalarField::manipulateMatrix(), omegaWallFunctionFvPatchScalarField::manipulateMatrix(), mappedVelocityFluxFixedValueFvPatchField::mappedVelocityFluxFixedValueFvPatchField(), fvPatch::patchSlice(), externalCoupledTemperatureMixedFvPatchScalarField::transferData(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::turbulentTemperatureCoupledBaffleMixedFvPatchScalarField(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::turbulentTemperatureRadCoupledMixedFvPatchScalarField(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), thermalBaffle1DFvPatchScalarField< solidType >::updateCoeffs(), porousBafflePressureFvPatchField< Type >::updateCoeffs(), yPlus::write(), wallHeatFlux::write(), wallShearStress::write(), and wallHeatTransferCoeff::write().
|
inline |
Return start label of this patch in the polyMesh face list.
Definition at line 155 of file fvPatch.H.
References polyPatch::start().
Referenced by CentredFitSnGradData< Polynomial >::calcFit(), CentredFitData< Polynomial >::CentredFitData(), inverseFaceDistanceDiffusivity::correct(), inversePointDistanceDiffusivity::correct(), pointLinear< Type >::correction(), fvMeshSubset::interpolate(), mappedPatchFieldBase< Type >::mappedField(), fvPatch::patchSlice(), dynamicRefineFvMesh::refine(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), and UpwindFitData< Polynomial >::UpwindFitData().
|
inlinevirtual |
Return size.
Reimplemented in emptyFvPatch.
Definition at line 161 of file fvPatch.H.
Referenced by activePressureForceBaffleVelocityFvPatchVectorField::activePressureForceBaffleVelocityFvPatchVectorField(), alphaContactAngleFvPatchScalarField::alphaContactAngleFvPatchScalarField(), alphaFixedPressureFvPatchScalarField::alphaFixedPressureFvPatchScalarField(), atmBoundaryLayerInletEpsilonFvPatchScalarField::atmBoundaryLayerInletEpsilonFvPatchScalarField(), atmBoundaryLayerInletKFvPatchScalarField::atmBoundaryLayerInletKFvPatchScalarField(), atmBoundaryLayerInletVelocityFvPatchVectorField::atmBoundaryLayerInletVelocityFvPatchVectorField(), fvPatch::Cn(), externalWallHeatFluxTemperatureFvPatchScalarField::externalWallHeatFluxTemperatureFvPatchScalarField(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::filmPyrolysisRadiativeCoupledMixedFvPatchScalarField(), fixedFluxPressureFvPatchScalarField::fixedFluxPressureFvPatchScalarField(), fixedNormalInletOutletVelocityFvPatchVectorField::fixedNormalInletOutletVelocityFvPatchVectorField(), freestreamPressureFvPatchScalarField::freestreamPressureFvPatchScalarField(), freestreamVelocityFvPatchVectorField::freestreamVelocityFvPatchVectorField(), fvPatchField< Type >::fvPatchField(), fvsPatchField< Type >::fvsPatchField(), greyDiffusiveRadiationMixedFvPatchScalarField::greyDiffusiveRadiationMixedFvPatchScalarField(), greyDiffusiveViewFactorFixedValueFvPatchScalarField::greyDiffusiveViewFactorFixedValueFvPatchScalarField(), inletOutletTotalTemperatureFvPatchScalarField::inletOutletTotalTemperatureFvPatchScalarField(), fvMeshSubset::interpolate(), Foam::levelSetFraction(), epsilonWallFunctionFvPatchScalarField::manipulateMatrix(), omegaWallFunctionFvPatchScalarField::manipulateMatrix(), MarshakRadiationFvPatchScalarField::MarshakRadiationFvPatchScalarField(), fvPatch::patchSlice(), phaseHydrostaticPressureFvPatchScalarField::phaseHydrostaticPressureFvPatchScalarField(), pressureDirectedInletOutletVelocityFvPatchVectorField::pressureDirectedInletOutletVelocityFvPatchVectorField(), pressureFvPatchScalarField::pressureFvPatchScalarField(), pressureInletOutletParSlipVelocityFvPatchVectorField::pressureInletOutletParSlipVelocityFvPatchVectorField(), pressureInletOutletVelocityFvPatchVectorField::pressureInletOutletVelocityFvPatchVectorField(), pressureNormalInletOutletVelocityFvPatchVectorField::pressureNormalInletOutletVelocityFvPatchVectorField(), semiPermeableBaffleMassFractionFvPatchScalarField::semiPermeableBaffleMassFractionFvPatchScalarField(), semiPermeableBaffleVelocityFvPatchVectorField::semiPermeableBaffleVelocityFvPatchVectorField(), fvPatchMapper::size(), SRFFreestreamVelocityFvPatchVectorField::SRFFreestreamVelocityFvPatchVectorField(), supersonicFreestreamFvPatchVectorField::supersonicFreestreamFvPatchVectorField(), thermalBaffle1DFvPatchScalarField< solidType >::thermalBaffle1DFvPatchScalarField(), totalPressureFvPatchScalarField::totalPressureFvPatchScalarField(), totalTemperatureFvPatchScalarField::totalTemperatureFvPatchScalarField(), turbulentIntensityKineticEnergyInletFvPatchScalarField::turbulentIntensityKineticEnergyInletFvPatchScalarField(), turbulentMixingLengthDissipationRateInletFvPatchScalarField::turbulentMixingLengthDissipationRateInletFvPatchScalarField(), turbulentMixingLengthFrequencyInletFvPatchScalarField::turbulentMixingLengthFrequencyInletFvPatchScalarField(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::turbulentTemperatureCoupledBaffleMixedFvPatchScalarField(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::turbulentTemperatureRadCoupledMixedFvPatchScalarField(), uniformDensityHydrostaticPressureFvPatchScalarField::uniformDensityHydrostaticPressureFvPatchScalarField(), uniformTotalPressureFvPatchScalarField::uniformTotalPressureFvPatchScalarField(), variableHeightFlowRateFvPatchScalarField::variableHeightFlowRateFvPatchScalarField(), wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField(), waveAlphaFvPatchScalarField::waveAlphaFvPatchScalarField(), wavePressureFvPatchScalarField::wavePressureFvPatchScalarField(), waveVelocityFvPatchVectorField::waveVelocityFvPatchVectorField(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::wideBandDiffusiveRadiationMixedFvPatchScalarField().
|
inlinevirtual |
Return true if this patch is coupled.
Reimplemented in cyclicAMIFvPatch, regionCoupledWallFvPatch, regionCoupledFvPatch, processorFvPatch, and coupledFvPatch.
Definition at line 167 of file fvPatch.H.
References fvPatch::constraintType(), fvPatch::constraintTypes(), and polyPatch::coupled().
|
static |
Return true if the given type is a constraint type.
Definition at line 61 of file fvPatch.C.
Referenced by fvPatch::constraintTypes(), and fvPatch::coupled().
|
static |
Return a list of all the constraint patch types.
Definition at line 67 of file fvPatch.C.
References fvPatch::constraintType(), and List< T >::setSize().
Referenced by fvPatch::coupled().
|
inline |
Return the index of this patch in the fvBoundaryMesh.
Definition at line 179 of file fvPatch.H.
References patchIdentifier::index().
Referenced by epsilonWallFunctionFvPatchScalarField::calculate(), omegaWallFunctionFvPatchScalarField::calculate(), fvPatch::Cf(), fvPatch::deltaCoeffs(), fvPatch::magSf(), fvPatch::Sf(), externalCoupledTemperatureMixedFvPatchScalarField::transferData(), energyJumpFvPatchScalarField::updateCoeffs(), energyJumpAMIFvPatchScalarField::updateCoeffs(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), fWallFunctionFvPatchScalarField::updateCoeffs(), v2WallFunctionFvPatchScalarField::updateCoeffs(), kLowReWallFunctionFvPatchScalarField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), and fvPatch::weights().
|
inline |
Return boundaryMesh reference.
Definition at line 185 of file fvPatch.H.
Referenced by activePressureForceBaffleVelocityFvPatchVectorField::activePressureForceBaffleVelocityFvPatchVectorField(), fvPatch::Cf(), fvPatch::Cn(), fvPatch::deltaCoeffs(), fvPatch::magSf(), matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField(), regionCoupledBaseFvPatch::nbrFvMesh(), regionCoupledBaseFvPatch::nbrMesh(), cyclicACMIFvPatch::neighbFvPatch(), cyclicFvPatch::neighbFvPatch(), cyclicAMIFvPatch::neighbFvPatch(), cyclicFvPatch::neighbPatch(), cyclicAMIFvPatch::neighbPatch(), cyclicACMIFvPatch::nonOverlapFvPatch(), semiPermeableBaffleMassFractionFvPatchScalarField::phiY(), fvPatch::Sf(), thermalBaffle1DFvPatchScalarField< solidType >::thermalBaffle1DFvPatchScalarField(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), outletMappedUniformInletFvPatchField< Type >::updateCoeffs(), thermalBaffle1DFvPatchScalarField< solidType >::updateCoeffs(), porousBafflePressureFvPatchField< Type >::updateCoeffs(), and fvPatch::weights().
Slice list to patch.
Definition at line 192 of file fvPatch.H.
References fvPatch::Cf(), fvPatch::Cn(), fvPatch::delta(), fvPatch::deltaCoeffs(), fvPatch::faceCells(), fvPatch::lookupPatchField(), fvPatch::magSf(), fvPatch::name(), fvPatch::nf(), fvPatch::patchField(), fvPatch::patchInternalField(), fvPatch::Sf(), fvPatch::size(), fvPatch::start(), and fvPatch::weights().
|
virtual |
Return faceCells.
Reimplemented in regionCoupledWallFvPatch, regionCoupledFvPatch, coupledFvPatch, and emptyFvPatch.
Definition at line 93 of file fvPatch.C.
References polyPatch::faceCells().
Referenced by nearWallFields::calcAddressing(), curvatureSeparation::calcCosAngle(), epsilonWallFunctionFvPatchScalarField::calculate(), omegaWallFunctionFvPatchScalarField::calculate(), epsilonWallFunctionFvPatchScalarField::calculateTurbulenceFields(), omegaWallFunctionFvPatchScalarField::calculateTurbulenceFields(), fvPatch::Cn(), inverseFaceDistanceDiffusivity::correct(), inversePointDistanceDiffusivity::correct(), SSG< BasicTurbulenceModel >::correct(), LRR< BasicTurbulenceModel >::correct(), pointLinear< Type >::correction(), coupledFvPatch::faceCells(), regionCoupledFvPatch::faceCells(), regionCoupledWallFvPatch::faceCells(), epsilonWallFunctionFvPatchScalarField::manipulateMatrix(), omegaWallFunctionFvPatchScalarField::manipulateMatrix(), energyRegionCoupledFvPatchScalarField::patchNeighbourField(), fvPatch::patchSlice(), energyJumpFvPatchScalarField::updateCoeffs(), energyJumpAMIFvPatchScalarField::updateCoeffs(), fWallFunctionFvPatchScalarField::updateCoeffs(), v2WallFunctionFvPatchScalarField::updateCoeffs(), kLowReWallFunctionFvPatchScalarField::updateCoeffs(), epsilonWallFunctionFvPatchScalarField::updateCoeffs(), omegaWallFunctionFvPatchScalarField::updateCoeffs(), epsilonWallFunctionFvPatchScalarField::updateWeightedCoeffs(), omegaWallFunctionFvPatchScalarField::updateWeightedCoeffs(), leastSquaresVectors::~leastSquaresVectors(), and skewCorrectionVectors::~skewCorrectionVectors().
const Foam::vectorField & Cf | ( | ) | const |
Return face centres.
Definition at line 99 of file fvPatch.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvPatch::boundaryMesh(), fvMesh::Cf(), fvPatch::index(), and fvBoundaryMesh::mesh().
Referenced by nearWallFields::calcAddressing(), fvPatch::delta(), meshToMesh0::interpolate(), and fvPatch::patchSlice().
Foam::tmp< Foam::vectorField > Cn | ( | ) | const |
Return neighbour cell centres.
Definition at line 105 of file fvPatch.C.
References fvPatch::boundaryMesh(), primitiveMesh::cellCentres(), fvPatch::faceCells(), forAll, fvBoundaryMesh::mesh(), tmp< T >::ref(), and fvPatch::size().
Referenced by fvPatch::delta(), and fvPatch::patchSlice().
const Foam::vectorField & Sf | ( | ) | const |
Return face area vectors.
Definition at line 130 of file fvPatch.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvPatch::boundaryMesh(), fvPatch::index(), fvBoundaryMesh::mesh(), and fvMesh::Sf().
Referenced by activePressureForceBaffleVelocityFvPatchVectorField::activePressureForceBaffleVelocityFvPatchVectorField(), matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField(), fvPatch::nf(), and fvPatch::patchSlice().
const Foam::scalarField & magSf | ( | ) | const |
Return face area magnitudes.
Definition at line 136 of file fvPatch.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvPatch::boundaryMesh(), fvPatch::index(), fvMesh::magSf(), and fvBoundaryMesh::mesh().
Referenced by fvPatch::nf(), fvPatch::patchSlice(), externalCoupledTemperatureMixedFvPatchScalarField::transferData(), movingWallVelocityFvPatchVectorField::updateCoeffs(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), and outletMappedUniformInletFvPatchField< Type >::updateCoeffs().
Foam::tmp< Foam::vectorField > nf | ( | ) | const |
Return face normals.
Definition at line 124 of file fvPatch.C.
References fvPatch::magSf(), and fvPatch::Sf().
Referenced by nearWallFields::calcAddressing(), curvatureSeparation::calcCosAngle(), fvPatch::delta(), cyclicFvPatch::makeWeights(), matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField(), NamedEnum< directionType, 3 >::names(), cyclicAMIFvPatch::nbrDeltan(), fvPatch::patchSlice(), and movingWallVelocityFvPatchVectorField::updateCoeffs().
|
virtual |
Return cell-centre to face-centre vector.
except for coupled patches for which the cell-centre to coupled-cell-centre vector is returned
Reimplemented in cyclicAMIFvPatch, processorFvPatch, cyclicFvPatch, and coupledFvPatch.
Definition at line 142 of file fvPatch.C.
References fvPatch::Cf(), fvPatch::Cn(), and fvPatch::nf().
Referenced by NamedEnum< directionType, 3 >::names(), fvPatch::patchSlice(), leastSquaresVectors::~leastSquaresVectors(), and skewCorrectionVectors::~skewCorrectionVectors().
const Foam::scalarField & weights | ( | ) | const |
Return patch weighting factors.
Definition at line 170 of file fvPatch.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvPatch::boundaryMesh(), fvPatch::index(), fvBoundaryMesh::mesh(), and surfaceInterpolation::weights().
Referenced by fvPatch::patchSlice().
const Foam::scalarField & deltaCoeffs | ( | ) | const |
Return the face - cell distance coeffient.
except for coupled patches for which the cell-centre to coupled-cell-centre distance coeffient is returned
Definition at line 164 of file fvPatch.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvPatch::boundaryMesh(), surfaceInterpolation::deltaCoeffs(), fvPatch::index(), and fvBoundaryMesh::mesh().
Referenced by fvPatch::patchSlice(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), and turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs().
Return given internal field next to patch as patch field.
Referenced by fvPatch::patchInternalField(), and fvPatch::patchSlice().
Return given internal field next to patch as patch field.
Definition at line 52 of file fvPatchTemplates.C.
References forAll, fvPatch::patchField(), and List< Type >::setSize().
const GeometricField::Patch & patchField | ( | const GeometricField & | gf | ) | const |
Return the corresponding patchField of the named field.
Definition at line 70 of file fvPatchTemplates.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField().
Referenced by fvPatch::patchInternalField(), fvPatch::patchSlice(), movingWallVelocityFvPatchVectorField::updateCoeffs(), and porousBafflePressureFvPatchField< Type >::updateCoeffs().
GeometricField::Patch & patchField | ( | GeometricField & | gf | ) | const |
Return the corresponding patchField reference of the named field.
Definition at line 80 of file fvPatchTemplates.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef().
const GeometricField::Patch & lookupPatchField | ( | const word & | name, |
const GeometricField * | = nullptr , |
||
const Type * | = nullptr |
||
) | const |
Lookup and return the patchField of the named field from the.
local objectRegistry. N.B. The dummy pointer arguments are used if this function is instantiated within a templated function to avoid a bug in gcc. See inletOutletFvPatchField.C and outletInletFvPatchField.C
Definition at line 32 of file fvPatchFvMeshTemplates.C.
References boundaryMesh::mesh(), and Foam::name().
Referenced by NamedEnum< directionType, 3 >::names(), fvPatch::patchSlice(), semiPermeableBaffleMassFractionFvPatchScalarField::phiY(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), and porousBafflePressureFvPatchField< Type >::updateCoeffs().
Foam::tmp<Foam::Field<Type> > patchInternalField | ( | const UList< Type > & | f | ) | const |
Definition at line 32 of file fvPatchTemplates.C.
References forAll, fvPatch::patchInternalField(), and tmp< T >::ref().
|
friend |
|
friend |