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

#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 79 of file generalised_newtonian_constitutive_models.h.

Constructor & Destructor Documentation

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

Constructor: specify viscosity ratio (defaults to one)

Definition at line 86 of file generalised_newtonian_constitutive_models.h.

Member Function Documentation

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 98 of file generalised_newtonian_constitutive_models.h.

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

Member Data Documentation

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

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