nonConformalErrorFvPatch Class Reference

Non-conformal error FV patch. As nonConformalFvPatch. This patch is a non-coupled non-conformal patch which is used to manage the errors created during the construction of a non-conformal coupled interface. Every patch used as the original patch of the owner side of a non-conformal coupled interface must also have an associated error patch. More...

Inheritance diagram for nonConformalErrorFvPatch:
Collaboration diagram for nonConformalErrorFvPatch:

Public Member Functions

 TypeName (nonConformalErrorPolyPatch::typeName_())
 Runtime type information. More...
 
 nonConformalErrorFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm)
 Construct from polyPatch and fvBoundaryMesh. More...
 
virtual ~nonConformalErrorFvPatch ()
 Destructor. More...
 
const labelList & polyFaces () const
 Return face face-poly-faces. More...
 
virtual label start () const
 Return the start label of this patch in the polyMesh face list. More...
 
virtual label size () const
 Return the size. More...
 
virtual const labelUList & faceCells () const
 Return the face-cells. More...
 
virtual tmp< vectorField > delta () const
 Return delta vectors. It doesn't really matter what these are,. More...
 
virtual word polyFacesType () const
 Return the face-poly-faces patch field type. More...
 
- Public Member Functions inherited from fvPatch
 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...
 
 fvPatch (const fvPatch &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~fvPatch ()
 Destructor. More...
 
const polyPatch & poly () const
 Return the polyPatch. More...
 
virtual const word & name () const
 Return name. More...
 
virtual bool constraint () const
 Return true if this patch is a constraint type. 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 objectRegistry & db () const
 Return the local object registry. More...
 
const fvMesh & mesh () const
 Return mesh reference. More...
 
const Time & time () const
 Return time. 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...
 
const vectorField & Cf () const
 Return face centres. More...
 
const DimensionedField< vector, fvPatch > & C () const
 Return dimensioned 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...
 
tmp< scalarField > polyFaceFraction () const
 Return the fraction of the poly-face that each fv-face in this. More...
 
virtual void makeWeights (scalarField &) const
 Make patch weighting factors. More...
 
const scalarField & weights () const
 Return patch weighting factors. More...
 
virtual const scalarField & deltaCoeffs () const
 Return the face - cell distance coefficient. 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
 Lookup and return the patchField of the named field from the. More...
 
template<class Type >
tmp< DimensionedField< Type, fvPatch > > lookupField (const word &) const
 Lookup a dimensioned field for this geometry. More...
 
void operator= (const fvPatch &)=delete
 Disallow default bitwise assignment. More...
 
const fvMesh & operator() () const
 Return reference to fvMesh. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > patchInternalField (const UList< Type > &f) const
 
template<class Type >
Foam::tmp< Foam::DimensionedField< Type, Foam::fvPatch > > lookupField (const word &name) const
 
- Public Member Functions inherited from nonConformalFvPatch
 TypeName (nonConformalPolyPatch::typeName_())
 Runtime type information. More...
 
 nonConformalFvPatch (const fvPatch &patch)
 Construct from a patch. More...
 
virtual ~nonConformalFvPatch ()
 Destructor. More...
 
const fvPatch & patch () const
 Reference to the fvPatch. More...
 
const word & origPatchName () const
 Original patch name. More...
 
label origPatchIndex () const
 Original patch ID. More...
 
const fvPatch & origPatch () const
 Original patch. More...
 
const labelList & polyFaces () const
 Return face face-poly-faces. More...
 

Additional Inherited Members

- Public Types inherited from fvPatch
typedef fvMesh Mesh
 Mesh type. More...
 
typedef fvBoundaryMesh BoundaryMesh
 Boundary mesh type. More...
 
typedef faceZone Zone
 Zone type. More...
 
- Static Public Member Functions inherited from fvPatch
static autoPtr< fvPatch > New (const polyPatch &, const fvBoundaryMesh &)
 Return a pointer to a new patch created on freestore from polyPatch. More...
 

Detailed Description

Non-conformal error FV patch. As nonConformalFvPatch. This patch is a non-coupled non-conformal patch which is used to manage the errors created during the construction of a non-conformal coupled interface. Every patch used as the original patch of the owner side of a non-conformal coupled interface must also have an associated error patch.

See also
Foam::nonConformalFvPatch
Source files

Definition at line 57 of file nonConformalErrorFvPatch.H.

Constructor & Destructor Documentation

◆ nonConformalErrorFvPatch()

nonConformalErrorFvPatch ( const polyPatch &  patch,
const fvBoundaryMesh &  bm 
)

Construct from polyPatch and fvBoundaryMesh.

Definition at line 44 of file nonConformalErrorFvPatch.C.

◆ ~nonConformalErrorFvPatch()

Destructor.

Definition at line 58 of file nonConformalErrorFvPatch.C.

Member Function Documentation

◆ TypeName()

TypeName ( nonConformalErrorPolyPatch::typeName_()  )

Runtime type information.

◆ polyFaces()

const Foam::labelList & polyFaces ( ) const

Return face face-poly-faces.

Definition at line 64 of file nonConformalErrorFvPatch.C.

References nonConformalFvPatch::polyFaces().

Here is the call graph for this function:

◆ start()

Foam::label start ( ) const
virtual

Return the start label of this patch in the polyMesh face list.

Raises an error unless the patch is empty.

Reimplemented from nonConformalFvPatch.

Definition at line 70 of file nonConformalErrorFvPatch.C.

References nonConformalFvPatch::start().

Here is the call graph for this function:

◆ size()

Foam::label size ( ) const
virtual

Return the size.

Reimplemented from nonConformalFvPatch.

Definition at line 76 of file nonConformalErrorFvPatch.C.

References nonConformalFvPatch::size().

Here is the call graph for this function:

◆ faceCells()

const Foam::labelUList & faceCells ( ) const
virtual

Return the face-cells.

Reimplemented from nonConformalFvPatch.

Definition at line 82 of file nonConformalErrorFvPatch.C.

References nonConformalFvPatch::faceCells().

Here is the call graph for this function:

◆ delta()

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

Return delta vectors. It doesn't really matter what these are,.

this is an error patch after all, they just have to be stable/non-zero. The standard formulation in fvPatch is not stable because it depends on the face normal, which for an error face is arbitrary. So, we use the same as for coupled patches; the vector between the cell and the face centres.

Reimplemented from fvPatch.

Definition at line 88 of file nonConformalErrorFvPatch.C.

◆ polyFacesType()

Foam::word polyFacesType ( ) const
virtual

Return the face-poly-faces patch field type.

Implements nonConformalFvPatch.

Definition at line 94 of file nonConformalErrorFvPatch.C.

References Field< Type >::typeName.


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