$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
Implementation of O(Ma^2) BGK dynamics with constant average density. More...
#include <carreauDynamics.h>


Public Member Functions | |
| BGKCarreauDynamics (T omega=(T) 1) | |
| virtual BGKCarreauDynamics< T, Descriptor, N > * | clone () const |
| Clone the object on its dynamic type. | |
| virtual int | getId () const |
| Return a unique ID for this class. | |
| virtual void | collide (Cell< T, Descriptor > &cell, BlockStatistics &statistics_) |
| Implementation of the collision step. | |
| virtual T | computeEquilibrium (plint iPop, T rhoBar, Array< T, Descriptor< T >::d > const &j, T jSqr, T thetaBar=T()) const |
| Compute equilibrium distribution function. | |
Implementation of O(Ma^2) BGK dynamics with constant average density.
Semantically, this class is equivalent to RLBdynamics< . , . , BGKdynamics<.,.> >, but the implementation is more efficient.
| plb::BGKCarreauDynamics< T, Descriptor, N >::BGKCarreauDynamics | ( | T | omega = (T)1 |
) | [inline] |
| omega_ | relaxation parameter, related to the dynamic viscosity |
| BGKCarreauDynamics< T, Descriptor, N > * plb::BGKCarreauDynamics< T, Descriptor, N >::clone | ( | ) | const [inline, virtual] |
Clone the object on its dynamic type.
Implements plb::Dynamics< T, Descriptor >.
| void plb::BGKCarreauDynamics< T, Descriptor, N >::collide | ( | Cell< T, Descriptor > & | cell, | |
| BlockStatistics & | statistics_ | |||
| ) | [inline, virtual] |
Implementation of the collision step.
Implements plb::Dynamics< T, Descriptor >.
References plb::global::CarreauParameters(), plb::gatherStatistics(), plb::BasicBulkDynamics< T, Descriptor >::getOmega(), plb::BasicBulkDynamics< T, Descriptor >::setOmega(), and plb::Cell< T, Descriptor >::takesStatistics().
| T plb::BGKCarreauDynamics< T, Descriptor, N >::computeEquilibrium | ( | plint | iPop, | |
| T | rhoBar, | |||
| Array< T, Descriptor< T >::d > const & | j, | |||
| T | jSqr, | |||
| T | thetaBar = T() | |||
| ) | const [inline, virtual] |
Compute equilibrium distribution function.
Implements plb::Dynamics< T, Descriptor >.
| int plb::BGKCarreauDynamics< T, Descriptor, N >::getId | ( | ) | const [inline, virtual] |
Return a unique ID for this class.
Reimplemented from plb::Dynamics< T, Descriptor >.
1.6.3
1.6.3