Go to the documentation of this file.
37 #ifndef cyclicAMIFvPatch_H
38 #define cyclicAMIFvPatch_H
87 TypeName(cyclicAMIPolyPatch::typeName_());
108 return cyclicAMIPolyPatch_;
117 virtual bool owner()
const
119 return cyclicAMIPolyPatch_.
owner();
125 return refCast<const cyclicAMIFvPatch>
134 return cyclicAMIPolyPatch_.
AMI();
147 return cyclicAMIPolyPatch_.
parallel();
153 return cyclicAMIPolyPatch_.
forwardT();
159 return cyclicAMIPolyPatch_.
reverseT();
164 return refCast<const cyclicAMIFvPatch>
195 return cyclicAMIPolyPatch_.
interpolate(tFld, defaultValues);
virtual label neighbPatchID() const
Return neighbour.
tmp< Field< Type > > interpolate(const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >()) const
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
virtual bool owner() const
Does this side own the patch?
virtual const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
A class for managing temporary objects.
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
An abstract base class for cyclic AMI coupled interfaces.
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual void makeNonOrthoDeltaCoeffs(scalarField &) const
Correct patch non-ortho deltaCoeffs.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
virtual const cyclicAMIFvPatch & neighbPatch() const
Return processor number.
const cyclicAMIFvPatch & neighbFvPatch() const
virtual bool applyLowWeightCorrection() const
Return true if applying the low weight correction.
virtual void makeDeltaCoeffs(scalarField &) const
Correct patch deltaCoeffs.
virtual void makeNonOrthoCorrVectors(vectorField &) const
Correct patch non-ortho correction vectors.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
virtual bool parallel() const
Are the cyclic planes parallel.
TypeName(cyclicAMIPolyPatch::typeName_())
Runtime type information.
A patch is a list of labels that address the faces in the global face list.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
tmp< Field< Type > > interpolate(const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >()) const
Interpolate field.
virtual bool coupled() const
virtual label neighbPatchID() const
Neighbour patch ID.
To & refCast(From &r)
Reference type cast template function.
const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
commsTypes
Types of communications.
virtual bool owner() const
bool applyLowWeightCorrection() const
Return true if applying the low weight correction.
void makeWeights(scalarField &) const
Make patch weighting factors.
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...
cyclicAMIFvPatch(const polyPatch &patch, const fvBoundaryMesh &bm)
Construct from polyPatch.
const polyPatch & patch() const
Return the polyPatch.
const cyclicAMIPolyPatch & cyclicAMIPatch() const
Return local reference cast into the cyclic patch.
Cyclic patch for Arbitrary Mesh Interface (AMI)
An abstract base class for patches that couple regions of the computational domain e....
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual bool parallel() const
Are the cyclic planes parallel.
virtual void movePoints()
Correct patches after moving points.
Cyclic patch for Arbitrary Mesh Interface (AMI)