$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
Implementation of O(Ma^2) BGK dynamics, density and momentum taken from external scalars. More...
#include <isoThermalDynamics.h>


Public Member Functions | |
| ExternalMomentRegularizedBGKdynamics (T omega_) | |
| virtual ExternalMomentRegularizedBGKdynamics < 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_) |
| 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. | |
| virtual void | computeVelocity (Cell< T, Descriptor > const &cell, Array< T, Descriptor< T >::d > &u) const |
| virtual T | computeRhoBar (Cell< T, Descriptor > const &cell) const |
| Compute order-0 moment rho-bar. | |
| virtual void | computeRhoBarJ (Cell< T, Descriptor > const &cell, T &rhoBar, Array< T, Descriptor< T >::d > &j) const |
| Compute order-0 moment rho-bar and order-1 moment j. | |
Implementation of O(Ma^2) BGK dynamics, density and momentum taken from external scalars.
| plb::ExternalMomentRegularizedBGKdynamics< T, Descriptor >::ExternalMomentRegularizedBGKdynamics | ( | T | omega_ | ) | [inline] |
| omega_ | relaxation parameter, related to the dynamic viscosity |
| ExternalMomentRegularizedBGKdynamics< T, Descriptor > * plb::ExternalMomentRegularizedBGKdynamics< T, Descriptor >::clone | ( | ) | const [inline, virtual] |
Clone the object on its dynamic type.
Implements plb::Dynamics< T, Descriptor >.
| void plb::ExternalMomentRegularizedBGKdynamics< 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::ExternalMomentRegularizedBGKdynamics< T, Descriptor >::collide | ( | Cell< T, Descriptor > & | cell, | |
| BlockStatistics & | statistics_ | |||
| ) | [inline, virtual] |
Implementation of the collision step.
Implements plb::Dynamics< T, Descriptor >.
References plb::flatWall::compute_PiNeq(), plb::Array< T, size >::from_cArray(), plb::gatherStatistics(), plb::Cell< T, Descriptor >::getExternal(), plb::BasicBulkDynamics< T, Descriptor >::getOmega(), and plb::Cell< T, Descriptor >::takesStatistics().
| T plb::ExternalMomentRegularizedBGKdynamics< 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 >.
| T plb::ExternalMomentRegularizedBGKdynamics< T, Descriptor >::computeRhoBar | ( | Cell< T, Descriptor > const & | cell | ) | const [inline, virtual] |
Compute order-0 moment rho-bar.
Accesses rhoBar from external scalar.
Reimplemented from plb::BasicBulkDynamics< T, Descriptor >.
| void plb::ExternalMomentRegularizedBGKdynamics< T, Descriptor >::computeRhoBarJ | ( | Cell< T, Descriptor > const & | cell, | |
| T & | rhoBar, | |||
| Array< T, Descriptor< T >::d > & | j | |||
| ) | const [inline, virtual] |
Compute order-0 moment rho-bar and order-1 moment j.
Accesses rhoBar and j from external scalar.
Reimplemented from plb::BasicBulkDynamics< T, Descriptor >.
| void plb::ExternalMomentRegularizedBGKdynamics< T, Descriptor >::computeVelocity | ( | Cell< T, Descriptor > const & | cell, | |
| Array< T, Descriptor< T >::d > & | u | |||
| ) | const [inline, virtual] |
Accesses velocity from external scalar.
Reimplemented from plb::BasicBulkDynamics< T, Descriptor >.
References plb::Cell< T, Descriptor >::getExternal().
| int plb::ExternalMomentRegularizedBGKdynamics< 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