47 const vectorField nbrDelta(nbrPatch.coupledFvPatch::delta());
54 const scalar ndoi = nfDelta[facei];
55 const scalar ndni = nbrNfDelta[facei];
56 const scalar ndi = ndoi + ndni;
58 if (ndni/vGreat < ndi)
64 const scalar doi =
mag(delta[facei]);
65 const scalar dni =
mag(nbrDelta[facei]);
66 const scalar di = doi + dni;
87 vector ddi = patchD[facei];
88 vector dni = nbrPatchD[facei];
97 vector ddi = patchD[facei];
98 vector dni = nbrPatchD[facei];
100 pdv[facei] = ddi - dni;
113 return patchInternalField(internalData);
123 return neighbFvPatch().patchInternalField(iF);
#define forAll(list, i)
Loop across all elements in list.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
commsTypes
Types of communications.
T & ref() const
Return non-const reference or generate a fatal error.
tmp< vectorField > nf() const
Return face normals.
void size(const label)
Override size to be inconsistent with allocated storage.
Macros for easy insertion into run-time selection tables.
void makeWeights(scalarField &) const
Make patch weighting factors.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
Return the values of the given internal data adjacent to.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
virtual tmp< vectorField > delta() const =0
Return delta (P to N) vectors across coupled patch.
dimensioned< scalar > mag(const dimensioned< Type > &)
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 &)