Go to the documentation of this file.
101 this->cyclicPatch().neighbFvPatch().faceCells();
107 if (!this->cyclicPatch().owner())
112 if (this->doTransform())
118 this->forwardT()[0], iField[nbrFaceCells[facei]]
126 pnf[facei] = iField[nbrFaceCells[facei]] - jf[facei];
162 this->cyclicPatch().neighbFvPatch().faceCells();
165 if (&psiInternal == &this->primitiveField())
169 if (!this->cyclicPatch().owner())
176 pnf[facei] = psiInternal[nbrFaceCells[facei]] - jf[facei];
183 pnf[facei] = psiInternal[nbrFaceCells[facei]];
188 this->transformCoupleField(pnf);
191 this->addToInternalField(result, !
add, coeffs, pnf);
A class for managing temporary objects.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
#define forAll(list, i)
Loop across all elements in list.
virtual void updateInterfaceMatrix(solveScalarField &result, const bool add, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
Update result field based on interface functionality.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Generic templated field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a base class for coupled-cyclic conditions with a specified 'jump' (...
jumpCyclicFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
commsTypes
Types of communications.
tmp< Field< Type > > patchNeighbourField() const
Return neighbour coupled given internal cell data.
This boundary condition enforces a cyclic condition between a pair of boundaries.
Foam::fvPatchFieldMapper.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...