33 Foam::pointPatchDist::pointPatchDist
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 Time & time() const
Return time.
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.
const objectRegistry & db() const
Return the local objectRegistry.
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.
Mesh representing a set of points created from polyMesh.
Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave)...
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(psi *p+alphal *rhol0+((alphav *psiv+alphal *psil)-psi)*pSat, rhoMin);#1"/home/ubuntu/OpenFOAM-4.1/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()
Class used to pass data into container.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const Mesh & mesh() const
Return mesh.
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...
const dimensionedScalar mp
Proton mass.
void correct()
Correct for mesh geom/topo changes.
label size() const
Return the number of elements in the UPtrList.