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());
const pointField & points_
#define forAll(list, i)
Loop across all elements in list.
virtual ~pointPatchDist()
Destructor.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(rho0+psi *p, rhoMin);# 1 "/home/ubuntu/OpenFOAM-10/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()
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)
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)...
static word timeName(const scalar, const int precision=curPrecision_)
Return time name of given scalar time.
const dimensionedScalar mp
Proton mass.
GeometricField< scalar, pointPatchField, pointMesh > pointScalarField
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.