33 namespace laminarModels
35 namespace generalisedNewtonianViscosityModels
41 generalisedNewtonianViscosityModel,
65 read(viscosityProperties);
112 n_.value() - scalar(1)
const dimensionSet dimViscosity
powerLaw(const dictionary &viscosityProperties, const Foam::viscosity &viscosity, const volVectorField &U)
Construct from components.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
A list of keyword definitions, which are a keyword followed by any number of values (e...
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(rho0+psi *p, rhoMin);# 1 "/home/ubuntu/OpenFOAM-10/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()
addToRunTimeSelectionTable(generalisedNewtonianViscosityModel, Newtonian, dictionary)
const dimensionSet dimless
bool read(Istream &, const bool keepHeader=false)
Read dictionary from Istream, optionally keeping the header.
Macros for easy insertion into run-time selection tables.
const dimensionSet dimTime
bool read(const char *, int32_t &)
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
An abstract base class for strain-rate dependent generalised Newtonian viscosity models.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
Abstract base class for all fluid physical properties.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.
defineTypeNameAndDebug(Newtonian, 0)
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.