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...
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 nonConformalMappedWallPolyPatch & | nonConformalMappedWallPatch () const |
Poly patch. More... | |
const nonConformalMappedWallFvPatch & | nbrPatch () const |
Neighbour patch. More... | |
bool | owner () const |
Is this patch the owner? 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 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 polyPatch & | patch () const |
Return the polyPatch. More... | |
virtual const word & | name () 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 fvBoundaryMesh & | boundaryMesh () const |
Return boundaryMesh reference. More... | |
const objectRegistry & | db () 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 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... | |
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... | |
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 fvPatch & | patch () const |
Reference to the fvPatch. More... | |
const nonConformalPolyPatch & | nonConformalPatch () const |
Reference to the polyPatch. 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... | |
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 fvPatch & | patch () const |
Reference to the fvPatch. More... | |
const word & | nbrRegionName () const |
Name of the region to map from. More... | |
const word & | nbrPatchName () const |
Name of the patch to map from. More... | |
const transformer & | transform () const |
The transformation between the patches. More... | |
bool | haveNbr () const |
Is the neighbour available? More... | |
const fvMesh & | nbrMesh () const |
Get the mesh for the region to map from. More... | |
const fvPatch & | nbrFvPatch () 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< 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... | |
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 mappedFvPatchBaseBase & | getMap (const fvPatch &patch) |
Cast the given fvPatch to a mappedFvPatchBaseBase. Handle errors. More... | |
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.
Definition at line 58 of file nonConformalMappedWallFvPatch.H.
nonConformalMappedWallFvPatch | ( | const polyPatch & | patch, |
const fvBoundaryMesh & | bm | ||
) |
Construct from polyPatch and fvBoundaryMesh.
Definition at line 49 of file nonConformalMappedWallFvPatch.C.
|
virtual |
Destructor.
Definition at line 67 of file nonConformalMappedWallFvPatch.C.
TypeName | ( | nonConformalMappedWallPolyPatch::typeName_() | ) |
Runtime type information.
const Foam::nonConformalMappedWallPolyPatch & nonConformalMappedWallPatch | ( | ) | const |
Poly patch.
Definition at line 74 of file nonConformalMappedWallFvPatch.C.
const Foam::nonConformalMappedWallFvPatch & nbrPatch | ( | ) | const |
Neighbour patch.
Definition at line 81 of file nonConformalMappedWallFvPatch.C.
Referenced by fvMeshStitcher::patchCoupleds().
bool owner | ( | ) | const |
Is this patch the owner?
Definition at line 87 of file nonConformalMappedWallFvPatch.C.
const labelList& polyFaces | ( | ) | const |
Return face face-poly-faces.
|
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().
|
virtual |
Return the size.
Reimplemented from nonConformalFvPatch.
Definition at line 99 of file nonConformalMappedWallFvPatch.C.
References nonConformalFvPatch::size().
|
virtual |
Return the face-cells.
Reimplemented from nonConformalFvPatch.
Definition at line 105 of file nonConformalMappedWallFvPatch.C.
References nonConformalFvPatch::faceCells().
|
virtual |
Return the face-poly-faces patch field type.
Implements nonConformalFvPatch.
Definition at line 111 of file nonConformalMappedWallFvPatch.C.
References Field< Type >::typeName.