Public Member Functions | Private Attributes | List of all members
oomph::NewtonianConstitutiveEquation< DIM > Class Template Reference

A GeneralisedNewtonianConstitutiveEquation class defining a Newtonian fluid. More...

#include <generalised_newtonian_constitutive_models.h>

+ Inheritance diagram for oomph::NewtonianConstitutiveEquation< DIM >:

Public Member Functions

 NewtonianConstitutiveEquation (const double &viscosity_ratio=1.0)
 Constructor: specify viscosity ratio (defaults to one) More...
 
double viscosity (const double &second_invariant_of_rate_of_strain_tensor)
 in the Newtonian case the viscosity is constant More...
 
double dviscosity_dinvariant (const double &second_invariant_of_rate_of_strain_tensor)
 the derivative w.r.t. I2 is zero More...
 
- Public Member Functions inherited from oomph::GeneralisedNewtonianConstitutiveEquation< DIM >
 GeneralisedNewtonianConstitutiveEquation ()
 Empty constructor. More...
 
virtual ~GeneralisedNewtonianConstitutiveEquation ()
 Empty virtual destructor. More...
 

Private Attributes

double Viscosity_ratio
 Viscosity ratio. More...
 

Detailed Description

template<unsigned DIM>
class oomph::NewtonianConstitutiveEquation< DIM >

A GeneralisedNewtonianConstitutiveEquation class defining a Newtonian fluid.

Definition at line 70 of file generalised_newtonian_constitutive_models.h.

Constructor & Destructor Documentation

◆ NewtonianConstitutiveEquation()

template<unsigned DIM>
oomph::NewtonianConstitutiveEquation< DIM >::NewtonianConstitutiveEquation ( const double &  viscosity_ratio = 1.0)
inline

Constructor: specify viscosity ratio (defaults to one)

Definition at line 75 of file generalised_newtonian_constitutive_models.h.

Member Function Documentation

◆ dviscosity_dinvariant()

template<unsigned DIM>
double oomph::NewtonianConstitutiveEquation< DIM >::dviscosity_dinvariant ( const double &  second_invariant_of_rate_of_strain_tensor)
inlinevirtual

the derivative w.r.t. I2 is zero

Implements oomph::GeneralisedNewtonianConstitutiveEquation< DIM >.

Definition at line 87 of file generalised_newtonian_constitutive_models.h.

◆ viscosity()

template<unsigned DIM>
double oomph::NewtonianConstitutiveEquation< DIM >::viscosity ( const double &  second_invariant_of_rate_of_strain_tensor)
inlinevirtual

Member Data Documentation

◆ Viscosity_ratio

template<unsigned DIM>
double oomph::NewtonianConstitutiveEquation< DIM >::Viscosity_ratio
private

The documentation for this class was generated from the following file: