$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
Regularized Advection-Diffusion dynamics. More...
#include <advectionDiffusionDynamics.h>


Public Member Functions | |
| AdvectionDiffusionRLBdynamics (T omega_) | |
| Constructor. | |
| virtual AdvectionDiffusionRLBdynamics < T, Descriptor > * | 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) |
| 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. | |
Regularized Advection-Diffusion dynamics.
It uses the regularized approximation that can be found in the thesis of J. Latt (2007).
| plb::AdvectionDiffusionRLBdynamics< T, Descriptor >::AdvectionDiffusionRLBdynamics | ( | T | omega_ | ) | [inline] |
Constructor.
| omega_ | relaxation parameter, related to the dynamic viscosity |
| AdvectionDiffusionRLBdynamics< T, Descriptor > * plb::AdvectionDiffusionRLBdynamics< T, Descriptor >::clone | ( | ) | const [inline, virtual] |
Clone the object on its dynamic type.
Implements plb::Dynamics< T, Descriptor >.
| void plb::AdvectionDiffusionRLBdynamics< T, Descriptor >::collide | ( | Cell< T, Descriptor > & | cell, | |
| BlockStatistics & | statistics | |||
| ) | [inline, virtual] |
Collision step.
Implements plb::Dynamics< T, Descriptor >.
References plb::gatherStatistics(), plb::BasicBulkDynamics< T, Descriptor >::getOmega(), and plb::Cell< T, Descriptor >::takesStatistics().
| T plb::AdvectionDiffusionRLBdynamics< T, Descriptor >::computeEquilibrium | ( | plint | iPop, | |
| T | rhoBar, | |||
| Array< T, Descriptor< T >::d > const & | j, | |||
| T | jSqr, | |||
| T | thetaBar = T() | |||
| ) | const [inline, virtual] |
Compute equilibrium distribution function.
| j | The parameter j is defined as j = j_advDiff = rho_advDiff*u_fluid |
Implements plb::Dynamics< T, Descriptor >.
| int plb::AdvectionDiffusionRLBdynamics< T, Descriptor >::getId | ( | ) | const [inline, virtual] |
Return a unique ID for this class.
Reimplemented from plb::Dynamics< T, Descriptor >.
1.6.3
1.6.3