nonConformalMappedWallFvPatch Class Reference

Wall fv patch which can do non-conformal mapping of values from another potentially non-globally conforming wall fv patch. As nonConformalFvPatch, but the neighbouring patch is local and known and is made available by this class. More...

Inheritance diagram for nonConformalMappedWallFvPatch:
Collaboration diagram for nonConformalMappedWallFvPatch:

Public Member Functions

 TypeName (nonConformalMappedWallPolyPatch::typeName_())
 Runtime type information. More...
 
 nonConformalMappedWallFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm)
 Construct from polyPatch and fvBoundaryMesh. More...
 
virtual ~nonConformalMappedWallFvPatch ()
 Destructor. More...
 
const nonConformalMappedWallPolyPatchnonConformalMappedWallPatch () const
 Poly patch. More...
 
const nonConformalMappedWallFvPatchnbrPatch () const
 Neighbour patch. More...
 
bool owner () const
 Is this patch the owner? More...
 
const labelListpolyFaces () 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 labelUListfaceCells () const
 Return the face-cells. More...
 
virtual word polyFacesType () const
 Return the face-poly-faces patch field type. More...
 
- Public Member Functions inherited from wallFvPatch
 TypeName (wallPolyPatch::typeName_())
 Runtime type information. More...
 
 wallFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm)
 Construct from components. 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 polyPatchpatch () const
 Return the polyPatch. More...
 
virtual const wordname () const
 Return name. 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 fvBoundaryMeshboundaryMesh () const
 Return boundaryMesh reference. More...
 
const objectRegistrydb () const
 Return the local object registry. More...
 
template<class T >
const List< T >::subList patchSlice (const List< T > &l) const
 Slice list to patch. More...
 
const vectorFieldCf () const
 Return face centres. More...
 
tmp< vectorFieldCn () const
 Return neighbour cell centres. More...
 
const vectorFieldSf () const
 Return face area vectors. More...
 
const scalarFieldmagSf () const
 Return face area magnitudes. More...
 
tmp< vectorFieldnf () const
 Return face normals. More...
 
virtual tmp< vectorFielddelta () const
 Return cell-centre to face-centre vector. More...
 
tmp< scalarFieldpolyFaceFraction () 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 scalarFieldweights () const
 Return patch weighting factors. More...
 
virtual const scalarFielddeltaCoeffs () 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::PatchpatchField (const GeometricField &) const
 Return the corresponding patchField of the named field. More...
 
template<class GeometricField , class Type >
GeometricField::PatchpatchField (GeometricField &) const
 Return the corresponding patchField reference of the named field. More...
 
template<class GeometricField , class Type >
const GeometricField::PatchlookupPatchField (const word &name) const
 Lookup and return the patchField of the named field from the. More...
 
void operator= (const fvPatch &)=delete
 Disallow default bitwise assignment. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > patchInternalField (const UList< Type > &f) 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 fvPatchpatch () const
 Reference to the fvPatch. More...
 
const nonConformalPolyPatchnonConformalPatch () const
 Reference to the polyPatch. More...
 
const wordorigPatchName () const
 Original patch name. More...
 
label origPatchIndex () const
 Original patch ID. More...
 
const fvPatchorigPatch () const
 Original patch. More...
 
const labelListpolyFaces () const
 Return face face-poly-faces. More...
 
- Public Member Functions inherited from nonConformalMappedFvPatchBase
 TypeName ("nonConformalMappedFvPatchBase")
 Runtime type information. More...
 
 nonConformalMappedFvPatchBase (const fvPatch &patch)
 Construct from a patch. More...
 
virtual ~nonConformalMappedFvPatchBase ()
 Destructor. More...
 
 DEFINE_MAPPED_FV_PATCH_BASE_FROM_AND_TO_NEIGHBOUR (label,)
 Map/interpolate. More...
 
 FOR_ALL_FIELD_TYPES (DEFINE_MAPPED_FV_PATCH_BASE_FROM_AND_TO_NEIGHBOUR,)
 Map/interpolate. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > fromNeighbour (const Field< Type > &nbrFld) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > toNeighbour (const Field< Type > &fld) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > map (const fvsPatchLabelField &srcPolyFacesPf, const Field< Type > &srcFld, const fvsPatchLabelField &tgtPolyFacesPf)
 
template<class Type >
Foam::tmp< Foam::Field< Type > > map (const fvsPatchLabelField &srcPolyFacesPf, Field< Type > &&srcFld, const fvsPatchLabelField &tgtPolyFacesPf)
 
