Go to the documentation of this file.
46 if (cyclicACMIPolyPatch_.
updated())
50 Pout<<
"cyclicACMIFvPatch::updateAreas() : updating fv areas for "
99 nbrPatch.
nf() & nbrPatch.coupledFvPatch::delta()
108 scalar di = deltas[facei];
109 scalar dni = nbrDeltas[facei];
120 w[facei] = dni/(di + dni);
159 const vector& ddi = patchD[facei];
160 const vector& dni = nbrPatchD[facei];
162 pdv[facei] = ddi - dni;
169 const vector& ddi = patchD[facei];
170 const vector& dni = nbrPatchD[facei];
172 pdv[facei] = ddi -
transform(forwardT()[0], dni);
190 return patchInternalField(internalData);
200 return neighbFvPatch().patchInternalField(iF);
int debug
Static debugging option.
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
void setUpdated(bool flag) const
Reset the updated flag.
const vectorField & Sf() const
Return face area vectors.
void updateAreas() const
Update the patch areas after AMI update.
A class for managing temporary objects.
virtual tmp< vectorField > delta() const =0
Return delta (P to N) vectors across coupled patch.
static bool & parRun()
Is this a parallel run?
static scalar tolerance()
Overlap tolerance.
bool updated() const
Return access to the updated flag.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual const word & name() const
Return name.
prefixOSstream Pout
An Ostream wrapper for parallel output to std::cout.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
virtual bool coupled() const
Return true if this patch is coupled. This is equivalent.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
#define forAll(list, i)
Loop across all elements in list.
Field< vector > vectorField
Specialisation of Field<T> for vector.
tmp< vectorField > nf() const
Return face normals.
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual const cyclicACMIFvPatch & neighbPatch() const
Return neighbour fvPatch.
virtual const fvPatch & nonOverlapPatch() const
Return non-overlapping fvPatch.
Macros for easy insertion into run-time selection tables.
commsTypes
Types of communications.
const vectorField::subField faceAreas() const
Return face normals.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
Return the values of the given internal data adjacent to.
const polyPatch & patch() const
Return the polyPatch.
const scalarField & magSf() const
Return face area magnitudes.
void makeWeights(scalarField &) const
Make patch weighting factors.
defineTypeNameAndDebug(combustionModel, 0)
virtual void makeWeights(scalarField &) const
Make patch weighting factors.
Cyclic patch for Arbitrarily Coupled Mesh Interface (ACMI)