36 Foam::pointPatchDist::pointPatchDist
70 for (
const label patchi : patchIDs_)
75 externalPointEdgePoint::trackingData
td(points_);
78 List<externalPointEdgePoint> wallInfo(
nPoints);
82 for (
const label patchi : patchIDs_)
90 label meshPointi =
mp[ppI];
91 wallPoints[
nPoints] = meshPointi;
92 wallInfo[
nPoints] = externalPointEdgePoint
94 td.points_[meshPointi],
102 List<externalPointEdgePoint> allPointInfo(
mesh()().
nPoints());
105 List<externalPointEdgePoint> allEdgeInfo(
mesh()().nEdges());
109 externalPointEdgePoint,
110 externalPointEdgePoint::trackingData
119 mesh().globalData().nTotalPoints(),
126 forAll(allPointInfo, pointi)
128 if (allPointInfo[pointi].valid(
td))
130 psf[pointi] =
Foam::sqrt(allPointInfo[pointi].distSqr());
const labelList patchIDs(pbm.indices(polyPatchNames, true))
const polyBoundaryMesh & pbm
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
dimensionedScalar sqrt(const dimensionedScalar &ds)
Mesh representing a set of points created from polyMesh.
#define forAll(list, i)
Loop across all elements in list.
GeometricField< scalar, pointPatchField, pointMesh > pointScalarField
const Mesh & mesh() const noexcept
Return mesh.
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/chef2/andy/OpenFOAM/release/v2406/OpenFOAM-v2406/applications/solvers/multiphase/cavitatingFoam/alphavPsi.H" 1{ alphav=clamp((rho - rholSat)/(rhovSat - rholSat), zero_one{});alphal=1.0 - alphav;Info<< "max-min alphav: "<< max(alphav).value()<< " "<< min(alphav).value()<< endl;psiModel-> correct()
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
List< label > labelList
A List of labels.
Defines the attributes of an object for which implicit objectRegistry management is supported...
const dimensionedScalar mp
Proton mass.
void correct()
Correct for mesh geom/topo changes.