33 Foam::pointPatchDist::pointPatchDist
75 label patchI = iter.key();
76 nPoints += pbm[patchI].meshPoints().
size();
88 label patchI = iter.key();
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());
dimensionedScalar sqrt(const dimensionedScalar &ds)
label size() const
Return the number of elements in the PtrList.
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(psi *p+alphal *rhol0+((alphav *psiv+alphal *psil)-psi)*pSat, rhoMin);#1"/home/dm2/henry/OpenFOAM/OpenFOAM-3.0.x/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()
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
Class used to pass data into container.
const dimensionedScalar mp
Proton mass.
Mesh representing a set of points created from polyMesh.
const Mesh & mesh() const
Return mesh.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
void correct()
Correct for mesh geom/topo changes.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const pointField & points_
Wave propagation of information through grid. Every iteration information goes through one layer of e...
const Time & time() const
Return time.
GeometricField< scalar, pointPatchField, pointMesh > pointScalarField
virtual ~pointPatchDist()
Destructor.
const objectRegistry & db() const
Return the local objectRegistry.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.