27 #include "surfaceInterpolate.H" 41 motionDirectionalDiffusivity,
49 Foam::motionDirectionalDiffusivity::motionDirectionalDiffusivity
56 diffusivityVector_(mdData)
70 static bool first =
true;
86 + (diffusivityVector_.x() - diffusivityVector_.y())*cellMotionU
88 zeroGradientFvPatchVectorField::typeName
90 D.correctBoundaryConditions();
Virtual base class for velocity motion solver.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual void correct()
Correct the motion diffusivity.
static const Vector< scalar > one
Macros for easy insertion into run-time selection tables.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
SolverPerformance< Type > solve(fvMatrix< Type > &, const dictionary &)
Solve returning the solution statistics given convergence tolerance.
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
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()
defineTypeNameAndDebug(combustionModel, 0)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
dimensioned< scalar > mag(const dimensioned< Type > &)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual ~motionDirectionalDiffusivity()
Destructor.
const dimensionSet dimVelocity