57 if (applyLowWeightCorrection())
62 nbrPatch.
nf() & nbrPatch.coupledFvPatch::delta(),
69 interpolate(nbrPatch.
nf() & nbrPatch.coupledFvPatch::delta());
76 scalar di = deltas[faceI];
77 scalar dni = nbrDeltas[faceI];
79 w[faceI] = dni/(di + dni);
99 if (applyLowWeightCorrection())
104 nbrPatch.coupledFvPatch::delta(),
110 tnbrPatchD =
interpolate(nbrPatch.coupledFvPatch::delta());
123 const vector& ddi = patchD[faceI];
124 const vector& dni = nbrPatchD[faceI];
126 pdv[faceI] = ddi - dni;
133 const vector& ddi = patchD[faceI];
134 const vector& dni = nbrPatchD[faceI];
136 pdv[faceI] = ddi -
transform(forwardT()[0], dni);
154 return patchInternalField(internalData);
164 return neighbFvPatch().patchInternalField(iF);
static bool & parRun()
Is this a parallel run?
virtual tmp< vectorField > delta() const =0
Return delta (P to N) vectors across coupled patch.
Cyclic patch for Arbitrary Mesh Interface (AMI)
virtual bool coupled() const
Return true if this patch is coupled. This is equivalent.
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
void size(const label)
Override size to be inconsistent with allocated storage.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void makeWeights(scalarField &) const
Make patch weighting factors.
dimensionSet transform(const dimensionSet &)
Field< vector > vectorField
Specialisation of Field<T> for vector.
commsTypes
Types of communications.
Macros for easy insertion into run-time selection tables.
tmp< vectorField > nf() const
Return face normals.
virtual void makeWeights(scalarField &) const
Make patch weighting factors.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
3D tensor transformation operations.
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
A class for managing temporary objects.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
Return the values of the given internal data adjacent to.
defineTypeNameAndDebug(combustionModel, 0)