95 label meshPointi = mp[ppI];
96 wallPoints[
nPoints] = meshPointi;
124 mesh().globalData().nTotalPoints(),
131 forAll(allPointInfo, pointi)
133 if (allPointInfo[pointi].valid(td))
135 psf[pointi] =
Foam::sqrt(allPointInfo[pointi].distSqr());
GeometricField< scalar, pointPatchField, pointMesh > pointScalarField
const pointField & points_
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual ~pointPatchDist()
Destructor.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
dimensionedScalar sqrt(const dimensionedScalar &ds)
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const dimensionSet dimLength
Mesh representing a set of points created from polyMesh.
pointPatchDist(const pointMesh &pMesh, const labelHashSet &patchIDs, const pointField &points)
Construct from mesh and set of patches.
Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave)...
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(rho0+psi *p, rhoMin);# 1 "/home/ubuntu/OpenFOAM-9/applications/solvers/multiphase/cavitatingFoam/alphavPsi.H" 1{ alphav=max(min((rho - rholSat)/(rhovSat - rholSat), scalar(1)), scalar(0));alphal=1.0 - alphav;Info<< "max-min alphav: "<< max(alphav).value()<< " "<< min(alphav).value()<< endl;psiModel-> correct()
const dimensionedScalar mp
Proton mass.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
const Mesh & mesh() const
Return mesh.
const Time & time() const
Return time.
label size() const
Return the number of elements in the UPtrList.
Class used to pass data into container.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const objectRegistry & db() const
Return the local objectRegistry.
Wave propagation of information through grid. Every iteration information goes through one layer of e...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void correct()
Correct for mesh geom/topo changes.