$treeview $search $mathjax
Palabos  Version 1.1
$projectbrief
$projectbrief
$searchbox

plb::CarreauDynamics< T, Descriptor, N > Class Template Reference

This class recomputes omega for a generalied newtonian fluid with a carreau constitutive equation. More...

#include <carreauDynamics.h>

Inheritance diagram for plb::CarreauDynamics< T, Descriptor, N >:
Collaboration diagram for plb::CarreauDynamics< T, Descriptor, N >:

List of all members.

Public Member Functions

 CarreauDynamics (Dynamics< T, Descriptor > *baseDynamics_, bool automaticPrepareCollision=true)
virtual T getOmegaFromPiAndRhoBar (Array< T, SymmetricTensor< T, Descriptor >::n > const &PiNeq, T rhoBar) const
CarreauDynamics< T, Descriptor,
N > * 
clone () const
 Clone the object, based on its dynamic type.
virtual int getId () const
 Get an ID for the class which is unique for a given choice of T and Descriptor.

Detailed Description

template<typename T, template< typename U > class Descriptor, int N>
class plb::CarreauDynamics< T, Descriptor, N >

This class recomputes omega for a generalied newtonian fluid with a carreau constitutive equation.

The constitutive equation is nu=nu0*(1+(lambda*|gamma|)^2)^((n-1)/2). Note that in order to be numerically efficient there is no resolution of the implicit equation rather we try to get to the fixed point by auto-replacement in the solution.(??? need to be rewritten)


Constructor & Destructor Documentation

template<typename T , template< typename U > class Descriptor, int N>
plb::CarreauDynamics< T, Descriptor, N >::CarreauDynamics ( Dynamics< T, Descriptor > *  baseDynamics_,
bool  automaticPrepareCollision = true 
) [inline]

Member Function Documentation

template<typename T , template< typename U > class Descriptor, int N>
CarreauDynamics< T, Descriptor, N > * plb::CarreauDynamics< T, Descriptor, N >::clone (  )  const [inline, virtual]

Clone the object, based on its dynamic type.

Implements plb::CompositeDynamics< T, Descriptor >.

template<typename T , template< typename U > class Descriptor, int N>
int plb::CarreauDynamics< T, Descriptor, N >::getId (  )  const [inline, virtual]

Get an ID for the class which is unique for a given choice of T and Descriptor.

By default, this method returns 0 ("undefined").

Reimplemented from plb::Dynamics< T, Descriptor >.

template<typename T , template< typename U > class Descriptor, int N>
T plb::CarreauDynamics< T, Descriptor, N >::getOmegaFromPiAndRhoBar ( Array< T, SymmetricTensor< T, Descriptor >::n > const &  PiNeq,
rhoBar 
) const [inline, virtual]

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