57 mesh.time().timeName(),
70 for (label facei = 0; facei <
mesh.nInternalFaces(); facei++)
80 sf[facei] += stField[i]*stWeight[i];
90 sf[facei] += stField[i]*stWeight[i];
98 Boundary& bSfCorr = sf.boundaryFieldRef();
106 label facei = pSfCorr.
patch().start();
110 if (
phi.boundaryField()[patchi][i] > 0)
118 pSfCorr[i] += stField[j]*stWeight[j];
128 pSfCorr[i] += stField[j]*stWeight[j];
const labelListList & neiStencil() const
Return reference to the stencil.
const mapDistribute & ownMap() const
Return reference to the parallel distribution map.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const fvPatch & patch() const noexcept
Return the patch.
const labelListList & ownStencil() const
Return reference to the stencil.
Generic dimensioned Type class.
Ignore writing from objectRegistry::writeObject()
#define forAll(list, i)
Loop across all elements in list.
static void collectData(const mapDistribute &map, const labelListList &stencil, const GeometricField< T, fvPatchField, volMesh > &fld, List< List< T >> &stencilFld)
Use map to get the data into stencil order.
virtual bool coupled() const
True if the patch field is coupled.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
const mapDistribute & neiMap() const
Return reference to the parallel distribution map.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > weightedSum(const surfaceScalarField &phi, const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< scalar >> &ownWeights, const List< List< scalar >> &neiWeights) const
Sum vol field contributions to create face values.
Mesh data needed to do the Finite Volume discretisation.
Internal & ref(const bool updateAccessTime=true)
Same as internalFieldRef()
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
Do not request registration (bool: false)
static constexpr const zero Zero
Global zero (0)