$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
#include <smagorinskyDynamics.h>


Public Member Functions | |
| SmagorinskyRegularizedDynamics (T omega0_, T cSmago_) | |
| virtual SmagorinskyRegularizedDynamics < T, Descriptor > * | clone () const |
| Clone the object on its dynamic type. | |
| virtual int | getId () const |
| Return a unique ID for this class. | |
| virtual void | serialize (HierarchicSerializer &serializer) const |
| Serialize the dynamics object. | |
| virtual void | unserialize (HierarchicUnserializer &unserializer) |
| Un-Serialize the dynamics object. | |
| 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. | |
| virtual void | setOmega (T omega_) |
| virtual T | getOmega () const |
| Returns omega0. | |
| plb::SmagorinskyRegularizedDynamics< T, Descriptor >::SmagorinskyRegularizedDynamics | ( | T | omega0_, | |
| T | cSmago_ | |||
| ) | [inline] |
| omega_ | relaxation parameter, related to the dynamic viscosity |
| SmagorinskyRegularizedDynamics< T, Descriptor > * plb::SmagorinskyRegularizedDynamics< T, Descriptor >::clone | ( | ) | const [inline, virtual] |
Clone the object on its dynamic type.
Implements plb::Dynamics< T, Descriptor >.
| void plb::SmagorinskyRegularizedDynamics< T, Descriptor >::collide | ( | Cell< T, Descriptor > & | cell, | |
| BlockStatistics & | statistics_ | |||
| ) | [inline, virtual] |
Implementation of the collision step.
Implements plb::Dynamics< T, Descriptor >.
References plb::computeOmega(), plb::gatherStatistics(), plb::SmagorinskyRegularizedDynamics< T, Descriptor >::setOmega(), and plb::Cell< T, Descriptor >::takesStatistics().
| T plb::SmagorinskyRegularizedDynamics< 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 >.
| int plb::SmagorinskyRegularizedDynamics< T, Descriptor >::getId | ( | ) | const [inline, virtual] |
Return a unique ID for this class.
Reimplemented from plb::Dynamics< T, Descriptor >.
| T plb::SmagorinskyRegularizedDynamics< T, Descriptor >::getOmega | ( | ) | const [inline, virtual] |
Returns omega0.
Reimplemented from plb::BasicBulkDynamics< T, Descriptor >.
| void plb::SmagorinskyRegularizedDynamics< T, Descriptor >::serialize | ( | HierarchicSerializer & | serializer | ) | const [inline, virtual] |
Serialize the dynamics object.
Reimplemented from plb::Dynamics< T, Descriptor >.
References plb::HierarchicSerializer::addValue().
| void plb::SmagorinskyRegularizedDynamics< T, Descriptor >::setOmega | ( | T | omega_ | ) | [inline, virtual] |
With this method, you can modify the constant value omega0 (not the actual value of omega, which is computed during run-time from omega0 and the local strain-rate).
Reimplemented from plb::BasicBulkDynamics< T, Descriptor >.
Referenced by plb::SmagorinskyRegularizedDynamics< T, Descriptor >::collide().
| void plb::SmagorinskyRegularizedDynamics< T, Descriptor >::unserialize | ( | HierarchicUnserializer & | unserializer | ) | [inline, virtual] |
Un-Serialize the dynamics object.
Reimplemented from plb::Dynamics< T, Descriptor >.
References plb::HierarchicUnserializer::readValue().
1.6.3
1.6.3