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

A GeneralisedNewtonianConstitutiveEquation class defining a fluid following a tanh-profile. More...

#include <generalised_newtonian_constitutive_models.h>

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

Public Member Functions

 TanhProfileConstitutiveEquation (double *mu_inf_pt, double *mu_0_pt, double *alpha_pt, double *critical_second_invariant_pt)
 
double viscosity (const double &second_invariant_of_rate_of_strain_tensor)
 Function implementing the constitutive model Input: second invariant of the rate of strain Output: the viscosity For Newtonian behaviour this returns 1. More...
 
double dviscosity_dinvariant (const double &second_invariant_of_rate_of_strain_tensor)
 Function returning the derivative of the viscosity w.r.t. the second invariant of the rate of strain tensor For Newtonian behaviour this returns 0.0. More...
 
- Public Member Functions inherited from oomph::GeneralisedNewtonianConstitutiveEquation< DIM >
 GeneralisedNewtonianConstitutiveEquation ()
 Empty constructor. More...
 
virtual ~GeneralisedNewtonianConstitutiveEquation ()
 Empty virtual destructor. More...
 

Private Attributes

double * Mu_inf_pt
 high shear rate viscosity More...
 
double * Mu_0_pt
 zero shear rate viscosity More...
 
double * Alpha_pt
 parameter controlling the steepness of the step nb – I used 10.0/(*Critical_second_invariant_pt) More...
 
double * Critical_second_invariant_pt
 parameter that controls the location of the step – assumed to be always positive More...
 

Detailed Description

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

A GeneralisedNewtonianConstitutiveEquation class defining a fluid following a tanh-profile.

Definition at line 1145 of file generalised_newtonian_constitutive_models.h.

Constructor & Destructor Documentation

◆ TanhProfileConstitutiveEquation()

template<unsigned DIM>
oomph::TanhProfileConstitutiveEquation< DIM >::TanhProfileConstitutiveEquation ( double *  mu_inf_pt,
double *  mu_0_pt,
double *  alpha_pt,
double *  critical_second_invariant_pt 
)
inline

Member Function Documentation

◆ dviscosity_dinvariant()

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

Function returning the derivative of the viscosity w.r.t. the second invariant of the rate of strain tensor For Newtonian behaviour this returns 0.0.

Implements oomph::GeneralisedNewtonianConstitutiveEquation< DIM >.

Definition at line 1193 of file generalised_newtonian_constitutive_models.h.

References oomph::TanhProfileConstitutiveEquation< DIM >::Critical_second_invariant_pt.

◆ viscosity()

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

Member Data Documentation

◆ Alpha_pt

template<unsigned DIM>
double* oomph::TanhProfileConstitutiveEquation< DIM >::Alpha_pt
private

parameter controlling the steepness of the step nb – I used 10.0/(*Critical_second_invariant_pt)

Definition at line 1157 of file generalised_newtonian_constitutive_models.h.

Referenced by oomph::TanhProfileConstitutiveEquation< DIM >::viscosity().

◆ Critical_second_invariant_pt

template<unsigned DIM>
double* oomph::TanhProfileConstitutiveEquation< DIM >::Critical_second_invariant_pt
private

parameter that controls the location of the step – assumed to be always positive

Definition at line 1161 of file generalised_newtonian_constitutive_models.h.

Referenced by oomph::TanhProfileConstitutiveEquation< DIM >::dviscosity_dinvariant(), and oomph::TanhProfileConstitutiveEquation< DIM >::viscosity().

◆ Mu_0_pt

template<unsigned DIM>
double* oomph::TanhProfileConstitutiveEquation< DIM >::Mu_0_pt
private

zero shear rate viscosity

Definition at line 1153 of file generalised_newtonian_constitutive_models.h.

Referenced by oomph::TanhProfileConstitutiveEquation< DIM >::viscosity().

◆ Mu_inf_pt

template<unsigned DIM>
double* oomph::TanhProfileConstitutiveEquation< DIM >::Mu_inf_pt
private

high shear rate viscosity

Definition at line 1150 of file generalised_newtonian_constitutive_models.h.

Referenced by oomph::TanhProfileConstitutiveEquation< DIM >::viscosity().


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