56 if (applyLowWeightCorrection())
61 nbrPatch.
nf() & nbrPatch.coupledFvPatch::delta(),
68 interpolate(nbrPatch.
nf() & nbrPatch.coupledFvPatch::delta());
89 scalar di = deltan[facei];
90 scalar dni = nbrDeltan[facei];
92 w[facei] = dni/(di + dni);
109 || !this->boundaryMesh().mesh().time().processorCase();
122 if (applyLowWeightCorrection())
127 nbrPatch.coupledFvPatch::delta(),
133 tnbrPatchD =
interpolate(nbrPatch.coupledFvPatch::delta());
146 const vector& ddi = patchD[facei];
147 const vector& dni = nbrPatchD[facei];
156 const vector& ddi = patchD[facei];
157 const vector& dni = nbrPatchD[facei];
159 pdv[facei] = ddi - dni;
177 return patchInternalField(internalData);
187 return neighbFvPatch().patchInternalField(iF);
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.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
Return the values of the given internal data adjacent to.
commsTypes
Types of communications.
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
T & ref() const
Return non-const reference or generate a fatal error.
tmp< vectorField > nf() const
Return face normals.
Cyclic patch for Arbitrary Mesh Interface (AMI)
void size(const label)
Override size to be inconsistent with allocated storage.
Macros for easy insertion into run-time selection tables.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
tmp< scalarField > nbrDeltan() const
Return the neighbour patch-normal component of the deltas.
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...
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
tmp< scalarField > deltan() const
Return the patch-normal component of the deltas.
static bool & parRun()
Is this a parallel run?
virtual bool coupled() const
Return true if this patch is coupled. This is equivalent.
virtual tmp< vectorField > delta() const =0
Return delta (P to N) vectors across coupled patch.
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
virtual void makeWeights(scalarField &) const
Make patch weighting factors.
Field< vector > vectorField
Specialisation of Field<T> for vector.
friend dimensionSet transform(const dimensionSet &)
Return the argument; transformations do not change the dimensions.
A class for managing temporary objects.
dimensionSet transform(const dimensionSet &)