template<class Type >
Foam::tmp< Foam::Field< Type > > map (const fvsPatchLabelField &srcPolyFacesPf, const tmp< Field< Type >> &srcFld, const fvsPatchLabelField &tgtPolyFacesPf)
 
- Public Member Functions inherited from mappedFvPatchBaseBase
 TypeName ("mappedFvPatchBaseBase")
 Runtime type information. More...
 
 mappedFvPatchBaseBase (const fvPatch &patch)
 Construct from a patch. More...
 
virtual ~mappedFvPatchBaseBase ()
 Destructor. More...
 
const fvPatchpatch () const
 Reference to the fvPatch. More...
 
const wordnbrRegionName () const
 Name of the region to map from. More...
 
const wordnbrPatchName () const
 Name of the patch to map from. More...
 
const transformertransform () const
 The transformation between the patches. More...
 
bool haveNbr () const
 Is the neighbour available? More...
 
const fvMeshnbrMesh () const
 Get the mesh for the region to map from. More...
 
const fvPatchnbrFvPatch () const
 Get the patch to map from. More...
 
 FOR_ALL_FIELD_TYPES (DEFINE_MAPPED_FV_PATCH_BASE_FROM_AND_TO_NEIGHBOUR,=0)
 Map/interpolate. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from fvPatch
static autoPtr< fvPatchNew (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...
 
- Static Public Member Functions inherited from nonConformalMappedFvPatchBase
template<class Type >
static tmp< Field< Type > > map (const fvsPatchLabelField &srcPolyFacesPf, const Field< Type > &srcFld, const fvsPatchLabelField &tgtPolyFacesPf)
 Map/interpolate from one patch to another. More...
 
template<class Type >
static tmp< Field< Type > > map (const fvsPatchLabelField &srcPolyFacesPf, Field< Type > &&srcFld, const fvsPatchLabelField &tgtPolyFacesPf)
 Map/interpolate from one patch to another. More...
 
template<class Type >
static tmp< Field< Type > > map (const fvsPatchLabelField &srcPolyFacesPf, const tmp< Field< Type >> &srcFld, const fvsPatchLabelField &tgtPolyFacesPf)
 Map/interpolate from one patch to another. More...
 
- Static Public Member Functions inherited from mappedFvPatchBaseBase
static const mappedFvPatchBaseBasegetMap (const fvPatch &patch)
 Cast the given fvPatch to a mappedFvPatchBaseBase. Handle errors. More...
 

Detailed Description

Wall fv patch which can do non-conformal mapping of values from another potentially non-globally conforming wall fv patch. As nonConformalFvPatch, but the neighbouring patch is local and known and is made available by this class.

See also
Foam::nonConformalFvPatch Foam::nonConformalMappedPolyPatch
Source files

Definition at line 58 of file nonConformalMappedWallFvPatch.H.

Constructor & Destructor Documentation

◆ nonConformalMappedWallFvPatch()

nonConformalMappedWallFvPatch ( const polyPatch patch,
const fvBoundaryMesh bm 
)

Construct from polyPatch and fvBoundaryMesh.

Definition at line 49 of file nonConformalMappedWallFvPatch.C.

◆ ~nonConformalMappedWallFvPatch()

Destructor.

Definition at line 67 of file nonConformalMappedWallFvPatch.C.

Member Function Documentation

◆ TypeName()

TypeName ( nonConformalMappedWallPolyPatch::typeName_()  )

Runtime type information.

◆ nonConformalMappedWallPatch()

const Foam::nonConformalMappedWallPolyPatch & nonConformalMappedWallPatch ( ) const

Poly patch.

Definition at line 74 of file nonConformalMappedWallFvPatch.C.

◆ nbrPatch()

const Foam::nonConformalMappedWallFvPatch & nbrPatch ( ) const

Neighbour patch.

Definition at line 81 of file nonConformalMappedWallFvPatch.C.

Referenced by fvMeshStitcher::patchCoupleds().

Here is the caller graph for this function:

◆ owner()

bool owner ( ) const

Is this patch the owner?

Definition at line 87 of file nonConformalMappedWallFvPatch.C.

◆ polyFaces()

const labelList& polyFaces ( ) const

Return face face-poly-faces.

◆ 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 93 of file nonConformalMappedWallFvPatch.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 99 of file nonConformalMappedWallFvPatch.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 105 of file nonConformalMappedWallFvPatch.C.

References nonConformalFvPatch::faceCells().

Here is the call graph for this function:

◆ polyFacesType()

Foam::word polyFacesType ( ) const
virtual

Return the face-poly-faces patch field type.

Implements nonConformalFvPatch.

Definition at line 111 of file nonConformalMappedWallFvPatch.C.

References Field< Type >::typeName.


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