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

plb::ComprFlowParam< T > Class Template Reference

Numeric parameters for isothermal, incompressible flow. More...

#include <units.h>

List of all members.

Public Member Functions

 ComprFlowParam (T latticeU_, T latticeRho_, T latticeTemp_, T physU_, T physRho_, T physTemp_, T Re_, T Pe_, plint resolution_, T lx_, T ly_, T lz_=T())
 Constructor.
getLatticeU () const
 velocity in lattice units
getLatticeRho () const
 density in lattice units
getLatticeTemp () const
 temperature in lattice units
getPhysicalU () const
 velocity in physical units
getPhysicalRho () const
 density in physical units
getPhysicalTemp () const
 temperature in physical units
getRe () const
 Reynolds number.
getPe () const
 Peclet number (= Re*Pr).
plint getResolution () const
 resolution
getLx () const
 x-length in dimensionless units
getLy () const
 y-length in dimensionless units
getLz () const
 z-length in dimensionless units
getDeltaX () const
 lattice spacing in dimensionless units
getDeltaT () const
 time step in dimensionless units
getDeltaRho () const
 density in dimensionless units
getDeltaTemp () const
 density in dimensionless units
plint nCell (T l) const
 conversion from dimensionless to lattice units for space coordinate
plint nStep (T t) const
 conversion from dimensionless to lattice units for time coordinate
plint getNx (bool offLattice=false) const
 number of lattice cells in x-direction
plint getNy (bool offLattice=false) const
 number of lattice cells in y-direction
plint getNz (bool offLattice=false) const
 number of lattice cells in z-direction
getLatticeMu () const
 viscosity in lattice units
getLatticeKappa () const
 viscosity in lattice units
getTau () const
 relaxation time
getOmega () const
 relaxation frequency

Detailed Description

template<typename T>
class plb::ComprFlowParam< T >

Numeric parameters for isothermal, incompressible flow.


Constructor & Destructor Documentation

template<typename T>
plb::ComprFlowParam< T >::ComprFlowParam ( latticeU_,
latticeRho_,
latticeTemp_,
physU_,
physRho_,
physTemp_,
Re_,
Pe_,
plint  resolution_,
lx_,
ly_,
lz_ = T() 
) [inline]

Constructor.

Parameters:
latticeU_ Characteristic velocity in lattice units (proportional to Mach number).
Re_ Reynolds number.
Pe_ Peclet number.
N_ Resolution (a lattice of size 1 has N_+1 cells).
lx_ x-length in dimensionless units (e.g. 1).
ly_ y-length in dimensionless units (e.g. 1).
lz_ z-length in dimensionless units (e.g. 1).

Member Function Documentation

template<typename T>
T plb::ComprFlowParam< T >::getDeltaRho (  )  const [inline]
template<typename T>
T plb::ComprFlowParam< T >::getDeltaT (  )  const [inline]
template<typename T>
T plb::ComprFlowParam< T >::getDeltaTemp (  )  const [inline]
template<typename T>
T plb::ComprFlowParam< T >::getDeltaX (  )  const [inline]
template<typename T>
T plb::ComprFlowParam< T >::getLatticeKappa (  )  const [inline]
template<typename T>
T plb::ComprFlowParam< T >::getLatticeMu (  )  const [inline]
template<typename T>
T plb::ComprFlowParam< T >::getLatticeTemp (  )  const [inline]
template<typename T>
T plb::ComprFlowParam< T >::getLatticeU (  )  const [inline]
template<typename T>
T plb::ComprFlowParam< T >::getLx (  )  const [inline]

x-length in dimensionless units

Referenced by plb::writeLogFile().

template<typename T>
T plb::ComprFlowParam< T >::getLy (  )  const [inline]

y-length in dimensionless units

Referenced by plb::writeLogFile().

template<typename T>
T plb::ComprFlowParam< T >::getLz (  )  const [inline]

z-length in dimensionless units

Referenced by plb::writeLogFile().

template<typename T>
plint plb::ComprFlowParam< T >::getNx ( bool  offLattice = false  )  const [inline]

number of lattice cells in x-direction

References plb::ComprFlowParam< T >::nCell().

template<typename T>
plint plb::ComprFlowParam< T >::getNy ( bool  offLattice = false  )  const [inline]

number of lattice cells in y-direction

References plb::ComprFlowParam< T >::nCell().

template<typename T>
plint plb::ComprFlowParam< T >::getNz ( bool  offLattice = false  )  const [inline]

number of lattice cells in z-direction

References plb::ComprFlowParam< T >::nCell().

template<typename T>
T plb::ComprFlowParam< T >::getOmega (  )  const [inline]

relaxation frequency

References plb::ComprFlowParam< T >::getTau().

template<typename T>
T plb::ComprFlowParam< T >::getPe (  )  const [inline]

Peclet number (= Re*Pr).

Referenced by plb::writeLogFile().

template<typename T>
T plb::ComprFlowParam< T >::getPhysicalRho (  )  const [inline]

density in physical units

Referenced by plb::ComprFlowParam< T >::getDeltaRho().

template<typename T>
T plb::ComprFlowParam< T >::getPhysicalTemp (  )  const [inline]

temperature in physical units

Referenced by plb::ComprFlowParam< T >::getDeltaTemp().

template<typename T>
T plb::ComprFlowParam< T >::getPhysicalU (  )  const [inline]

velocity in physical units

Referenced by plb::ComprFlowParam< T >::getDeltaT().

template<typename T>
T plb::ComprFlowParam< T >::getRe (  )  const [inline]

Reynolds number.

Referenced by plb::writeLogFile().

template<typename T>
plint plb::ComprFlowParam< T >::nCell ( l  )  const [inline]

conversion from dimensionless to lattice units for space coordinate

References plb::ComprFlowParam< T >::getDeltaX().

Referenced by plb::ComprFlowParam< T >::getNx(), plb::ComprFlowParam< T >::getNy(), and plb::ComprFlowParam< T >::getNz().

template<typename T>
plint plb::ComprFlowParam< T >::nStep ( t  )  const [inline]

conversion from dimensionless to lattice units for time coordinate

References plb::ComprFlowParam< T >::getDeltaT().


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