45 #ifndef mixtureViscosityModel_H 46 #define mixtureViscosityModel_H dictionary viscosityProperties_
mixtureViscosityModel(const mixtureViscosityModel &)=delete
No copy construct.
Forwards and collection of common volume field types.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual ~mixtureViscosityModel()=default
Destructor.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
An abstract base class for incompressible mixtureViscosityModels.
A class for handling words, derived from Foam::string.
virtual tmp< volScalarField > mu(const volScalarField &muc) const =0
Return the mixture viscosity.
const surfaceScalarField & phi_
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
static autoPtr< mixtureViscosityModel > New(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Return a reference to the selected viscosity model.
TypeName("mixtureViscosityModel")
Runtime type information.
declareRunTimeSelectionTable(autoPtr, mixtureViscosityModel, dictionary,(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi),(name, viscosityProperties, U, phi))
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
void operator=(const mixtureViscosityModel &)=delete
No copy assignment.
const volVectorField & U_