38 #ifndef Foam_cyclicAMIFvPatch_H 39 #define Foam_cyclicAMIFvPatch_H 88 TypeName(cyclicAMIPolyPatch::typeName_());
98 cyclicAMIPolyPatch_(refCast<const cyclicAMIPolyPatch>(
patch))
144 return cyclicAMIPolyPatch_;
155 return cyclicAMIPolyPatch_.
owner();
161 return refCast<const cyclicAMIFvPatch>
170 return cyclicAMIPolyPatch_.
AMI();
183 return cyclicAMIPolyPatch_.
parallel();
189 return cyclicAMIPolyPatch_.
forwardT();
195 return cyclicAMIPolyPatch_.
reverseT();
200 return refCast<const cyclicAMIFvPatch>
232 return cyclicAMIPolyPatch_.
interpolate(tFld, defaultValues);
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
cyclicAMILduInterface() noexcept=default
Default construct.
const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
virtual label neighbPatchID() const
Neighbour patch ID.
tmp< Field< Type > > interpolate(const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >()) const
commsTypes
Communications types.
virtual bool parallel() const
Are the cyclic planes parallel.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
Return the values of the given internal data adjacent to the interface as a field.
Cyclic patch for Arbitrary Mesh Interface (AMI)
An abstract base class for patches that couple regions of the computational domain e...
bool applyLowWeightCorrection() const
Return true if applying the low weight correction.
tmp< Field< Type > > interpolate(const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >()) const
Interpolate field.
Smooth ATC in cells next to a set of patches supplied by type.
virtual void makeDeltaCoeffs(scalarField &) const
Correct patch deltaCoeffs.
virtual void makeNonOrthoCorrVectors(vectorField &) const
Correct patch non-ortho correction vectors.
UList< label > labelUList
A UList of labels.
virtual const tensorField & forwardT() const
Return face transformation tensor.
const cyclicAMIFvPatch & neighbFvPatch() const
virtual bool applyLowWeightCorrection() const
Return true if applying the low weight correction.
virtual bool parallel() const
Are the cyclic planes parallel.
const cyclicAMIPolyPatch & cyclicAMIPatch() const
Return local reference cast into the cyclic patch.
An abstract base class for cyclic AMI coupled interfaces.
cyclicAMIFvPatch(const polyPatch &patch, const fvBoundaryMesh &bm)
Construct from polyPatch.
Cyclic patch for Arbitrary Mesh Interface (AMI)
const fvBoundaryMesh & boundaryMesh() const noexcept
Return boundaryMesh reference.
virtual label neighbPatchID() const
Return neighbour.
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))
virtual void makeNonOrthoDeltaCoeffs(scalarField &) const
Correct patch non-ortho deltaCoeffs.
virtual bool owner() const
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
virtual const cyclicAMIFvPatch & neighbPatch() const
Return processor number.
TypeName(cyclicAMIPolyPatch::typeName_())
Runtime type information.
virtual bool coupled() const
Return true if this patch is coupled. This is equivalent to the coupledPolyPatch::coupled() if parall...
virtual bool owner() const
Does this side own the patch?
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...
virtual void movePoints()
Correct patches after moving points.
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
void makeWeights(scalarField &) const
Make patch weighting factors.
virtual const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
A class for managing temporary objects.
virtual const tensorField & forwardT() const
Return face transformation tensor.
A patch is a list of labels that address the faces in the global face list.
const polyPatch & patch() const noexcept
Return the polyPatch.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
coupledFvPatch(const polyPatch &patch, const fvBoundaryMesh &bm)
Construct from polyPatch.