44 #include "viscosityModel.H" 52 namespace viscosityModels
59 template<
class ViscousModel>
121 this->nu_ *= calcNu(*fldPtr);
Arrhenius(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const Type * findObject(const word &name, const bool recursive=false) const
Return const pointer to the object of the given Type.
virtual void correct()
Correct the laminar viscosity.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::string.
virtual ~Arrhenius()=default
Destructor.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
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/v2306/OpenFOAM-v2306/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()
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
TypeName("Arrhenius")
Runtime type information.
A class for managing temporary objects.
Arrhenius type of dependency on a given scalar field name. Most likely temperature. The expression is as follow: