$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
Implementation of O(Ma^2) Regularized BGK dynamics without the 1/rho in front of the non-linear term. More...
#include <isoThermalDynamics.h>


Public Member Functions | |
| IncRegularizedBGKdynamics (T omega_) | |
| virtual IncRegularizedBGKdynamics< T, Descriptor > * | clone () const |
| Clone the object on its dynamic type. | |
| virtual int | getId () const |
| Return a unique ID for this class. | |
| virtual void | computeVelocity (Cell< T, Descriptor > const &cell, Array< T, Descriptor< T >::d > &u) const |
| Velocity is equal to j, not u. | |
| virtual void | computeRhoBarJPiNeq (Cell< T, Descriptor > const &cell, T &rhoBar, Array< T, Descriptor< T >::d > &j, Array< T, SymmetricTensor< T, Descriptor >::n > &PiNeq) const |
| For PiNeq, subtract equilibrium term jj instead of invRho*jj. | |
| virtual void | collide (Cell< T, Descriptor > &cell, BlockStatistics &statistics_) |
| Implementation of the collision step. | |
| virtual void | collide (Cell< T, Descriptor > &cell, T rhoBar, Array< T, Descriptor< T >::d > const &j, T thetaBar, BlockStatistics &stat) |
| Implementation of the collision step, with imposed macroscopic variables. | |
| virtual T | computeEquilibrium (plint iPop, T rhoBar, Array< T, Descriptor< T >::d > const &j, T jSqr, T thetaBar=T()) const |
| Compute equilibrium distribution function. | |
| bool | velIsJ () const |
Implementation of O(Ma^2) Regularized BGK dynamics without the 1/rho in front of the non-linear term.
| plb::IncRegularizedBGKdynamics< T, Descriptor >::IncRegularizedBGKdynamics | ( | T | omega_ | ) | [inline] |
| omega_ | relaxation parameter, related to the dynamic viscosity |
| IncRegularizedBGKdynamics< T, Descriptor > * plb::IncRegularizedBGKdynamics< T, Descriptor >::clone | ( | ) | const [inline, virtual] |
Clone the object on its dynamic type.
Implements plb::Dynamics< T, Descriptor >.
| void plb::IncRegularizedBGKdynamics< T, Descriptor >::collide | ( | Cell< T, Descriptor > & | cell, | |
| T | rhoBar, | |||
| Array< T, Descriptor< T >::d > const & | j, | |||
| T | thetaBar, | |||
| BlockStatistics & | stat | |||
| ) | [inline, virtual] |
Implementation of the collision step, with imposed macroscopic variables.
Reimplemented from plb::Dynamics< T, Descriptor >.
References plb::flatWall::compute_PiNeq(), and plb::BasicBulkDynamics< T, Descriptor >::getOmega().
| void plb::IncRegularizedBGKdynamics< T, Descriptor >::collide | ( | Cell< T, Descriptor > & | cell, | |
| BlockStatistics & | statistics_ | |||
| ) | [inline, virtual] |
Implementation of the collision step.
Implements plb::Dynamics< T, Descriptor >.
References plb::gatherStatistics(), plb::BasicBulkDynamics< T, Descriptor >::getOmega(), and plb::Cell< T, Descriptor >::takesStatistics().
| T plb::IncRegularizedBGKdynamics< 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.
Implements plb::Dynamics< T, Descriptor >.
| void plb::IncRegularizedBGKdynamics< T, Descriptor >::computeRhoBarJPiNeq | ( | Cell< T, Descriptor > const & | cell, | |
| T & | rhoBar, | |||
| Array< T, Descriptor< T >::d > & | j, | |||
| Array< T, SymmetricTensor< T, Descriptor >::n > & | PiNeq | |||
| ) | const [inline, virtual] |
For PiNeq, subtract equilibrium term jj instead of invRho*jj.
Reimplemented from plb::BasicBulkDynamics< T, Descriptor >.
| void plb::IncRegularizedBGKdynamics< T, Descriptor >::computeVelocity | ( | Cell< T, Descriptor > const & | cell, | |
| Array< T, Descriptor< T >::d > & | u | |||
| ) | const [inline, virtual] |
Velocity is equal to j, not u.
Reimplemented from plb::BasicBulkDynamics< T, Descriptor >.
References plb::BasicBulkDynamics< T, Descriptor >::computeRhoBarJ().
| int plb::IncRegularizedBGKdynamics< T, Descriptor >::getId | ( | ) | const [inline, virtual] |
Return a unique ID for this class.
Reimplemented from plb::Dynamics< T, Descriptor >.
| bool plb::IncRegularizedBGKdynamics< T, Descriptor >::velIsJ | ( | ) | const [inline, virtual] |
Say if velocity in this dynamics is computed as "j" (the order-1 moment of the populations) or as "j/rho".
Reimplemented from plb::Dynamics< T, Descriptor >.
1.6.3
1.6.3