A finiteVolume patch using a polyPatch and a fvBoundaryMesh. More...
Public Types | |
typedef fvBoundaryMesh | BoundaryMesh |
Public Member Functions | |
virtual void | makeWeights (scalarField &) const |
virtual void | makeDeltaCoeffs (scalarField &) const |
virtual void | makeNonOrthoDeltaCoeffs (scalarField &) const |
virtual void | makeNonOrthoCorrVectors (vectorField &) const |
virtual void | initMovePoints () |
virtual void | movePoints () |
TypeName (polyPatch::typeName_()) | |
declareRunTimeSelectionTable (autoPtr, fvPatch, polyPatch,(const polyPatch &patch, const fvBoundaryMesh &bm),(patch, bm)) | |
fvPatch (const polyPatch &, const fvBoundaryMesh &) | |
virtual | ~fvPatch () |
const polyPatch & | patch () const |
virtual const word & | name () const |
virtual label | start () const |
virtual label | size () const |
virtual bool | coupled () const |
label | index () const |
const fvBoundaryMesh & | boundaryMesh () const |
template<class T > | |
const List< T >::subList | patchSlice (const List< T > &l) const |
virtual const labelUList & | faceCells () const |
const vectorField & | Cf () const |
tmp< vectorField > | Cn () const |
const vectorField & | Sf () const |
const scalarField & | magSf () const |
tmp< vectorField > | nf () const |
virtual tmp< vectorField > | delta () const |
const scalarField & | weights () const |
const scalarField & | deltaCoeffs () const |
template<class Type > | |
tmp< Field< Type > > | patchInternalField (const UList< Type > &) const |
template<class Type > | |
tmp< Field< Type > > | patchInternalField (const UList< Type > &, const labelUList &faceCells) const |
template<class Type > | |
void | patchInternalField (const UList< Type > &, Field< Type > &) const |
template<class GeometricField , class Type > | |
const GeometricField::Patch & | patchField (const GeometricField &) const |
template<class GeometricField , class Type > | |
const GeometricField::Patch & | lookupPatchField (const word &name, const GeometricField *=nullptr, const Type *=nullptr) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | patchInternalField (const UList< Type > &f) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | patchInternalField (const UList< Type > &f, const labelUList &faceCells) const |
Static Public Member Functions | |
static autoPtr< fvPatch > | New (const polyPatch &, const fvBoundaryMesh &) |
static const fvPatch & | lookupPatch (const polyPatch &p) |
static bool | constraintType (const word &pt) |
static wordList | constraintTypes () |
Friends | |
class | fvBoundaryMesh |
class | surfaceInterpolation |
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
typedef fvBoundaryMesh BoundaryMesh |
fvPatch | ( | const polyPatch & | p, |
const fvBoundaryMesh & | bm | ||
) |
|
virtual |
Reimplemented in coupledFvPatch, cyclicACMIFvPatch, cyclicFvPatch, cyclicAMIFvPatch, and processorFvPatch.
Definition at line 163 of file fvPatch.C.
Referenced by cyclicAMIFvPatch::makeWeights(), and cyclicACMIFvPatch::makeWeights().
|
virtual |
Reimplemented in mappedVariableThicknessWallFvPatch, and cyclicAMIFvPatch.
|
virtual |
Reimplemented in cyclicAMIFvPatch.
|
virtual |
Reimplemented in cyclicAMIFvPatch.
|
virtual |
Reimplemented in cyclicACMIFvPatch, and cyclicAMIFvPatch.
TypeName | ( | polyPatch::typeName_() | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
fvPatch | , | ||
polyPatch | , | ||
(const polyPatch &patch, const fvBoundaryMesh &bm) | , | ||
(patch, bm) | |||
) |
|
static |
Definition at line 28 of file fvPatchNew.C.
References DebugInFunction, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInLookup, and Foam::foamVersion::patch.
Referenced by fvMeshAdder::add(), and meshRefinement::appendPatch().
|
static |
Definition at line 42 of file fvPatch.C.
References fvMesh::boundary(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and p.
|
inline |
Definition at line 157 of file fvPatch.H.
Referenced by reconstructedDistanceFunction::constructRDF(), Foam::evaluateConstraintTypes(), mappedVariableThicknessWallFvPatch::makeDeltaCoeffs(), trackingInverseDistance::markBoundaries(), inverseDistance::markBoundaries(), cyclicACMIFvPatch::movePoints(), parseDriver::pointSize(), cyclicACMIFvPatch::resetPatchAreas(), parseDriver::size(), outletMappedUniformInletHeatAdditionFvPatchField::updateCoeffs(), activeBaffleVelocityFvPatchVectorField::updateCoeffs(), activePressureForceBaffleVelocityFvPatchVectorField::updateCoeffs(), and regionSizeDistribution::write().
|
inlinevirtual |
Definition at line 163 of file fvPatch.H.
References patchIdentifier::name().
Referenced by fieldExtents::calcFieldExtents(), wallHeatFlux::execute(), meshToMesh0::interpolate(), fvMeshDistribute::testField(), cyclicACMIFvPatch::updateAreas(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), thermalBaffle1DFvPatchScalarField< solidType >::updateCoeffs(), porousBafflePressureFvPatchField< Type >::updateCoeffs(), humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs(), and wallShearStress::write().
|
inlinevirtual |
Definition at line 169 of file fvPatch.H.
References polyPatch::start().
Referenced by CentredFitSnGradData< Polynomial >::calcFit(), extendedFaceToCellStencil::collectData(), extendedCellToFaceStencil::collectData(), inverseFaceDistanceDiffusivity::correct(), inversePointDistanceDiffusivity::correct(), pointLinear< Type >::correction(), dynamicRefineFvMesh::mapFields(), fvMeshAdder::MapSurfaceField(), Foam::oversetAdjustPhi(), fvPatch::patchSlice(), fvMeshDistribute::testField(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), mappedFixedInternalValueFvPatchField< Type >::updateCoeffs(), extendedUpwindCellToFaceStencil::weightedSum(), and extendedCellToFaceStencil::weightedSum().
|
inlinevirtual |
Reimplemented in emptyFvPatch.
Definition at line 175 of file fvPatch.H.
Referenced by boundaryAdjointContribution::adjointTMVariable1Source(), boundaryAdjointContribution::adjointTMVariable2Source(), boundaryAdjointContributionIncompressible::laminarDiffusivity(), boundaryAdjointContributionIncompressible::momentumDiffusion(), fvPatch::patchSlice(), fvPatchMapper::size(), boundaryAdjointContributionIncompressible::thermalDiffusion(), boundaryAdjointContributionIncompressible::TMVariable1(), boundaryAdjointContribution::TMVariable1(), boundaryAdjointContribution::TMVariable1Diffusion(), boundaryAdjointContribution::TMVariable2(), boundaryAdjointContributionIncompressible::TMVariable2(), boundaryAdjointContribution::TMVariable2Diffusion(), liquidFilmBase::Up(), and boundaryAdjointContributionIncompressible::wallDistance().
|
inlinevirtual |
Reimplemented in cyclicAMIFvPatch, cyclicACMIFvPatch, processorFvPatch, and coupledFvPatch.
Definition at line 181 of file fvPatch.H.
References polyPatch::coupled().
|
static |
Definition at line 84 of file fvPatch.C.
References forAllConstIters(), and List::setSize().
|
inline |
Definition at line 193 of file fvPatch.H.
References patchIdentifier::index().
Referenced by boundaryAdjointContributionIncompressible::laminarDiffusivity(), boundaryAdjointContributionIncompressible::momentumDiffusion(), cyclicAMIFvPatch::movePoints(), boundaryAdjointContributionIncompressible::pab(), boundaryAdjointContributionIncompressible::pb(), boundaryAdjointContributionIncompressible::phiab(), boundaryAdjointContributionIncompressible::phib(), boundaryAdjointContributionIncompressible::pressureSource(), boundaryAdjointContributionIncompressible::tangentVelocitySource(), boundaryAdjointContributionIncompressible::TMVariable1(), boundaryAdjointContributionIncompressible::TMVariable1Diffusion(), boundaryAdjointContributionIncompressible::TMVariable2(), boundaryAdjointContributionIncompressible::TMVariable2Diffusion(), boundaryAdjointContributionIncompressible::turbulentDiffusivity(), boundaryAdjointContributionIncompressible::Uab(), boundaryAdjointContributionIncompressible::Ub(), liquidFilmBase::Up(), energyJumpAMIFvPatchScalarField::updateCoeffs(), energyJumpFvPatchScalarField::updateCoeffs(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), kLowReWallFunctionFvPatchScalarField::updateCoeffs(), velocityFilmShellFvPatchVectorField::updateCoeffs(), liquidFilmBase::Uw(), boundaryAdjointContributionIncompressible::velocitySource(), and boundaryAdjointContributionIncompressible::wallDistance().
|
inline |
Definition at line 199 of file fvPatch.H.
Referenced by cyclicAMIFvPatch::coupled(), parseDriver::mesh(), cyclicFvPatch::neighbFvPatch(), cyclicACMIFvPatch::neighbFvPatch(), cyclicAMIFvPatch::neighbFvPatch(), cyclicFvPatch::neighbPatch(), cyclicACMIFvPatch::neighbPatch(), cyclicAMIFvPatch::neighbPatch(), cyclicACMIFvPatch::nonOverlapPatch(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), outletMappedUniformInletHeatAdditionFvPatchField::updateCoeffs(), and porousBafflePressureFvPatchField< Type >::updateCoeffs().
Definition at line 206 of file fvPatch.H.
References fvPatch::size(), and fvPatch::start().
Referenced by fvFieldDecomposer::reset().
|
virtual |
Reimplemented in coupledFvPatch, oversetFvPatch, and emptyFvPatch.
Definition at line 106 of file fvPatch.C.
Referenced by curvatureSeparation::calcCosAngle(), epsilonWallFunctionFvPatchScalarField::calculateTurbulenceFields(), omegaWallFunctionFvPatchScalarField::calculateTurbulenceFields(), inverseFaceDistanceDiffusivity::correct(), inversePointDistanceDiffusivity::correct(), contactAngleForce::correct(), SSG< BasicTurbulenceModel >::correct(), LRR< BasicTurbulenceModel >::correct(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), pointLinear< Type >::correction(), coupledFvPatch::faceCells(), cellVolumeWeight::findHoles(), inverseDistance::findHoles(), trackingInverseDistance::markBoundaries(), inverseDistance::markBoundaries(), cellVolumeWeight::markPatchCells(), Foam::oversetAdjustPhi(), energyJumpAMIFvPatchScalarField::updateCoeffs(), energyJumpFvPatchScalarField::updateCoeffs(), and kLowReWallFunctionFvPatchScalarField::updateCoeffs().
const Foam::vectorField & Cf | ( | ) | const |
Definition at line 112 of file fvPatch.C.
References boundaryMesh::mesh().
Referenced by fieldExtents::calcFieldExtents(), meshToMesh0::interpolate(), cyclicAMIFvPatch::movePoints(), and cyclicACMIFvPatch::resetPatchAreas().
Foam::tmp< Foam::vectorField > Cn | ( | ) | const |
Definition at line 118 of file fvPatch.C.
References forAll, boundaryMesh::mesh(), and tmp::New().
const Foam::vectorField & Sf | ( | ) | const |
Definition at line 143 of file fvPatch.C.
References boundaryMesh::mesh().
Referenced by cyclicAMIFvPatch::movePoints(), cyclicACMIFvPatch::resetPatchAreas(), activeBaffleVelocityFvPatchVectorField::updateCoeffs(), and activePressureForceBaffleVelocityFvPatchVectorField::updateCoeffs().
const Foam::scalarField & magSf | ( | ) | const |
Definition at line 149 of file fvPatch.C.
References boundaryMesh::mesh().
Referenced by parseDriver::areaAverage(), parseDriver::areaSum(), parseDriver::field_faceArea(), cyclicAMIFvPatch::movePoints(), cyclicACMIFvPatch::movePoints(), cyclicACMIFvPatch::resetPatchAreas(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), outletMappedUniformInletHeatAdditionFvPatchField::updateCoeffs(), outletMappedUniformInletFvPatchField< Type >::updateCoeffs(), activeBaffleVelocityFvPatchVectorField::updateCoeffs(), and activePressureForceBaffleVelocityFvPatchVectorField::updateCoeffs().
Foam::tmp< Foam::vectorField > nf | ( | ) | const |
Definition at line 137 of file fvPatch.C.
Referenced by curvatureSeparation::calcCosAngle(), ReynoldsAnalogy::Cf(), processorFvPatch::makeWeights(), cyclicFvPatch::makeWeights(), cyclicAMIFvPatch::makeWeights(), cyclicACMIFvPatch::makeWeights(), boundaryAdjointContributionIncompressible::pressureSource(), and boundaryAdjointContributionIncompressible::tangentVelocitySource().
|
virtual |
Reimplemented in coupledFvPatch, cyclicAMIFvPatch, cyclicACMIFvPatch, cyclicFvPatch, and processorFvPatch.
const Foam::scalarField & weights | ( | ) | const |
Definition at line 195 of file fvPatch.C.
References boundaryMesh::mesh().
const Foam::scalarField & deltaCoeffs | ( | ) | const |
Definition at line 189 of file fvPatch.C.
References boundaryMesh::mesh().
Referenced by contactAngleForce::correct(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), and humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
tmp<Field<Type> > patchInternalField | ( | const UList< Type > & | , |
const labelUList & | faceCells | ||
) | const |
const GeometricField::Patch & patchField | ( | const GeometricField & | gf | ) | const |
Definition at line 75 of file fvPatchTemplates.C.
References GeometricField::boundaryField().
Referenced by porousBafflePressureFvPatchField< Type >::updateCoeffs().
const GeometricField::Patch & lookupPatchField | ( | const word & | name, |
const GeometricField * | = nullptr , |
||
const Type * | = nullptr |
||
) | const |
Definition at line 27 of file fvPatchFvMeshTemplates.C.
References mesh, and Foam::name().
Referenced by semiPermeableBaffleMassFractionFvPatchScalarField::phiY(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), porousBafflePressureFvPatchField< Type >::updateCoeffs(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), and humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs().
Foam::tmp<Foam::Field<Type> > patchInternalField | ( | const UList< Type > & | f | ) | const |
Definition at line 28 of file fvPatchTemplates.C.
References f().
Foam::tmp<Foam::Field<Type> > patchInternalField | ( | const UList< Type > & | f, |
const labelUList & | faceCells | ||
) | const |
Definition at line 38 of file fvPatchTemplates.C.
References f(), forAll, and Foam::New().
|
friend |
|
friend |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.