VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
d3q27_system Namespace Reference
cpu » core » LBM

namespace for global system-functions More...

Functions

real getDensity (const real *const &f)
 
real getIncompVelocityX1 (const real *const &f)
 
real getIncompVelocityX2 (const real *const &f)
 
real getIncompVelocityX3 (const real *const &f)
 
std::string getDirectionString (int direction)
 

Variables

const int DX1 [] = { 0, 1, -1, 0, 0, 0, 0, 1, -1, 1, -1, 1, -1, 1, -1, 0, 0, 0, 0, 1, -1, 1, -1, 1, -1, 1, -1 }
 
const int DX2 [] = { 0, 0, 0, 1, -1, 0, 0, 1, -1, -1, 1, 0, 0, 0, 0, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, -1, -1 }
 
const int DX3 [] = { 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 0, 1, -1, -1, 1, 1, -1, -1, 1, 1, 1, 1, 1, -1, -1, -1, -1 }
 
const real WEIGTH []
 
const int INVDIR []
 
const real cNorm [3][ENDDIR]
 
const int EX1 [ENDDIR+1]
 
const int EX2 [ENDDIR+1]
 
const int EX3 [ENDDIR+1]
 

Detailed Description

namespace for global system-functions

Function Documentation

◆ getDensity()

real d3q27_system::getDensity ( const real *const f)

Definition at line 62 of file D3Q27System.cpp.

◆ getDirectionString()

std::string d3q27_system::getDirectionString ( int  direction)
inline

Definition at line 86 of file D3Q27System.h.

◆ getIncompVelocityX1()

real d3q27_system::getIncompVelocityX1 ( const real *const f)

Definition at line 67 of file D3Q27System.cpp.

◆ getIncompVelocityX2()

real d3q27_system::getIncompVelocityX2 ( const real *const f)

Definition at line 72 of file D3Q27System.cpp.

◆ getIncompVelocityX3()

real d3q27_system::getIncompVelocityX3 ( const real *const f)

Definition at line 77 of file D3Q27System.cpp.

Variable Documentation

◆ cNorm

const real d3q27_system::cNorm[3][ENDDIR]
extern

◆ DX1

const int d3q27_system::DX1 = { 0, 1, -1, 0, 0, 0, 0, 1, -1, 1, -1, 1, -1, 1, -1, 0, 0, 0, 0, 1, -1, 1, -1, 1, -1, 1, -1 }

Definition at line 45 of file D3Q27System.cpp.

◆ DX2

const int d3q27_system::DX2 = { 0, 0, 0, 1, -1, 0, 0, 1, -1, -1, 1, 0, 0, 0, 0, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, -1, -1 }

Definition at line 46 of file D3Q27System.cpp.

◆ DX3

const int d3q27_system::DX3 = { 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 0, 1, -1, -1, 1, 1, -1, -1, 1, 1, 1, 1, 1, -1, -1, -1, -1 }

Definition at line 47 of file D3Q27System.cpp.

◆ EX1

const int d3q27_system::EX1[ENDDIR+1]
extern

◆ EX2

const int d3q27_system::EX2[ENDDIR+1]
extern

◆ EX3

const int d3q27_system::EX3[ENDDIR+1]
extern

◆ INVDIR

const int d3q27_system::INVDIR
Initial value:
= { d000, iP00, iM00, i0P0, i0M0, i00P, i00M,
iPP0, iMM0, iPM0, iMP0, iP0P, iM0M, iP0M, iM0P, i0PP, i0MM, i0PM, i0MP,
iPPP, iMPP, iPMP, iMMP, iPPM, iMPM, iPMM, iMMM }

Definition at line 54 of file D3Q27System.cpp.

◆ WEIGTH

const real d3q27_system::WEIGTH
Initial value:
= { c8o27,
c2o27, c2o27, c2o27, c2o27, c2o27, c2o27,
c1o54, c1o54, c1o54, c1o54, c1o54, c1o54, c1o54, c1o54, c1o54, c1o54, c1o54, c1o54,
c1o216, c1o216, c1o216, c1o216, c1o216, c1o216, c1o216, c1o216 }

Definition at line 49 of file D3Q27System.cpp.