Go to the documentation of this file.
66 if (applyLowWeightCorrection())
71 nbrPatch.
nf() & nbrPatch.coupledFvPatch::delta(),
78 interpolate(nbrPatch.
nf() & nbrPatch.coupledFvPatch::delta());
85 scalar di = deltas[facei];
86 scalar dni = nbrDeltas[facei];
88 w[facei] = dni/(di + dni);
108 if (applyLowWeightCorrection())
113 nbrPatch.coupledFvPatch::delta(),
119 tnbrPatchD =
interpolate(nbrPatch.coupledFvPatch::delta());
132 const vector& ddi = patchD[facei];
133 const vector& dni = nbrPatchD[facei];
135 pdv[facei] = ddi - dni;
142 const vector& ddi = patchD[facei];
143 const vector& dni = nbrPatchD[facei];
145 pdv[facei] = ddi -
transform(forwardT()[0], dni);
163 return patchInternalField(internalData);
173 return neighbFvPatch().patchInternalField(iF);
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero.
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
virtual tmp< vectorField > delta() const =0
Return delta (P to N) vectors across coupled patch.
static bool & parRun()
Is this a parallel run?
const cyclicAMIFvPatch & neighbFvPatch() const
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
#define forAll(list, i)
Loop across all elements in list.
Field< vector > vectorField
Specialisation of Field<T> for vector.
virtual label size() const
Return size.
tmp< vectorField > nf() const
Return face normals.
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
addNamedToRunTimeSelectionTable(topoSetCellSource, badQualityToCell, word, badQuality)
virtual bool coupled() const
Return true if this patch is coupled. This is equivalent.
Macros for easy insertion into run-time selection tables.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
Return the values of the given internal data adjacent to.
commsTypes
Types of communications.
void makeWeights(scalarField &) const
Make patch weighting factors.
Cyclic patch for Arbitrary Mesh Interface (AMI)
defineTypeNameAndDebug(combustionModel, 0)
virtual void makeWeights(scalarField &) const
Make patch weighting factors.