Go to the documentation of this file.
47 const scalarField nbrDeltas(nbrPatch.
nf()&nbrPatch.coupledFvPatch::delta());
51 scalar di = deltas[facei];
52 scalar dni = nbrDeltas[facei];
54 w[facei] = dni/(di + dni);
72 vector ddi = patchD[facei];
73 vector dni = nbrPatchD[facei];
75 pdv[facei] = ddi - dni;
82 vector ddi = patchD[facei];
83 vector dni = nbrPatchD[facei];
85 pdv[facei] = ddi -
transform(forwardT()[0], dni);
98 return patchInternalField(internalData);
108 return neighbFvPatch().patchInternalField(iF);
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.
volScalarField w(IOobject("w", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), mesh, dimensionedScalar("w", dimensionSet(0, 0, 0, 0, 0, 0, 0), 0.0))
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
virtual tmp< vectorField > delta() const =0
Return delta (P to N) vectors across coupled patch.
dimensionSet transform(const dimensionSet &)
Field< vector > vectorField
Specialisation of Field<T> for vector.
const cyclicFvPatch & neighbFvPatch() const
tmp< vectorField > nf() const
Return face normals.
Pre-declare SubField and related Field type.
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
Macros for easy insertion into run-time selection tables.
commsTypes
Types of communications.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
defineTypeNameAndDebug(combustionModel, 0)