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

plb::RLBdynamics< T, Descriptor > Class Template Reference

Generic implementation of the Regularized BGK dynamics. More...

#include <isoThermalDynamics.h>

Inheritance diagram for plb::RLBdynamics< T, Descriptor >:
Collaboration diagram for plb::RLBdynamics< T, Descriptor >:

List of all members.

Public Member Functions

 RLBdynamics (Dynamics< T, Descriptor > *baseDynamics, bool automaticPrepareCollision=true)
virtual RLBdynamics< T,
Descriptor > * 
clone () const
 Clone the object on its dynamic type.
virtual int getId () const
 Return a unique ID for this class.
virtual void completePopulations (Cell< T, Descriptor > &cell) const
 Execute completion scheme before base collision.

Detailed Description

template<typename T, template< typename U > class Descriptor>
class plb::RLBdynamics< T, Descriptor >

Generic implementation of the Regularized BGK dynamics.

This implementation is valid for isothermal models only. This model is substantially more stable than plain BGK, and has roughly the same efficiency. However, it cuts out the modes at higher Knudsen numbers and therefore cannot be used in the regime of rarefied gases.


Constructor & Destructor Documentation

template<typename T , template< typename U > class Descriptor>
plb::RLBdynamics< T, Descriptor >::RLBdynamics ( Dynamics< T, Descriptor > *  baseDynamics,
bool  automaticPrepareCollision = true 
) [inline]
Parameters:
omega_ relaxation parameter, related to the dynamic viscosity

Member Function Documentation

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

Clone the object on its dynamic type.

Implements plb::PreparePopulationsDynamics< T, Descriptor >.

template<typename T , template< typename U > class Descriptor>
void plb::RLBdynamics< T, Descriptor >::completePopulations ( Cell< T, Descriptor > &  cell  )  const [inline, virtual]

Execute completion scheme before base collision.

Implements plb::PreparePopulationsDynamics< T, Descriptor >.

References plb::CompositeDynamics< T, Descriptor >::computeEquilibrium(), and plb::normSqr().

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

Return a unique ID for this class.

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


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