29 #include "surfaceInterpolate.H" 43 motionDirectionalDiffusivity,
51 Foam::motionDirectionalDiffusivity::motionDirectionalDiffusivity
58 diffusivityVector_(mdData)
72 static bool first =
true;
87 diffusivityVector_.y()*vector::one
88 + (diffusivityVector_.x() - diffusivityVector_.y())*cellMotionU
93 D.correctBoundaryConditions();
102 const velocityMotionSolver& mSolver =
105 const_cast<velocityMotionSolver&
>(mSolver).
solve();
static const word & zeroGradientType() noexcept
The type name for zeroGradient patch fields.
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual void correct()
Correct the motion diffusivity.
Macros for easy insertion into run-time selection tables.
SolverPerformance< Type > solve(faMatrix< Type > &, const dictionary &solverControls)
Solve returning the solution statistics given convergence tolerance.
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
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()
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.
const dimensionedScalar & D
Defines the attributes of an object for which implicit objectRegistry management is supported...
virtual ~motionDirectionalDiffusivity()
Destructor.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)
const dimensionSet dimVelocity