LBIBCell
 All Classes Functions Variables Friends Pages
LbmLib::solver::Luo1993ForceModel Class Reference

The Luo1993ForceModel class implements the force model presented in Luo, Lattice-Gas Automata and Lattice Boltzmann Equations for Two-Dimensional Hydrodynamics, Georgia Institute of Technology, 1993; discussed in Mohamad, Kuzmin, A critical evaluation of force term in lattice Boltzmann method, natural convection problem, Int. J. of Heat and Mass Tansfer, 2010. More...

#include <Luo1993ForceModel.hpp>

Inheritance diagram for LbmLib::solver::Luo1993ForceModel:
LbmLib::solver::AbstractForceModel LbmLib::solver::FluidSolver

Protected Member Functions

virtual void computeForce (const double tau, const double rho, const Field< double > u, const Field< double > f, std::vector< double > &forcecontribution)
 computeForce More...
 
virtual void computeVelocity (const double rho, const std::array< double, 9 > &fi, const Field< double > f, Field< double > &u)
 computeVelocity since this operation depends on the force model. More...
 

Detailed Description

The Luo1993ForceModel class implements the force model presented in Luo, Lattice-Gas Automata and Lattice Boltzmann Equations for Two-Dimensional Hydrodynamics, Georgia Institute of Technology, 1993; discussed in Mohamad, Kuzmin, A critical evaluation of force term in lattice Boltzmann method, natural convection problem, Int. J. of Heat and Mass Tansfer, 2010.

Definition at line 37 of file Luo1993ForceModel.hpp.

Member Function Documentation

void LbmLib::solver::Luo1993ForceModel::computeForce ( const double  tau,
const double  rho,
const Field< double >  u,
const Field< double >  f,
std::vector< double > &  forcecontribution 
)
protectedvirtual

computeForce

Parameters
tauThe relaxation time.
rhoThe local fluid density.
uThe local fluid velocity.
fThe local force.
forcecontributionThe vector where the force contributions are stored and returned.

Implements LbmLib::solver::AbstractForceModel.

Definition at line 29 of file Luo1993ForceModel.cpp.

void LbmLib::solver::Luo1993ForceModel::computeVelocity ( const double  rho,
const std::array< double, 9 > &  fi,
const Field< double >  f,
Field< double > &  u 
)
protectedvirtual

computeVelocity since this operation depends on the force model.

Parameters
rhoThe local fluid density.
fiThe reference to the array of 9 distribution functions.
fThe local force field.
uThe reference to the velocity vector where the result will be stored.

Implements LbmLib::solver::AbstractForceModel.

Definition at line 51 of file Luo1993ForceModel.cpp.


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