Cyclic patch for Arbitrary Mesh Interface (AMI) More...
Public Member Functions | |
TypeName ("cyclicAMI") | |
cyclicAMIPolyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType, const transformType transform=UNKNOWN, const word &defaultAMIMethod=faceAreaWeightAMI::typeName) | |
cyclicAMIPolyPatch (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm, const word &patchType, const word &defaultAMIMethod=faceAreaWeightAMI::typeName) | |
cyclicAMIPolyPatch (const cyclicAMIPolyPatch &, const polyBoundaryMesh &) | |
cyclicAMIPolyPatch (const cyclicAMIPolyPatch &pp, const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart, const word &nbrPatchName) | |
cyclicAMIPolyPatch (const cyclicAMIPolyPatch &pp, const polyBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const label newStart) | |
virtual autoPtr< polyPatch > | clone (const polyBoundaryMesh &bm) const |
virtual autoPtr< polyPatch > | clone (const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) const |
virtual autoPtr< polyPatch > | clone (const polyBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const label newStart) const |
virtual | ~cyclicAMIPolyPatch ()=default |
virtual void | newInternalProcFaces (label &, label &) const |
virtual const labelUList & | nbrCells () const |
virtual label | neighbPolyPatchID () const |
virtual refPtr< labelListList > | mapCollocatedFaces () const |
virtual bool | masterImplicit () const |
bool | canResetAMI () const |
bool | createAMIFaces () const |
bool | updatingAMI () const |
virtual bool | changeTopology () const |
virtual bool | setTopology (polyTopoChange &topoChange) |
virtual bool | coupled () const |
const word & | neighbPatchName () const |
virtual label | neighbPatchID () const |
scalar | fraction () const |
virtual bool | owner () const |
virtual const cyclicAMIPolyPatch & | neighbPatch () const |
label | periodicPatchID () const |
const AMIPatchToPatchInterpolation & | AMI () const |
const scalarListList & | weights () const |
const scalarField & | weightsSum () const |
bool | applyLowWeightCorrection () const |
vectorField & | faceAreas0 () const |
vectorField & | faceCentres0 () const |
const vector & | rotationAxis () const |
const point & | rotationCentre () const |
const vector & | separationVector () const |
virtual void | transformPosition (pointField &) const |
virtual void | transformPosition (point &l, const label facei) const |
virtual void | reverseTransformPosition (point &l, const label facei) const |
virtual void | reverseTransformDirection (vector &d, const label facei) const |
template<class Type > | |
tmp< Field< Type > > | interpolate (const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >()) const |
template<class Type > | |
tmp< Field< Type > > | interpolate (const tmp< Field< Type >> &tFld, const UList< Type > &defaultValues=UList< Type >()) const |
template<class Type > | |
tmp< Field< Type > > | interpolateUntransformed (const Field< Type > &fld, const UList< Type > &defaultValues) const |
template<class Type , class CombineOp > | |
void | interpolate (const UList< Type > &fld, const CombineOp &cop, List< Type > &result, const UList< Type > &defaultValues=UList< Type >()) const |
virtual void | calcGeometry (const primitivePatch &referPatch, const pointField &thisCtrs, const vectorField &thisAreas, const pointField &thisCc, const pointField &nbrCtrs, const vectorField &nbrAreas, const pointField &nbrCc) |
virtual void | initOrder (PstreamBuffers &, const primitivePatch &) const |
virtual bool | order (PstreamBuffers &, const primitivePatch &, labelList &faceMap, labelList &rotation) const |
label | pointFace (const label facei, const vector &n, point &p) const |
virtual void | write (Ostream &) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | interpolateUntransformed (const Field< Type > &fld, const UList< Type > &defaultValues) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | interpolate (const Field< Type > &fld, const UList< Type > &defaultValues) const |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | interpolate (const tmp< Field< Type >> &tFld, const UList< Type > &defaultValues) const |
![]() | |
TypeName ("coupled") | |
coupledPolyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType, const transformType transform) | |
coupledPolyPatch (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm, const word &patchType) | |
coupledPolyPatch (const coupledPolyPatch &, const polyBoundaryMesh &bm) | |
coupledPolyPatch (const coupledPolyPatch &, const labelList &faceCells) | |
coupledPolyPatch (const coupledPolyPatch &pp, const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) | |
coupledPolyPatch (const coupledPolyPatch &pp, const polyBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const label newStart) | |
virtual | ~coupledPolyPatch () |
virtual bool | neighbour () const |
virtual transformType | transform () const |
virtual transformType & | transform () |
virtual bool | separated () const |
virtual const vectorField & | separation () const |
virtual bool | parallel () const |
virtual const tensorField & | forwardT () const |
virtual const tensorField & | reverseT () const |
virtual const boolList & | collocated () const |
scalar | matchTolerance () const |
![]() | |
TypeName ("patch") | |
declareRunTimeSelectionTable (autoPtr, polyPatch, word,(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType),(name, size, start, index, bm, patchType)) | |
declareRunTimeSelectionTable (autoPtr, polyPatch, dictionary,(const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm, const word &patchType),(name, dict, index, bm, patchType)) | |
polyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType) | |
polyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &physicalType, const wordList &inGroups) | |
polyPatch (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm, const word &patchType) | |
polyPatch (const polyPatch &, const polyBoundaryMesh &) | |
polyPatch (const polyPatch &pp, const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) | |
polyPatch (const polyPatch &pp, const polyBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const label newStart) | |
polyPatch (const polyPatch &p) | |
polyPatch (const polyPatch &p, const labelList &faceCells) | |
virtual autoPtr< polyPatch > | clone (const labelList &faceCells) const |
virtual | ~polyPatch () |
virtual word | neighbRegionID () const |
label | offset () const |
label | start () const |
labelRange | range () const |
const polyBoundaryMesh & | boundaryMesh () const |
template<class T > | |
const UIndirectList< T > | patchInternalList (const UList< T > &internalValues) const |
template<class T > | |
const List< T >::subList | patchSlice (const UList< T > &l) const |
template<class T > | |
const Field< T >::subField | patchSlice (const Field< T > &l) const |
const vectorField::subField | faceCentres () const |
const vectorField::subField | faceAreas () const |
tmp< vectorField > | faceCellCentres () const |
tmp< scalarField > | areaFraction () const |
const labelUList & | faceCells () const |
const labelList & | meshEdges () const |
virtual void | clearAddressing () |
label | whichFace (const label l) const |
void | operator= (const polyPatch &) |
![]() | |
patchIdentifier (const patchIdentifier &)=default | |
patchIdentifier & | operator= (const patchIdentifier &)=default |
virtual | ~patchIdentifier ()=default |
patchIdentifier () | |
patchIdentifier (const word &name, const label index) | |
patchIdentifier (const word &name, const label index, const word &physicalType, const wordList &inGroups=wordList()) | |
patchIdentifier (const word &name, const dictionary &dict, const label index) | |
patchIdentifier (const patchIdentifier &ident, const label index) | |
const word & | name () const noexcept |
word & | name () noexcept |
label | index () const noexcept |
label & | index () noexcept |
const word & | physicalType () const noexcept |
word & | physicalType () noexcept |
const wordList & | inGroups () const noexcept |
wordList & | inGroups () noexcept |
bool | inGroup (const word &name) const |
void | write (Ostream &os) const |
![]() | |
PrimitivePatch (const FaceList &faces, const PointField &points) | |
PrimitivePatch (FaceList &&faces, const PointField &points) | |
PrimitivePatch (FaceList &faces, PointField &points, const bool reuse) | |
PrimitivePatch (const PrimitivePatch< FaceList, PointField > &pp) | |
virtual | ~PrimitivePatch () |
void | clearOut () |
void | clearGeom () |
void | clearTopology () |
void | clearPatchMeshAddr () |
void | swap (PrimitivePatch &)=delete |
const Field< point_type > & | points () const noexcept |
label | nFaces () const noexcept |
label | nPoints () const |
label | nEdges () const |
const edgeList & | edges () const |
const edgeList::subList | internalEdges () const |
const edgeList::subList | boundaryEdges () const |
label | nInternalEdges () const |
label | nBoundaryEdges () const |
bool | isInternalEdge (const label edgei) const |
const labelList & | boundaryPoints () const |
const labelListList & | faceFaces () const |
const labelListList & | edgeFaces () const |
const labelListList & | faceEdges () const |
const labelListList & | pointEdges () const |
const labelListList & | pointFaces () const |
const List< face_type > & | localFaces () const |
labelList | boundaryFaces () const |
labelList | uniqBoundaryFaces () const |
const labelList & | meshPoints () const |
const Map< label > & | meshPointMap () const |
const Field< point_type > & | localPoints () const |
const labelList & | localPointOrder () const |
label | whichPoint (const label gp) const |
edge | meshEdge (const label edgei) const |
edge | meshEdge (const edge &e) const |
label | findEdge (const edge &e) const |
labelList | meshEdges (const edgeList &allEdges, const labelListList &cellEdges, const labelList &faceCells) const |
labelList | meshEdges (const edgeList &allEdges, const labelListList &pointEdges) const |
label | meshEdge (const label edgei, const edgeList &allEdges, const labelListList &pointEdges) const |
labelList | meshEdges (const labelUList &edgeLabels, const edgeList &allEdges, const labelListList &pointEdges) const |
const Field< point_type > & | faceCentres () const |
const Field< point_type > & | faceAreas () const |
const Field< scalar > & | magFaceAreas () const |
const Field< point_type > & | faceNormals () const |
const Field< point_type > & | pointNormals () const |
bool | hasFaceAreas () const |
bool | hasFaceCentres () const |
bool | hasFaceNormals () const |
bool | hasPointNormals () const |
bool | hasBoundaryPoints () const |
bool | hasFaceFaces () const |
bool | hasEdgeFaces () const |
bool | hasFaceEdges () const |
bool | hasPointEdges () const |
bool | hasPointFaces () const |
bool | hasMeshPointMap () const |
template<class ToPatch > | |
List< objectHit > | projectPoints (const ToPatch &targetPatch, const Field< point_type > &projectionDirection, const intersection::algorithm=intersection::FULL_RAY, const intersection::direction=intersection::VECTOR) const |
template<class ToPatch > | |
List< objectHit > | projectFaceCentres (const ToPatch &targetPatch, const Field< point_type > &projectionDirection, const intersection::algorithm=intersection::FULL_RAY, const intersection::direction=intersection::VECTOR) const |
const labelListList & | edgeLoops () const |
surfaceTopo | surfaceType () const |
bool | checkTopology (const bool report=false, labelHashSet *setPtr=nullptr) const |
bool | checkPointManifold (const bool report=false, labelHashSet *setPtr=nullptr) const |
virtual void | movePoints (const Field< point_type > &) |
void | operator= (const PrimitivePatch< FaceList, PointField > &rhs) |
void | operator= (PrimitivePatch< FaceList, PointField > &&rhs) |
label | whichEdge (const edge &e) const |
template<class ToPatch > | |
Foam::List< Foam::objectHit > | projectPoints (const ToPatch &targetPatch, const Field< typename Foam::PrimitivePatch< FaceList, PointField >::point_type > &projectionDirection, const intersection::algorithm alg, const intersection::direction dir) const |
template<class ToPatch > | |
Foam::List< Foam::objectHit > | projectFaceCentres (const ToPatch &targetPatch, const Field< typename Foam::PrimitivePatch< FaceList, PointField >::point_type > &projectionDirection, const intersection::algorithm alg, const intersection::direction dir) const |
![]() | |
ClassName ("PrimitivePatch") | |
PrimitivePatchBase ()=default | |
Static Public Attributes | |
static const scalar | tolerance_ = 1e-10 |
![]() | |
static const Enum< transformType > | transformTypeNames |
![]() | |
static int | disallowGenericPolyPatch |
Protected Member Functions | |
virtual bool | removeAMIFaces (polyTopoChange &topoChange) |
virtual bool | addAMIFaces (polyTopoChange &topoChange) |
virtual void | setAMIFaces () |
virtual void | restoreScaledGeometry () |
const autoPtr< searchableSurface > & | surfPtr () const |
autoPtr< coordSystem::cylindrical > | cylindricalCS () const |
virtual void | resetAMI (const UList< point > &points) const |
virtual void | resetAMI () const |
virtual void | calcTransforms () |
virtual void | initGeometry (PstreamBuffers &) |
virtual void | calcGeometry (PstreamBuffers &) |
virtual void | initMovePoints (PstreamBuffers &pBufs, const pointField &) |
virtual void | movePoints (PstreamBuffers &pBufs, const pointField &) |
virtual void | initUpdateMesh (PstreamBuffers &) |
virtual void | updateMesh (PstreamBuffers &) |
virtual void | clearGeom () |
![]() | |
void | calcTransformTensors (const vectorField &Cf, const vectorField &Cr, const vectorField &nf, const vectorField &nr, const scalarField &smallDist, const scalar absTol, const transformType=UNKNOWN) const |
![]() | |
virtual void | movePoints (const Field< point_type > &) |
Additional Inherited Members | |
![]() | |
enum | transformType { UNKNOWN, ROTATIONAL, TRANSLATIONAL, COINCIDENTFULLMATCH, NOORDERING } |
![]() | |
enum | surfaceTopo { MANIFOLD, OPEN, ILLEGAL } |
typedef std::remove_reference< FaceList >::type::value_type | face_type |
typedef std::remove_reference< PointField >::type::value_type | point_type |
typedef FaceList | FaceListType |
typedef PointField | PointFieldType |
typedef face_type | FaceType |
![]() | |
static scalarField | calcFaceTol (const UList< face > &faces, const pointField &points, const pointField &faceCentres) |
![]() | |
static autoPtr< polyPatch > | New (const word &patchType, const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm) |
static autoPtr< polyPatch > | New (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm) |
static autoPtr< polyPatch > | New (const word &patchType, const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm) |
static bool | constraintType (const word &pt) |
static wordList | constraintTypes () |
![]() | |
static word | defaultName (const label n=-1) |
![]() | |
static void | writeOBJ (Ostream &os, const point &pt) |
static void | writeOBJ (Ostream &, const pointField &, const labelList &) |
static void | writeOBJ (const fileName &, const UList< face > &, const pointField &) |
static void | writeOBJ (Ostream &os, const point &p0, const point &p1, label &vertI) |
static pointField | getAnchorPoints (const UList< face > &, const pointField &, const transformType) |
static label | getRotation (const pointField &points, const face &f, const point &anchor, const scalar tol) |
Cyclic patch for Arbitrary Mesh Interface (AMI)
Includes provision for updating the patch topology to enforce a 1-to-1 face match across the interface, based on the createAMIFaces
flag.
The manipulations are based on the reference:
H.J. Aguerre, S. Márquez Damián, J.M. Gimenez, N.M.Nigro, Conservative handling of arbitrary non-conformal interfaces using an efficient supermesh, Journal of Computational Physics 335(15) 21-49. 2017. https://doi.org/10.1016/j.jcp.2017.01.018.
Definition at line 64 of file cyclicAMIPolyPatch.H.
cyclicAMIPolyPatch | ( | const word & | name, |
const label | size, | ||
const label | start, | ||
const label | index, | ||
const polyBoundaryMesh & | bm, | ||
const word & | patchType, | ||
const transformType | transform = UNKNOWN , |
||
const word & | defaultAMIMethod = faceAreaWeightAMI::typeName |
||
) |
Definition at line 599 of file cyclicAMIPolyPatch.C.
cyclicAMIPolyPatch | ( | const word & | name, |
const dictionary & | dict, | ||
const label | index, | ||
const polyBoundaryMesh & | bm, | ||
const word & | patchType, | ||
const word & | defaultAMIMethod = faceAreaWeightAMI::typeName |
||
) |
Definition at line 638 of file cyclicAMIPolyPatch.C.
References Foam::expressions::patchExpr::debug, Foam::degToRad(), dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, dictionary::get(), dictionary::getOrDefault(), Foam::Info, Foam::mag(), Foam::name(), word::null, dictionary::readEntry(), dictionary::readIfPresent(), Foam::transform(), and word::valid().
cyclicAMIPolyPatch | ( | const cyclicAMIPolyPatch & | pp, |
const polyBoundaryMesh & | bm | ||
) |
Definition at line 749 of file cyclicAMIPolyPatch.C.
cyclicAMIPolyPatch | ( | const cyclicAMIPolyPatch & | pp, |
const polyBoundaryMesh & | bm, | ||
const label | index, | ||
const label | newSize, | ||
const label | newStart, | ||
const word & | nbrPatchName | ||
) |
Definition at line 783 of file cyclicAMIPolyPatch.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::name().
cyclicAMIPolyPatch | ( | const cyclicAMIPolyPatch & | pp, |
const polyBoundaryMesh & | bm, | ||
const label | index, | ||
const labelUList & | mapAddressing, | ||
const label | newStart | ||
) |
Definition at line 829 of file cyclicAMIPolyPatch.C.
|
virtualdefault |
|
protectedvirtual |
Definition at line 75 of file cyclicAMIPolyPatchTopologyChange.C.
References Foam::abort(), DebugInFunction, Foam::endl(), Foam::FatalError, FatalErrorInFunction, polyTopoChange::removeFace(), and polyPatch::start().
|
protectedvirtual |
Definition at line 130 of file cyclicAMIPolyPatchTopologyChange.C.
References Foam::abort(), polyTopoChange::addFace(), Foam::expressions::patchExpr::debug, DebugInFunction, Foam::endl(), polyMesh::faceOwner(), polyMesh::faces(), polyMesh::faceZones(), Foam::FatalError, FatalErrorInFunction, forAll, patchIdentifier::index(), Foam::Info, mesh, boundaryMesh::mesh(), patchIdentifier::name(), Foam::name(), Foam::nl, Foam::Pout, Foam::returnReduce(), List::setSize(), polyPatch::start(), and ZoneMesh::whichZone().
|
protectedvirtual |
Definition at line 254 of file cyclicAMIPolyPatchTopologyChange.C.
References Foam::abort(), Foam::expressions::patchExpr::debug, DebugInFunction, Foam::endl(), polyPatch::faceAreas(), cyclicAMIPolyPatch::faceAreas0(), polyPatch::faceCentres(), cyclicAMIPolyPatch::faceCentres0(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::identity(), globalIndex::inplaceToGlobal(), Foam::mag(), Foam::name(), Foam::nl, Foam::Pout, and autoPtr::reset().
|
protectedvirtual |
Definition at line 28 of file cyclicAMIPolyPatchTopologyChange.C.
References Foam::abort(), polyPatch::boundaryMesh(), cyclicAMIPolyPatch::createAMIFaces_, DebugInfo, DebugInFunction, Foam::endl(), polyPatch::faceAreas(), cyclicAMIPolyPatch::faceAreas0_, polyPatch::faceCentres(), cyclicAMIPolyPatch::faceCentres0_, Foam::FatalError, FatalErrorInFunction, Foam::gSum(), Foam::mag(), mesh, cyclicAMIPolyPatch::moveFaceCentres_, patchIdentifier::name(), Foam::nl, and WarningInFunction.
|
protected |
Definition at line 334 of file cyclicAMIPolyPatch.C.
References TimePaths::constant(), mesh, boundaryMesh::mesh(), IOobject::MUST_READ, Foam::name(), searchableSurface::New(), IOobject::NO_WRITE, and fvMesh::time().
|
protected |
Definition at line 284 of file cyclicAMIPolyPatch.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, patchIdentifier::name(), Foam::name(), coupledPolyPatch::parallel(), autoPtr::set(), and Foam::Zero.
Reimplemented in cyclicACMIPolyPatch.
Definition at line 371 of file cyclicAMIPolyPatch.C.
References Foam::expressions::patchExpr::debug, DebugInFunction, Foam::endl(), PrimitivePatch< FaceList, PointField >::localFaces(), PrimitivePatch< FaceList, PointField >::localPoints(), boundaryMesh::mesh(), Foam::name(), os(), Time::path(), and Foam::meshTools::writeOBJ().
|
protectedvirtual |
Reimplemented in cyclicACMIPolyPatch.
Definition at line 365 of file cyclicAMIPolyPatch.C.
Referenced by cyclicACMIPolyPatch::resetAMI().
|
protectedvirtual |
Definition at line 442 of file cyclicAMIPolyPatch.C.
References DebugInFunction, DebugPout, Foam::endl(), polyPatch::faceCentres(), forAll, Foam::name(), Foam::nl, and PrimitivePatch< FaceList, PointField >::points().
|
protectedvirtual |
Implements coupledPolyPatch.
Reimplemented in cyclicACMIPolyPatch.
Definition at line 478 of file cyclicAMIPolyPatch.C.
References DebugInFunction, Foam::endl(), and polyPatch::initGeometry().
Referenced by cyclicACMIPolyPatch::initGeometry().
|
protectedvirtual |
Implements coupledPolyPatch.
Reimplemented in cyclicACMIPolyPatch.
Definition at line 495 of file cyclicAMIPolyPatch.C.
References DebugInFunction, and Foam::endl().
Referenced by cyclicACMIPolyPatch::calcGeometry().
|
protectedvirtual |
Implements coupledPolyPatch.
Reimplemented in cyclicACMIPolyPatch.
Definition at line 502 of file cyclicAMIPolyPatch.C.
References DebugInFunction, Foam::endl(), PrimitivePatch< FaceList, PointField >::movePoints(), and p.
Referenced by cyclicACMIPolyPatch::initMovePoints().
|
protectedvirtual |
Implements coupledPolyPatch.
Reimplemented in cyclicACMIPolyPatch.
Definition at line 538 of file cyclicAMIPolyPatch.C.
References DebugInFunction, and Foam::endl().
Referenced by cyclicACMIPolyPatch::movePoints().
|
protectedvirtual |
Implements coupledPolyPatch.
Reimplemented in cyclicACMIPolyPatch.
Definition at line 561 of file cyclicAMIPolyPatch.C.
References DebugInFunction, Foam::endl(), polyPatch::initUpdateMesh(), and mesh.
Referenced by cyclicACMIPolyPatch::initUpdateMesh().
|
protectedvirtual |
Implements coupledPolyPatch.
Reimplemented in cyclicACMIPolyPatch.
Definition at line 574 of file cyclicAMIPolyPatch.C.
References DebugInFunction, Foam::endl(), and polyPatch::updateMesh().
Referenced by cyclicACMIPolyPatch::updateMesh().
|
protectedvirtual |
Reimplemented from polyPatch.
Reimplemented in cyclicACMIPolyPatch.
Definition at line 583 of file cyclicAMIPolyPatch.C.
References polyPatch::clearGeom(), DebugInFunction, and Foam::endl().
Referenced by cyclicACMIPolyPatch::clearGeom().
TypeName | ( | "cyclicAMI" | ) |
|
inlinevirtual |
Reimplemented from polyPatch.
Reimplemented in cyclicACMIPolyPatch, and cyclicPeriodicAMIPolyPatch.
Definition at line 278 of file cyclicAMIPolyPatch.H.
|
inlinevirtual |
Reimplemented from polyPatch.
Reimplemented in cyclicACMIPolyPatch, and cyclicPeriodicAMIPolyPatch.
Definition at line 286 of file cyclicAMIPolyPatch.H.
References patchIdentifier::index(), and cyclicAMIPolyPatch::nbrPatchName_.
|
inlinevirtual |
Reimplemented from polyPatch.
Reimplemented in cyclicACMIPolyPatch, and cyclicPeriodicAMIPolyPatch.
Definition at line 310 of file cyclicAMIPolyPatch.H.
References patchIdentifier::index().
|
virtual |
Reimplemented from polyPatch.
Reimplemented in cyclicACMIPolyPatch.
Definition at line 864 of file cyclicAMIPolyPatch.C.
References forAll.
|
inlinevirtual |
Reimplemented from polyPatch.
Definition at line 344 of file cyclicAMIPolyPatch.H.
References polyPatch::faceCells(), and cyclicAMIPolyPatch::neighbPatch().
|
inlinevirtual |
Reimplemented from polyPatch.
Definition at line 350 of file cyclicAMIPolyPatch.H.
References patchIdentifier::index(), and cyclicAMIPolyPatch::neighbPatch().
|
inlinevirtual |
Reimplemented from polyPatch.
Reimplemented in cyclicACMIPolyPatch.
Definition at line 356 of file cyclicAMIPolyPatch.H.
References cyclicAMIPolyPatch::AMI(), and AMIInterpolation::srcAddress().
|
inlinevirtual |
Reimplemented from polyPatch.
Definition at line 363 of file cyclicAMIPolyPatch.H.
References cyclicAMIPolyPatch::owner().
|
inline |
Definition at line 24 of file cyclicAMIPolyPatchI.H.
References polyPatch::boundaryMesh(), polyBoundaryMesh::mesh(), UPstream::parRun(), TimePaths::processorCase(), and objectRegistry::time().
|
inline |
Definition at line 30 of file cyclicAMIPolyPatchI.H.
|
inline |
Definition at line 36 of file cyclicAMIPolyPatchI.H.
|
virtual |
Reimplemented from polyPatch.
Definition at line 640 of file cyclicAMIPolyPatchTopologyChange.C.
References DebugInFunction, and Foam::endl().
|
virtual |
Reimplemented from polyPatch.
Definition at line 650 of file cyclicAMIPolyPatchTopologyChange.C.
References DebugInFunction, Foam::endl(), and polyTopoChange::points().
|
inlinevirtual |
Reimplemented from coupledPolyPatch.
Definition at line 392 of file cyclicAMIPolyPatch.H.
|
inline |
Definition at line 42 of file cyclicAMIPolyPatchI.H.
References patchID.
Referenced by cyclicACMIPolyPatch::clone(), cyclicAMIPolyPatch::neighbPatchID(), and AMIWeights::reportPatch().
|
virtual |
Definition at line 895 of file cyclicAMIPolyPatch.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::name(), cyclicAMIPolyPatch::neighbPatchName(), Foam::nl, and WarningInFunction.
Referenced by cyclicACMIFvPatch::neighbFvPatch(), cyclicAMIFvPatch::neighbFvPatch(), cyclicACMIFvPatch::neighbPatch(), cyclicAMIPointPatch::neighbPatch(), cyclicACMIPointPatch::neighbPatch(), cyclicAMIFvPatch::neighbPatch(), cyclicACMIFvPatch::neighbPatchID(), and cyclicAMIFvPatch::neighbPatchID().
|
inline |
Definition at line 55 of file cyclicAMIPolyPatchI.H.
Referenced by particle< Type >::hitCyclicAMIPatch().
|
virtual |
Implements coupledPolyPatch.
Definition at line 957 of file cyclicAMIPolyPatch.C.
Referenced by cyclicAMIPolyPatch::masterImplicit(), combine< Type, TrackingData >::operator()(), cyclicACMIFvPatch::owner(), cyclicAMIFvPatch::owner(), cyclicACMIFvPatch::updateAreas(), cyclicACMIPolyPatch::updateAreas(), and AMIWeights::writeWeightFields().
|
virtual |
Reimplemented in cyclicACMIPolyPatch.
Definition at line 963 of file cyclicAMIPolyPatch.C.
Referenced by FaceCellWave< Type, int >::handleAMICyclicPatches(), particle< Type >::hitCyclicAMIPatch(), cyclicAMIPolyPatch::nbrCells(), cyclicAMIPolyPatch::neighbPolyPatchID(), combine< Type, TrackingData >::operator()(), cyclicACMIPointPatchField< Type >::swapAddSeparated(), and AMIWeights::writeWeightFields().
Foam::label periodicPatchID | ( | ) | const |
Definition at line 931 of file cyclicAMIPolyPatch.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and word::null.
const Foam::AMIPatchToPatchInterpolation & AMI | ( | ) | const |
Definition at line 970 of file cyclicAMIPolyPatch.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by cyclicACMIFvPatch::AMI(), cyclicAMIFvPatch::AMI(), assemblyFaceAreaPairGAMGAgglomeration::assemblyFaceAreaPairGAMGAgglomeration(), cyclicAMIPolyPatch::mapCollocatedFaces(), AMIWeights::reportPatch(), and AMIWeights::writeWeightFields().
|
inline |
Definition at line 61 of file cyclicAMIPolyPatchI.H.
Referenced by cyclicACMIPolyPatch::scalePatchFaceAreas().
|
inline |
Definition at line 72 of file cyclicAMIPolyPatchI.H.
Referenced by cyclicACMIPolyPatch::scalePatchFaceAreas().
bool applyLowWeightCorrection | ( | ) | const |
Definition at line 988 of file cyclicAMIPolyPatch.C.
Referenced by cyclicAMIFvPatch::applyLowWeightCorrection().
|
inline |
Definition at line 83 of file cyclicAMIPolyPatchI.H.
Referenced by cyclicAMIPolyPatch::setAMIFaces().
|
inline |
Definition at line 89 of file cyclicAMIPolyPatchI.H.
Referenced by cyclicAMIPolyPatch::setAMIFaces().
|
inline |
Definition at line 94 of file cyclicAMIPolyPatchI.H.
|
inline |
Definition at line 100 of file cyclicAMIPolyPatchI.H.
|
inline |
Definition at line 106 of file cyclicAMIPolyPatchI.H.
|
virtual |
Implements coupledPolyPatch.
Definition at line 1001 of file cyclicAMIPolyPatch.C.
References forAll, s, and Foam::transform().
|
virtual |
Implements coupledPolyPatch.
Definition at line 1037 of file cyclicAMIPolyPatch.C.
References s, Foam::T(), and Foam::transform().
|
virtual |
Definition at line 1075 of file cyclicAMIPolyPatch.C.
References s, Foam::T(), and Foam::transform().
|
virtual |
Definition at line 1113 of file cyclicAMIPolyPatch.C.
References Foam::T(), and Foam::transform().
Referenced by particle< Type >::hitCyclicAMIPatch().
tmp<Field<Type> > interpolate | ( | const Field< Type > & | fld, |
const UList< Type > & | defaultValues = UList< Type >() |
||
) | const |
Referenced by cyclicAMIFvPatch::interpolate(), and cyclicACMIPointPatchField< Type >::swapAddSeparated().
tmp<Field<Type> > interpolate | ( | const tmp< Field< Type >> & | tFld, |
const UList< Type > & | defaultValues = UList< Type >() |
||
) | const |
tmp<Field<Type> > interpolateUntransformed | ( | const Field< Type > & | fld, |
const UList< Type > & | defaultValues | ||
) | const |
void interpolate | ( | const UList< Type > & | fld, |
const CombineOp & | cop, | ||
List< Type > & | result, | ||
const UList< Type > & | defaultValues = UList<Type>() |
||
) | const |
Definition at line 156 of file cyclicAMIPolyPatchTemplates.C.
References fld.
|
virtual |
Implements coupledPolyPatch.
Definition at line 1133 of file cyclicAMIPolyPatch.C.
|
virtual |
Implements coupledPolyPatch.
Reimplemented in cyclicACMIPolyPatch.
Definition at line 1146 of file cyclicAMIPolyPatch.C.
Referenced by cyclicACMIPolyPatch::initOrder().
|
virtual |
Implements coupledPolyPatch.
Reimplemented in cyclicACMIPolyPatch.
Definition at line 1154 of file cyclicAMIPolyPatch.C.
References Foam::faceMap(), and List::setSize().
Referenced by cyclicACMIPolyPatch::order().
Definition at line 1172 of file cyclicAMIPolyPatch.C.
Referenced by particle< Type >::hitCyclicACMIPatch(), and particle< Type >::hitCyclicAMIPatch().
|
virtual |
Reimplemented from coupledPolyPatch.
Reimplemented in cyclicACMIPolyPatch, and cyclicPeriodicAMIPolyPatch.
Definition at line 1218 of file cyclicAMIPolyPatch.C.
References word::null, os(), Foam::radToDeg(), Foam::transform(), Ostream::write(), coupledPolyPatch::write(), Ostream::writeEntry(), Ostream::writeEntryIfDifferent(), and Foam::Zero.
Referenced by cyclicPeriodicAMIPolyPatch::write(), and cyclicACMIPolyPatch::write().
Foam::tmp<Foam::Field<Type> > interpolateUntransformed | ( | const Field< Type > & | fld, |
const UList< Type > & | defaultValues | ||
) | const |
Definition at line 26 of file cyclicAMIPolyPatchTemplates.C.
References fld.
Foam::tmp<Foam::Field<Type> > interpolate | ( | const Field< Type > & | fld, |
const UList< Type > & | defaultValues | ||
) | const |
Definition at line 44 of file cyclicAMIPolyPatchTemplates.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::exit(), polyPatch::faceCentres(), Foam::FatalError, FatalErrorInFunction, fld, forAll, Foam::gAverage(), Foam::invTransform(), patchIdentifier::name(), Foam::name(), Foam::New(), Foam::nl, Foam::Pout, R, UList::size(), T, Foam::transform(), and autoPtr::valid().
Foam::tmp<Foam::Field<Type> > interpolate | ( | const tmp< Field< Type >> & | tFld, |
const UList< Type > & | defaultValues | ||
) | const |
Definition at line 145 of file cyclicAMIPolyPatchTemplates.C.
References Foam::fac::interpolate().
|
mutableprotected |
Definition at line 88 of file cyclicAMIPolyPatch.H.
Referenced by cyclicPeriodicAMIPolyPatch::clone(), and cyclicAMIPolyPatch::clone().
|
protected |
Definition at line 91 of file cyclicAMIPolyPatch.H.
|
mutableprotected |
Definition at line 94 of file cyclicAMIPolyPatch.H.
|
protected |
Definition at line 97 of file cyclicAMIPolyPatch.H.
|
protected |
Definition at line 105 of file cyclicAMIPolyPatch.H.
|
protected |
Definition at line 108 of file cyclicAMIPolyPatch.H.
|
protected |
Definition at line 111 of file cyclicAMIPolyPatch.H.
|
protected |
Definition at line 114 of file cyclicAMIPolyPatch.H.
|
protected |
Definition at line 120 of file cyclicAMIPolyPatch.H.
|
protected |
Definition at line 126 of file cyclicAMIPolyPatch.H.
|
mutableprotected |
Definition at line 129 of file cyclicAMIPolyPatch.H.
|
mutableprotected |
Definition at line 133 of file cyclicAMIPolyPatch.H.
|
protected |
Definition at line 136 of file cyclicAMIPolyPatch.H.
|
mutableprotected |
Definition at line 139 of file cyclicAMIPolyPatch.H.
|
mutableprotected |
Definition at line 146 of file cyclicAMIPolyPatch.H.
Referenced by cyclicAMIPolyPatch::restoreScaledGeometry(), and cyclicACMIPolyPatch::updateAreas().
|
protected |
Definition at line 149 of file cyclicAMIPolyPatch.H.
Referenced by cyclicAMIPolyPatch::restoreScaledGeometry().
|
mutableprotected |
Definition at line 151 of file cyclicAMIPolyPatch.H.
|
protected |
Definition at line 153 of file cyclicAMIPolyPatch.H.
|
protected |
Definition at line 155 of file cyclicAMIPolyPatch.H.
|
mutableprotected |
Definition at line 158 of file cyclicAMIPolyPatch.H.
Referenced by cyclicAMIPolyPatch::restoreScaledGeometry().
|
mutableprotected |
Definition at line 161 of file cyclicAMIPolyPatch.H.
Referenced by cyclicAMIPolyPatch::restoreScaledGeometry().
|
static |
Definition at line 372 of file cyclicAMIPolyPatch.H.
Referenced by cyclicACMIPolyPatch::updateAreas().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.