33 namespace laminarModels
35 namespace generalisedNewtonianViscosityModels
41 generalisedNewtonianViscosityModel,
65 read(viscosityProperties);
107 (tau0_ + k_*rtone*
pow(tone*strainRate, n_))
const dimensionSet dimViscosity
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()
HerschelBulkley(const dictionary &viscosityProperties, const Foam::viscosity &viscosity, const volVectorField &U)
Construct from components.
addToRunTimeSelectionTable(generalisedNewtonianViscosityModel, Newtonian, dictionary)
const dimensionSet dimless
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
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.
Abstract base class for all fluid physical properties.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
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.