Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
fvPatch Class Reference

A finiteVolume patch using a polyPatch and a fvBoundaryMesh. More...

Inheritance diagram for fvPatch:
Inheritance graph
[legend]

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 polyPatchpatch () const
 
virtual const wordname () const
 
virtual label start () const
 
virtual label size () const
 
virtual bool coupled () const
 
label index () const
 
const fvBoundaryMeshboundaryMesh () const
 
template<class T >
const List< T >::subList patchSlice (const List< T > &l) const
 
virtual const labelUListfaceCells () const
 
const vectorFieldCf () const
 
tmp< vectorFieldCn () const
 
const vectorFieldSf () const
 
const scalarFieldmagSf () const
 
tmp< vectorFieldnf () const
 
virtual tmp< vectorFielddelta () const
 
const scalarFieldweights () const
 
const scalarFielddeltaCoeffs () 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::PatchpatchField (const GeometricField &) const
 
template<class GeometricField , class Type >
const GeometricField::PatchlookupPatchField (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< fvPatchNew (const polyPatch &, const fvBoundaryMesh &)
 
static const fvPatchlookupPatch (const polyPatch &p)
 
static bool constraintType (const word &pt)
 
static wordList constraintTypes ()
 

Friends

class fvBoundaryMesh
 
class surfaceInterpolation
 

Detailed Description

A finiteVolume patch using a polyPatch and a fvBoundaryMesh.

Source files

Definition at line 61 of file fvPatch.H.

Member Typedef Documentation

◆ BoundaryMesh

Definition at line 106 of file fvPatch.H.

Constructor & Destructor Documentation

◆ fvPatch()

fvPatch ( const polyPatch p,
const fvBoundaryMesh bm 
)

Definition at line 59 of file fvPatch.C.

◆ ~fvPatch()

~fvPatch ( )
virtual

Definition at line 68 of file fvPatch.C.

Member Function Documentation

◆ makeWeights()

void makeWeights ( scalarField w) const
virtual

Reimplemented in coupledFvPatch, cyclicACMIFvPatch, cyclicFvPatch, cyclicAMIFvPatch, and processorFvPatch.

Definition at line 163 of file fvPatch.C.

Referenced by cyclicAMIFvPatch::makeWeights(), and cyclicACMIFvPatch::makeWeights().

Here is the caller graph for this function:

◆ makeDeltaCoeffs()

void makeDeltaCoeffs ( scalarField w) const
virtual

Reimplemented in mappedVariableThicknessWallFvPatch, and cyclicAMIFvPatch.

Definition at line 169 of file fvPatch.C.

◆ makeNonOrthoDeltaCoeffs()

void makeNonOrthoDeltaCoeffs ( scalarField w) const
virtual

Reimplemented in cyclicAMIFvPatch.

Definition at line 173 of file fvPatch.C.

◆ makeNonOrthoCorrVectors()

void makeNonOrthoCorrVectors ( vectorField w) const
virtual

Reimplemented in cyclicAMIFvPatch.

Definition at line 177 of file fvPatch.C.

◆ initMovePoints()

void initMovePoints ( )
virtual

Definition at line 181 of file fvPatch.C.

◆ movePoints()

void movePoints ( )
virtual

Reimplemented in cyclicACMIFvPatch, and cyclicAMIFvPatch.

Definition at line 185 of file fvPatch.C.

◆ TypeName()

TypeName ( polyPatch::typeName_()  )

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
fvPatch  ,
polyPatch  ,
(const polyPatch &patch, const fvBoundaryMesh &bm)  ,
(patch, bm)   
)

◆ New()

Foam::autoPtr< Foam::fvPatch > New ( const polyPatch patch,
const fvBoundaryMesh 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lookupPatch()

const Foam::fvPatch & lookupPatch ( const polyPatch p)
static

Definition at line 42 of file fvPatch.C.

References fvMesh::boundary(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and p.

Here is the call graph for this function:

◆ patch()

const polyPatch& patch ( ) const
inline

◆ name()

virtual const word& name ( ) const
inlinevirtual

◆ start()

virtual label start ( ) const
inlinevirtual

◆ size()

virtual label size ( ) const
inlinevirtual

◆ coupled()

virtual bool coupled ( ) const
inlinevirtual

Reimplemented in cyclicAMIFvPatch, cyclicACMIFvPatch, processorFvPatch, and coupledFvPatch.

Definition at line 181 of file fvPatch.H.

References polyPatch::coupled().

Here is the call graph for this function:

◆ constraintType()

bool constraintType ( const word pt)
static

Definition at line 74 of file fvPatch.C.

References found.

◆ constraintTypes()

Foam::wordList constraintTypes ( )
static

Definition at line 84 of file fvPatch.C.

References forAllConstIters(), and List::setSize().

Here is the call graph for this function:

◆ index()

label index ( ) const
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ boundaryMesh()

const fvBoundaryMesh& boundaryMesh ( ) const
inline

◆ patchSlice()

const List<T>::subList patchSlice ( const List< T > &  l) const
inline

Definition at line 206 of file fvPatch.H.

References fvPatch::size(), and fvPatch::start().

Referenced by fvFieldDecomposer::reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ faceCells()

const Foam::labelUList & faceCells ( ) const
virtual

◆ Cf()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Cn()

Foam::tmp< Foam::vectorField > Cn ( ) const

Definition at line 118 of file fvPatch.C.

References forAll, boundaryMesh::mesh(), and tmp::New().

Here is the call graph for this function:

◆ Sf()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ magSf()

const Foam::scalarField & magSf ( ) const

◆ nf()

Foam::tmp< Foam::vectorField > nf ( ) const

◆ delta()

Foam::tmp< Foam::vectorField > delta ( ) const
virtual

Reimplemented in coupledFvPatch, cyclicAMIFvPatch, cyclicACMIFvPatch, cyclicFvPatch, and processorFvPatch.

Definition at line 155 of file fvPatch.C.

◆ weights()

const Foam::scalarField & weights ( ) const

Definition at line 195 of file fvPatch.C.

References boundaryMesh::mesh().

Here is the call graph for this function:

◆ deltaCoeffs()

const Foam::scalarField & deltaCoeffs ( ) const

◆ patchInternalField() [1/5]

tmp<Field<Type> > patchInternalField ( const UList< Type > &  ) const

◆ patchInternalField() [2/5]

tmp<Field<Type> > patchInternalField ( const UList< Type > &  ,
const labelUList faceCells 
) const

◆ patchInternalField() [3/5]

void patchInternalField ( const UList< Type > &  f,
Field< Type > &  pif 
) const

Definition at line 57 of file fvPatchTemplates.C.

References f(), and forAll.

Here is the call graph for this function:

◆ patchField()

const GeometricField::Patch & patchField ( const GeometricField gf) const

Definition at line 75 of file fvPatchTemplates.C.

References GeometricField::boundaryField().

Referenced by porousBafflePressureFvPatchField< Type >::updateCoeffs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lookupPatchField()

const GeometricField::Patch & lookupPatchField ( const word name,
const GeometricField = nullptr,
const Type *  = nullptr 
) const

◆ patchInternalField() [4/5]

Foam::tmp<Foam::Field<Type> > patchInternalField ( const UList< Type > &  f) const

Definition at line 28 of file fvPatchTemplates.C.

References f().

Here is the call graph for this function:

◆ patchInternalField() [5/5]

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().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ fvBoundaryMesh

friend class fvBoundaryMesh
friend

Definition at line 108 of file fvPatch.H.

◆ surfaceInterpolation

friend class surfaceInterpolation
friend

Definition at line 109 of file fvPatch.H.


The documentation for this class was generated from the following files: