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

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

D3Q13 lattice. More...

#include <nearestNeighborLattices3D.h>

Inheritance diagram for plb::descriptors::D3Q13Constants< T >:

List of all members.

Public Types

enum  { d = 3, q = 13 }

Static Public Attributes

static const T invD = (T)1 / (T) d
 1 / (number of dimensions)
static const int vicinity = 1
 size of neighborhood
static const int c [q][d]
 lattice directions
static const int cNormSqr [q]
 norm-square of the vector c
static const T t [q]
 lattice weights
static const T cs2 = (T)1 / (T)3
 lattice constant cs2 (in BGK, this is the square-speed-of-sound)
static const T invCs2 = (T)3
 1 / cs2
static const T lambda_e = (T)1.5
 relaxation parameter for the bulk stress
static const T lambda_h = (T)1.8
 additional relaxation parameter

Detailed Description

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

D3Q13 lattice.


Member Enumeration Documentation

template<typename T >
anonymous enum
Enumerator:
d 
q 

Member Data Documentation

template<typename T >
const int plb::descriptors::D3Q13Constants< T >::c [inline, static]
Initial value:
        {
            { 0, 0, 0},

            {-1,-1, 0}, {-1, 1, 0}, {-1, 0,-1},
            {-1, 0, 1}, { 0,-1,-1}, { 0,-1, 1},

            { 1, 1, 0}, { 1,-1, 0}, { 1, 0, 1},
            { 1, 0,-1}, { 0, 1, 1}, { 0, 1,-1}
        }

lattice directions

template<typename T >
const int plb::descriptors::D3Q13Constants< T >::cNormSqr [inline, static]
Initial value:
    { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 }

norm-square of the vector c

template<typename T >
const T plb::descriptors::D3Q13Constants< T >::cs2 = (T)1 / (T)3 [inline, static]

lattice constant cs2 (in BGK, this is the square-speed-of-sound)

This parameter is chosen to enhance numerical stability

template<typename T >
const T plb::descriptors::D3Q13Constants< T >::invCs2 = (T)3 [inline, static]

1 / cs2

This parameter is chosen to enhance numerical stability

template<typename T >
const T plb::descriptors::D3Q13Constants< T >::invD = (T)1 / (T) d [inline, static]

1 / (number of dimensions)

template<typename T >
const T plb::descriptors::D3Q13Constants< T >::lambda_e = (T)1.5 [inline, static]

relaxation parameter for the bulk stress

This parameter is chosen to enhance numerical stability

template<typename T >
const T plb::descriptors::D3Q13Constants< T >::lambda_h = (T)1.8 [inline, static]

additional relaxation parameter

This parameter is chosen to enhance numerical stability

template<typename T >
const T plb::descriptors::D3Q13Constants< T >::t [inline, static]
Initial value:
        {
            (T)1/(T)2,

            (T)1/(T)24, (T)1/(T)24, (T)1/(T)24,
            (T)1/(T)24, (T)1/(T)24, (T)1/(T)24,

            (T)1/(T)24, (T)1/(T)24, (T)1/(T)24,
            (T)1/(T)24, (T)1/(T)24, (T)1/(T)24
        }

lattice weights

template<typename T >
const int plb::descriptors::D3Q13Constants< T >::vicinity = 1 [inline, static]

size of neighborhood


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