50 const scalarField nbrDeltas(nbrPatch.
nf()&nbrPatch.coupledFvPatch::delta());
54 scalar di = deltas[facei];
55 scalar dni = nbrDeltas[facei];
57 w[facei] = dni/(di + dni);
68 auto& pdv = tpdv.ref();
75 vector ddi = patchD[facei];
76 vector dni = nbrPatchD[facei];
78 pdv[facei] = ddi - dni;
85 vector ddi = patchD[facei];
86 vector dni = nbrPatchD[facei];
88 pdv[facei] = ddi -
transform(forwardT()[0], dni);
101 return patchInternalField(internalData);
112 patchInternalField(internalData,
faceCells, tpfld.ref());
123 return neighbFvPatch().patchInternalField(iF);
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
commsTypes
Communications types.
const cyclicFvPatch & neighbFvPatch() const
tmp< vectorField > nf() const
Return face unit normals, like the fvMesh::unitSf() method Same as unitSf().
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Smooth ATC in cells next to a set of patches supplied by type.
Macros for easy insertion into run-time selection tables.
UList< label > labelUList
A UList of labels.
#define forAll(list, i)
Loop across all elements in list.
void makeWeights(scalarField &) const
Make patch weighting factors.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
Return the values of the given internal data adjacent to the interface as a field.
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
defineTypeNameAndDebug(combustionModel, 0)
virtual tmp< vectorField > delta() const =0
Return delta (P to N) vectors across coupled patch.
Field< vector > vectorField
Specialisation of Field<T> for vector.
A class for managing temporary objects.
A patch is a list of labels that address the faces in the global face list.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)