LBIBCell
|
The GuoZhengShi2002ForceModel class implements the force model from Guo, Zheng, Shi, Discrete lattice effects on the forcing term in the lattice Boltzmann method, Phys Rev E, 2002. More...
#include <GuoZhengShi2002ForceModel.hpp>
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... | |
The GuoZhengShi2002ForceModel class implements the force model from Guo, Zheng, Shi, Discrete lattice effects on the forcing term in the lattice Boltzmann method, Phys Rev E, 2002.
Definition at line 35 of file GuoZhengShi2002ForceModel.hpp.
|
protectedvirtual |
computeForce
tau | The relaxation time. |
rho | The local fluid density. |
u | The local fluid velocity. |
f | The local force. |
forcecontribution | The vector where the force contributions are stored and returned. |
Implements LbmLib::solver::AbstractForceModel.
Definition at line 29 of file GuoZhengShi2002ForceModel.cpp.
|
protectedvirtual |
computeVelocity since this operation depends on the force model.
rho | The local fluid density. |
fi | The reference to the array of 9 distribution functions. |
f | The local force field. |
u | The reference to the velocity vector where the result will be stored. |
Implements LbmLib::solver::AbstractForceModel.
Definition at line 57 of file GuoZhengShi2002ForceModel.cpp.