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]))
#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 polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
Takes a set of patches to start MeshWave from.
Collection of functions used in wall distance calculation.
const FieldField< Field, scalar > & patchDistance() const
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const scalarField & distance() const
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
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-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()
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.
const Field< Type > & cellData() const
Mesh data needed to do the Finite Volume discretisation.
void transfer(PtrList< T > &)
Transfer the contents of the argument PtrList into this PtrList.
void transfer(UPtrList< T > &)
Transfer the contents of the argument UPtrList into this.
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...
const Time & time() const
Return the top-level database.
label size() const
Return the number of elements in the UPtrList.
const FieldField< Field, Type > & patchData() const