A GeneralisedNewtonianConstitutiveEquation class defining a fluid following a tanh-profile. More...
#include <generalised_newtonian_constitutive_models.h>
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... | |
A GeneralisedNewtonianConstitutiveEquation class defining a fluid following a tanh-profile.
Definition at line 1145 of file generalised_newtonian_constitutive_models.h.
|
inline |
Definition at line 1164 of file generalised_newtonian_constitutive_models.h.
|
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.
|
inlinevirtual |
Function implementing the constitutive model Input: second invariant of the rate of strain Output: the viscosity For Newtonian behaviour this returns 1.
Implements oomph::GeneralisedNewtonianConstitutiveEquation< DIM >.
Definition at line 1176 of file generalised_newtonian_constitutive_models.h.
References oomph::TanhProfileConstitutiveEquation< DIM >::Alpha_pt, oomph::TanhProfileConstitutiveEquation< DIM >::Critical_second_invariant_pt, oomph::TanhProfileConstitutiveEquation< DIM >::Mu_0_pt, and oomph::TanhProfileConstitutiveEquation< DIM >::Mu_inf_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().
|
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().
|
private |
zero shear rate viscosity
Definition at line 1153 of file generalised_newtonian_constitutive_models.h.
Referenced by oomph::TanhProfileConstitutiveEquation< DIM >::viscosity().
|
private |
high shear rate viscosity
Definition at line 1150 of file generalised_newtonian_constitutive_models.h.
Referenced by oomph::TanhProfileConstitutiveEquation< DIM >::viscosity().