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

plb::descriptors::MRTD2Q9DescriptorBase< T > Struct Template Reference

#include <mrtLattices.h>

Inheritance diagram for plb::descriptors::MRTD2Q9DescriptorBase< T >:
Collaboration diagram for plb::descriptors::MRTD2Q9DescriptorBase< T >:

List of all members.

Public Types

enum  { numPop = BaseDescriptor::q }
enum  { jIndexes = 2 }
enum  { shearIndexes = 2 }
enum  { qIndexes = 2 }
typedef D2Q9DescriptorBase< T > BaseDescriptor
typedef MRTD2Q9DescriptorBase< T > SecondBaseDescriptor

Static Public Attributes

static const T M [BaseDescriptor::q][BaseDescriptor::q]
static const T invM [BaseDescriptor::q][BaseDescriptor::q]
static const T S [BaseDescriptor::q]
static const int momentumIndexes [jIndexes] = {3, 5}
static const int shearViscIndexes [shearIndexes] = {7, 8}
static const int qViscIndexes [qIndexes] = {4, 6}
static const int bulkViscIndex = 1
static const int epsilonIndex = 2

Detailed Description

template<typename T>
struct plb::descriptors::MRTD2Q9DescriptorBase< T >

MRT D2Q9 lattice. The numbering follows the one in "Viscous flow computations with the method of lattice Boltzmann equation", D. Yu, L.-S. Luo, W. Shi, Progress in Aerospace Sciences 39, (2003), p. 329-367


Member Typedef Documentation


Member Enumeration Documentation

template<typename T >
anonymous enum
Enumerator:
numPop 
template<typename T >
anonymous enum
Enumerator:
jIndexes 
template<typename T >
anonymous enum
Enumerator:
shearIndexes 
template<typename T >
anonymous enum
Enumerator:
qIndexes 

Member Data Documentation

template<typename T >
const int plb::descriptors::MRTD2Q9DescriptorBase< T >::bulkViscIndex = 1 [static]
template<typename T >
const int plb::descriptors::MRTD2Q9DescriptorBase< T >::epsilonIndex = 2 [static]
template<typename T >
const T plb::descriptors::MRTD2Q9DescriptorBase< T >::invM [inline, static]
Initial value:
        {
            {(T)1/(T)9, -(T)1/(T)9, (T)1/(T)9, T(), T(), T(), T(), T(), T()}, 
            {(T)1/(T)9, (T)1/(T)18, (T)1/(T)36, -(T)1/(T)6, -(T)1/(T)12, (T)1/(T)6, (T)1/(T)12, T(), -(T)1/(T)4}, 
            {(T)1/(T)9, -(T)1/(T)36, -(T)1/(T)18, -(T)1/(T)6, (T)1/(T)6, T(), T(), (T)1/(T)4, T()},  
            {(T)1/(T)9, (T)1/(T)18, (T)1/(T)36, -(T)1/(T)6, -(T)1/(T)12, -(T)1/(T)6, -(T)1/(T)12, T(), (T)1/(T)4}, 
            {(T)1/(T)9, -(T)1/(T)36, -(T)1/(T)18, T(), T(), -(T)1/(T)6, (T)1/(T)6, -(T)1/(T)4, T()}, 
            {(T)1/(T)9, (T)1/(T)18, (T)1/(T)36, (T)1/(T)6, (T)1/(T)12, -(T)1/(T)6, -(T)1/(T)12, T(), -(T)1/(T)4}, 
            {(T)1/(T)9, -(T)1/(T)36, -(T)1/(T)18, (T)1/(T)6, -(T)1/(T)6, T(), T(), (T)1/(T)4, T()}, 
            {(T)1/(T)9, (T)1/(T)18, (T)1/(T)36, (T)1/(T)6, (T)1/(T)12, (T)1/(T)6, (T)1/(T)12, T(), (T)1/(T)4}, 
            {(T)1/(T)9, -(T)1/(T)36, -(T)1/(T)18, T(), T(), (T)1/(T)6, -(T)1/(T)6, -(T)1/(T)4, T()}
        }
template<typename T >
const T plb::descriptors::MRTD2Q9DescriptorBase< T >::M [inline, static]
Initial value:
        {
            { (T)1,  (T)1,  (T)1,  (T)1,  (T)1,  (T)1,  (T)1,  (T)1,  (T)1 },
            {-(T)4,  (T)2, -(T)1,  (T)2, -(T)1,  (T)2, -(T)1,  (T)2, -(T)1 },
            { (T)4,  (T)1, -(T)2,  (T)1, -(T)2,  (T)1, -(T)2,  (T)1, -(T)2 },
            {  T(), -(T)1, -(T)1, -(T)1,   T(),  (T)1,  (T)1,  (T)1,   T() },
            {  T(), -(T)1,  (T)2, -(T)1,   T(),  (T)1, -(T)2,  (T)1,   T() },
            {  T(),  (T)1,   T(), -(T)1, -(T)1, -(T)1,   T(),  (T)1,  (T)1 },
            {  T(),  (T)1,   T(), -(T)1,  (T)2, -(T)1,   T(),  (T)1, -(T)2 },
            {  T(),   T(),  (T)1,   T(), -(T)1,   T(),  (T)1,   T(), -(T)1 },
            {  T(), -(T)1,   T(),  (T)1,   T(), -(T)1,   T(),  (T)1,   T() }
        }
template<typename T >
const int plb::descriptors::MRTD2Q9DescriptorBase< T >::momentumIndexes = {3, 5} [inline, static]
template<typename T >
const int plb::descriptors::MRTD2Q9DescriptorBase< T >::qViscIndexes = {4, 6} [inline, static]
template<typename T >
const T plb::descriptors::MRTD2Q9DescriptorBase< T >::S [inline, static]
Initial value:
    { T(), (T)1.63, (T)1.14, T(), (T)1.92, T(), (T)1.92, T(), T() }
template<typename T >
const int plb::descriptors::MRTD2Q9DescriptorBase< T >::shearViscIndexes = {7, 8} [inline, static]

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