33 template<
class TransferType>
38 const bool correctWalls
54 correctWalls_(correctWalls),
63 template<
class TransferType>
70 template<
class TransferType>
108 Boundary& bf = boundaryFieldRef();
115 if (!isA<emptyFvPatchScalarField>(boundaryField()[
patchi]))
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
#define forAll(list, i)
Loop across all elements in list.
virtual ~wallDistData()
Destructor.
Generic GeometricField class.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const Time & time() const
Return the top-level database.
Takes a set of patches to start MeshWave from.
Collection of functions used in wall distance calculation.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
const FieldField< Field, Type > & patchData() const
virtual void correct()
Correct for mesh geom/topo changes.
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-6/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()
label size() const
Return the number of elements in the UPtrList.
const scalarField & distance() const
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
void transfer(UPtrList< T > &)
Transfer the contents of the argument UPtrList into this.
const FieldField< Field, scalar > & patchDistance() const
Wall distance calculation. Like wallDist but also transports extra data (template argument)...
Mesh consisting of general polyhedral cells.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void transfer(List< Type > &)
Transfer the contents of the argument List into this list.
const Field< Type > & cellData() const