VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
lbm

Modules

 Collision
 
 Constants
 
 Interpolation
 
 Refinement
 

Namespaces

namespace  vf
 
namespace  vf::lbm
 
namespace  vf::lbm::advection_diffusion
 

Classes

class  MacroscopicQuantitiesTest
 

Macros

#define REAL_EQ(a)   testing::FloatEq(a)
 

Functions

template<size_t direction>
constexpr real vf::lbm::advection_diffusion::computeInterpolatedPopulation (const real *populations, const real concentration, const real velocityX, const real velocityY, const real velocityZ, const real subgridDistance, const real relaxationFrequency)
 
template<size_t direction>
constexpr real vf::lbm::advection_diffusion::computePopulationSimpleBounceBackWithFlux (const real *populations, const real fluxX, const real fluxY, const real fluxZ)
 
template<size_t direction>
constexpr real vf::lbm::advection_diffusion::computePopulationInterpolatedBounceBackWithFlux (const real subgridDistance, const real *populations, const real vx1, const real vx2, const real vx3, const real relaxationFrequency, const real concentration, const real fluxX, const real fluxY, const real fluxZ)
 
template<size_t direction>
constexpr real vf::lbm::advection_diffusion::computePopulationSimpleAntiBounceBack (const real *populations, const real concentrationWall, const real velocityWallX, const real velocityWallY, const real velocityWallZ)
 
template<size_t direction>
constexpr real vf::lbm::advection_diffusion::computePopulationInterpolatedAntiBounceBack (const real subgridDistance, const real *populations, const real concentrationNode, const real concentrationWall, const real vx1, real vx2, const real vx3, const real velocityWallX, const real velocityWallY, const real velocityWallZ, const real relaxationFrequency)
 
constexpr real vf::lbm::advection_diffusion::equilibrium (real weight, real concentration, real velocity, real cu_sq)
 
template<size_t direction>
constexpr real vf::lbm::advection_diffusion::computeEquilibrium (real concentration, real velocityX, real velocityY, real velocityZ)
 
 TEST (ChimeraTest, forwardChimeraWithInverseK)
 
 TEST (ChimeraTest, backwardChimeraWithInverseK)
 
 TEST (ChimeraTest, forwardChimera)
 
 TEST (ChimeraTest, backwardChimera)
 
 TEST (ChimeraTest, forwardChimeraWithK)
 
 TEST (ChimeraTest, backwardChimeraWithK)
 
 TEST_F (MacroscopicQuantitiesTest, check_density)
 
 TEST_F (MacroscopicQuantitiesTest, whenFsAreEqual_velocityInEachDirectionShouldBeZero)
 
 TEST_F (MacroscopicQuantitiesTest, givenAllFsAreOne_when_Eis2_velocityInX1ShouldBeOne)
 
 TEST_F (MacroscopicQuantitiesTest, givenAllFsAreOne_when_Nis2_velocityInX2ShouldBeOne)
 
 TEST_F (MacroscopicQuantitiesTest, givenAllFsAreOne_when_Tis2_velocityInX3ShouldBeOne)
 
 TEST_F (MacroscopicQuantitiesTest, givenAllFsAreOne_checkCompressibleValues)
 

Detailed Description

Author
Henry Korb
Soeren Peters

Macro Definition Documentation

◆ REAL_EQ

#define REAL_EQ (   a)    testing::FloatEq(a)

Definition at line 40 of file ChimeraTests.cpp.

Function Documentation

◆ computeEquilibrium()

template<size_t direction>
constexpr real vf::lbm::advection_diffusion::computeEquilibrium ( real  concentration,
real  velocityX,
real  velocityY,
real  velocityZ 
)
constexpr

Definition at line 49 of file Equilibrium.h.

◆ computeInterpolatedPopulation()

template<size_t direction>
constexpr real vf::lbm::advection_diffusion::computeInterpolatedPopulation ( const real *  populations,
const real  concentration,
const real  velocityX,
const real  velocityY,
const real  velocityZ,
const real  subgridDistance,
const real  relaxationFrequency 
)
constexpr

Definition at line 44 of file BoundaryConditions.h.

◆ computePopulationInterpolatedAntiBounceBack()

template<size_t direction>
constexpr real vf::lbm::advection_diffusion::computePopulationInterpolatedAntiBounceBack ( const real  subgridDistance,
const real *  populations,
const real  concentrationNode,
const real  concentrationWall,
const real  vx1,
real  vx2,
const real  vx3,
const real  velocityWallX,
const real  velocityWallY,
const real  velocityWallZ,
const real  relaxationFrequency 
)
constexpr

Definition at line 99 of file BoundaryConditions.h.

◆ computePopulationInterpolatedBounceBackWithFlux()

template<size_t direction>
constexpr real vf::lbm::advection_diffusion::computePopulationInterpolatedBounceBackWithFlux ( const real  subgridDistance,
const real *  populations,
const real  vx1,
const real  vx2,
const real  vx3,
const real  relaxationFrequency,
const real  concentration,
const real  fluxX,
const real  fluxY,
const real  fluxZ 
)
constexpr

Definition at line 71 of file BoundaryConditions.h.

◆ computePopulationSimpleAntiBounceBack()

template<size_t direction>
constexpr real vf::lbm::advection_diffusion::computePopulationSimpleAntiBounceBack ( const real *  populations,
const real  concentrationWall,
const real  velocityWallX,
const real  velocityWallY,
const real  velocityWallZ 
)
constexpr

Definition at line 86 of file BoundaryConditions.h.

◆ computePopulationSimpleBounceBackWithFlux()

template<size_t direction>
constexpr real vf::lbm::advection_diffusion::computePopulationSimpleBounceBackWithFlux ( const real *  populations,
const real  fluxX,
const real  fluxY,
const real  fluxZ 
)
constexpr

Definition at line 61 of file BoundaryConditions.h.

◆ equilibrium()

constexpr real vf::lbm::advection_diffusion::equilibrium ( real  weight,
real  concentration,
real  velocity,
real  cu_sq 
)
constexpr

Definition at line 42 of file Equilibrium.h.

◆ TEST() [1/6]

TEST ( ChimeraTest  ,
backwardChimera   
)

Definition at line 107 of file ChimeraTests.cpp.

◆ TEST() [2/6]

TEST ( ChimeraTest  ,
backwardChimeraWithInverseK   
)

Definition at line 66 of file ChimeraTests.cpp.

◆ TEST() [3/6]

TEST ( ChimeraTest  ,
backwardChimeraWithK   
)

Definition at line 147 of file ChimeraTests.cpp.

◆ TEST() [4/6]

TEST ( ChimeraTest  ,
forwardChimera   
)

Definition at line 90 of file ChimeraTests.cpp.

◆ TEST() [5/6]

TEST ( ChimeraTest  ,
forwardChimeraWithInverseK   
)

Definition at line 46 of file ChimeraTests.cpp.

◆ TEST() [6/6]

TEST ( ChimeraTest  ,
forwardChimeraWithK   
)

Definition at line 128 of file ChimeraTests.cpp.

◆ TEST_F() [1/6]

Definition at line 61 of file MacroscopicQuantitiesTests.cpp.

◆ TEST_F() [2/6]

◆ TEST_F() [3/6]

◆ TEST_F() [4/6]

◆ TEST_F() [5/6]

◆ TEST_F() [6/6]