Go to the documentation of this file.
64 if (applyLowWeightCorrection())
69 nbrPatch.
nf() & nbrPatch.coupledFvPatch::delta(),
76 interpolate(nbrPatch.
nf() & nbrPatch.coupledFvPatch::delta());
83 scalar di = deltas[faceI];
84 scalar dni = nbrDeltas[faceI];
86 w[faceI] = dni/(di + dni);
106 if (applyLowWeightCorrection())
111 nbrPatch.coupledFvPatch::delta(),
117 tnbrPatchD =
interpolate(nbrPatch.coupledFvPatch::delta());
130 const vector& ddi = patchD[faceI];
131 const vector& dni = nbrPatchD[faceI];
133 pdv[faceI] = ddi - dni;
140 const vector& ddi = patchD[faceI];
141 const vector& dni = nbrPatchD[faceI];
143 pdv[faceI] = ddi -
transform(forwardT()[0], dni);
161 return patchInternalField(internalData);
171 return neighbFvPatch().patchInternalField(iF);
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
addNamedToRunTimeSelectionTable(fvPatch, cyclicAMIFvPatch, polyPatch, cyclicPeriodicAMI)
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.
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
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 &)
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)
Pre-declare SubField and related Field type.
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.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Cyclic patch for Arbitrary Mesh Interface (AMI)
defineTypeNameAndDebug(combustionModel, 0)
virtual void makeWeights(scalarField &) const
Make patch weighting factors.