2d Navier-Stokes LBM stencil operator with temperature field. More...
#include <LBMD2Q9Thermal.h>
2d Navier-Stokes LBM stencil operator with temperature field.
Density distribution indexing used, 2D-BGK-operator
C5 C3 C4 \ | / C2--C0--C1 / | \ C8 C6 C7
C12 | C11--C09--C10 | C13
Density distribution indexing used, 2D-BGK-operator
D2Q9
C5 C3 C4 \ | / C2--C0--C1 / | \ C8 C6 C7
D2Q4
C12 | C11--C09--C10 | C13
typedef base::grid_data_type LBMD2Q9Thermal< DataType >::grid_data_type |
Reimplemented from SchemeBase< vector_type, dim >.
typedef base::grid_data_type LBMD2Q9Thermal< DataType >::grid_data_type |
Reimplemented from SchemeBase< vector_type, dim >.
typedef GridData<MacroType,2> LBMD2Q9Thermal< DataType >::macro_grid_data_type |
typedef GridData<MacroType,2> LBMD2Q9Thermal< DataType >::macro_grid_data_type |
typedef base::MacroType LBMD2Q9Thermal< DataType >::MacroType |
Reimplemented from LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
typedef base::MacroType LBMD2Q9Thermal< DataType >::MacroType |
Reimplemented from LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
typedef base::MicroType LBMD2Q9Thermal< DataType >::MicroType |
Reimplemented from LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
typedef base::MicroType LBMD2Q9Thermal< DataType >::MicroType |
Reimplemented from LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
typedef base::point_type LBMD2Q9Thermal< DataType >::point_type |
Reimplemented from SchemeBase< vector_type, dim >.
typedef base::point_type LBMD2Q9Thermal< DataType >::point_type |
Reimplemented from SchemeBase< vector_type, dim >.
typedef base::SideName LBMD2Q9Thermal< DataType >::SideName |
Reimplemented from SchemeBase< vector_type, dim >.
typedef base::SideName LBMD2Q9Thermal< DataType >::SideName |
Reimplemented from SchemeBase< vector_type, dim >.
typedef base::vec_grid_data_type LBMD2Q9Thermal< DataType >::vec_grid_data_type |
Reimplemented from LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
typedef base::vec_grid_data_type LBMD2Q9Thermal< DataType >::vec_grid_data_type |
Reimplemented from LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
enum LBMD2Q9Thermal::BCPredefined |
enum LBMD2Q9Thermal::BCPredefined |
enum LBMD2Q9Thermal::GFMPredefined |
enum LBMD2Q9Thermal::GFMPredefined |
enum LBMD2Q9Thermal::ICPredefined |
enum LBMD2Q9Thermal::ICPredefined |
enum LBMD2Q9Thermal::TurbulenceModel |
enum LBMD2Q9Thermal::TurbulenceModel |
LBMD2Q9Thermal< DataType >::LBMD2Q9Thermal | ( | ) | [inline] |
References LBMD2Q9Thermal< DataType >::cs2, LBMD2Q9Thermal< DataType >::cs22, LBMD2Q9Thermal< DataType >::cssq, LBMD2Q9Thermal< DataType >::dcs2, LBMD2Q9Thermal< DataType >::ds2, LBMD2Q9Thermal< DataType >::laminar, LBMD2Q9Thermal< DataType >::mdx, LBMD2Q9Thermal< DataType >::mdy, LBMD2Q9Thermal< DataType >::method, and LBMD2Q9Thermal< DataType >::turbulence.
virtual LBMD2Q9Thermal< DataType >::~LBMD2Q9Thermal | ( | ) | [inline, virtual] |
LBMD2Q9Thermal< DataType >::LBMD2Q9Thermal | ( | ) | [inline] |
References LBMD2Q9Thermal< DataType >::cs2, LBMD2Q9Thermal< DataType >::cs22, LBMD2Q9Thermal< DataType >::cssq, LBMD2Q9Thermal< DataType >::dcs2, LBMD2Q9Thermal< DataType >::ds2, LBMD2Q9Thermal< DataType >::laminar, LBMD2Q9Thermal< DataType >::mdx, LBMD2Q9Thermal< DataType >::mdy, LBMD2Q9Thermal< DataType >::method, and LBMD2Q9Thermal< DataType >::turbulence.
virtual LBMD2Q9Thermal< DataType >::~LBMD2Q9Thermal | ( | ) | [inline, virtual] |
virtual void LBMD2Q9Thermal< DataType >::BCStandard | ( | vec_grid_data_type & | fvec, | |
const BBox & | bb, | |||
const int | type, | |||
const int | side, | |||
DataType * | aux = 0 , |
|||
const int | naux = 0 , |
|||
const int | scaling = 0 | |||
) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
References SchemeBase< vector_type, dim >::Bottom, LBMD2Q9Thermal< DataType >::Equilibrium(), LBMD2Q9Thermal< DataType >::ExtrapolationEquilibrium, SchemeBase< vector_type, dim >::idx(), LBMD2Q9Thermal< DataType >::Inlet, LBMD2Q9Thermal< DataType >::InletTemp, SchemeBase< vector_type, dim >::Left, BBox::lower(), LBMD2Q9Thermal< DataType >::MacroVariables(), LBMD2Q9Thermal< DataType >::NoSlipWall, LBMD2Q9Thermal< DataType >::NoSlipWallTemperature, LBMD2Q9Thermal< DataType >::Outlet, LBMD2Q9Thermal< DataType >::P0, LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::Physical, LBMD2Q9Thermal< DataType >::Pressure, LBMD2Q9Thermal< DataType >::R0, SchemeBase< vector_type, dim >::Right, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::SlidingWall, LBMD2Q9Thermal< DataType >::SlipWall, LBMD2Q9Thermal< DataType >::SlipWallTemperature, BBox::stepsize(), LBMD2Q9Thermal< DataType >::Symmetry, LBMD2Q9Thermal< DataType >::Temp0, SchemeBase< vector_type, dim >::Top, LBMD2Q9Thermal< DataType >::Tpmin, LBMD2Q9Thermal< DataType >::U0, and BBox::upper().
virtual void LBMD2Q9Thermal< DataType >::BCStandard | ( | vec_grid_data_type & | fvec, | |
const BBox & | bb, | |||
const int | type, | |||
const int | side, | |||
DataType * | aux = 0 , |
|||
const int | naux = 0 , |
|||
const int | scaling = 0 | |||
) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
References SchemeBase< vector_type, dim >::Bottom, LBMD2Q9Thermal< DataType >::Equilibrium(), LBMD2Q9Thermal< DataType >::ExtrapolationEquilibrium, SchemeBase< vector_type, dim >::idx(), LBMD2Q9Thermal< DataType >::Inlet, LBMD2Q9Thermal< DataType >::InletTemp, SchemeBase< vector_type, dim >::Left, BBox::lower(), LBMD2Q9Thermal< DataType >::MacroVariables(), LBMD2Q9Thermal< DataType >::NoSlipWall, LBMD2Q9Thermal< DataType >::NoSlipWallTemperature, LBMD2Q9Thermal< DataType >::Outlet, LBMD2Q9Thermal< DataType >::P0, LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::Physical, LBMD2Q9Thermal< DataType >::Pressure, LBMD2Q9Thermal< DataType >::R0, SchemeBase< vector_type, dim >::Right, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::SlidingWall, LBMD2Q9Thermal< DataType >::SlipWall, LBMD2Q9Thermal< DataType >::SlipWallTemperature, BBox::stepsize(), LBMD2Q9Thermal< DataType >::Symmetry, LBMD2Q9Thermal< DataType >::Temp0, SchemeBase< vector_type, dim >::Top, LBMD2Q9Thermal< DataType >::Tpmin, LBMD2Q9Thermal< DataType >::U0, and BBox::upper().
virtual int LBMD2Q9Thermal< DataType >::Check | ( | vec_grid_data_type & | fvec, | |
const BBox & | bb, | |||
const double & | time, | |||
const int | verbose | |||
) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
References grow(), SchemeBase< vector_type, dim >::idx(), BBox::lower(), LBMD2Q9Thermal< DataType >::mdx, LBMD2Q9Thermal< DataType >::mdy, AMRBase< vector_type, dim >::NGhosts(), LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::NMicroVar(), BBox::stepsize(), and BBox::upper().
virtual int LBMD2Q9Thermal< DataType >::Check | ( | vec_grid_data_type & | fvec, | |
const BBox & | bb, | |||
const double & | time, | |||
const int | verbose | |||
) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
References grow(), SchemeBase< vector_type, dim >::idx(), BBox::lower(), LBMD2Q9Thermal< DataType >::mdx, LBMD2Q9Thermal< DataType >::mdy, AMRBase< vector_type, dim >::NGhosts(), LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::NMicroVar(), BBox::stepsize(), and BBox::upper().
virtual void LBMD2Q9Thermal< DataType >::Collision | ( | MicroType & | f, | |
const DataType | dt | |||
) | const [inline, virtual] |
virtual void LBMD2Q9Thermal< DataType >::Collision | ( | MicroType & | f, | |
const DataType | dt | |||
) | const [inline, virtual] |
References LBMD2Q9Thermal< DataType >::Equilibrium(), LBMD2Q9Thermal< DataType >::gbeta, LBMD2Q9Thermal< DataType >::MacroVariables(), LBMD2Q9Thermal< DataType >::Omega(), LBMD2Q9Thermal< DataType >::OmegaT(), LBMD2Q9Thermal< DataType >::S0, and LBMD2Q9Thermal< DataType >::Tref.
Referenced by LBMD2Q9Thermal< DataType >::LocalStep(), and LBMD2Q9Thermal< DataType >::Step().
const DataType& LBMD2Q9Thermal< DataType >::DensityScale | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::R0.
const DataType& LBMD2Q9Thermal< DataType >::DensityScale | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::R0.
virtual MicroType LBMD2Q9Thermal< DataType >::Equilibrium | ( | const MacroType & | q | ) | const [inline, virtual] |
virtual MicroType LBMD2Q9Thermal< DataType >::Equilibrium | ( | const MacroType & | q | ) | const [inline, virtual] |
Implements LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
References LBMD2Q9Thermal< DataType >::cs2, LBMD2Q9Thermal< DataType >::cs22, and LBMD2Q9Thermal< DataType >::cssq.
Referenced by LBMD2Q9Thermal< DataType >::BCStandard(), LBMD2Q9Thermal< DataType >::Collision(), LBMD2Q9Thermal< DataType >::GFMBCStandard(), LBMD2Q9Thermal< DataType >::ICStandard(), LBMD2Q9Thermal< DataType >::Input(), and LBMD2Q9Thermal< DataType >::Output().
const DataType& LBMD2Q9Thermal< DataType >::GasDensity | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::rhop.
const DataType& LBMD2Q9Thermal< DataType >::GasDensity | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::rhop.
Referenced by LBMD2Q9Thermal< DataType >::ICStandard().
const DataType& LBMD2Q9Thermal< DataType >::GasPressure | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::prp.
const DataType& LBMD2Q9Thermal< DataType >::GasPressure | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::prp.
const DataType& LBMD2Q9Thermal< DataType >::GasSpeedofSound | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::csp.
const DataType& LBMD2Q9Thermal< DataType >::GasSpeedofSound | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::csp.
Referenced by LBMD2Q9Thermal< DataType >::Output(), and LBMD2Q9Thermal< DataType >::SetGas().
const DataType LBMD2Q9Thermal< DataType >::GasViscosity | ( | const DataType | omega, | |
const DataType | cs, | |||
const DataType | dt | |||
) | const [inline] |
References LBMD2Q9Thermal< DataType >::S0.
const DataType& LBMD2Q9Thermal< DataType >::GasViscosity | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::nup.
const DataType LBMD2Q9Thermal< DataType >::GasViscosity | ( | const DataType | omega, | |
const DataType | cs, | |||
const DataType | dt | |||
) | const [inline] |
References LBMD2Q9Thermal< DataType >::S0.
const DataType& LBMD2Q9Thermal< DataType >::GasViscosity | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::nup.
Referenced by LBMD2Q9Thermal< DataType >::Output().
const DataType LBMD2Q9Thermal< DataType >::GasViscosityT | ( | const DataType | omegat, | |
const DataType | cs, | |||
const DataType | dt | |||
) | const [inline] |
References LBMD2Q9Thermal< DataType >::dcs2, and LBMD2Q9Thermal< DataType >::S0.
const DataType& LBMD2Q9Thermal< DataType >::GasViscosityT | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::nutp.
const DataType LBMD2Q9Thermal< DataType >::GasViscosityT | ( | const DataType | omegat, | |
const DataType | cs, | |||
const DataType | dt | |||
) | const [inline] |
References LBMD2Q9Thermal< DataType >::dcs2, and LBMD2Q9Thermal< DataType >::S0.
const DataType& LBMD2Q9Thermal< DataType >::GasViscosityT | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::nutp.
virtual void LBMD2Q9Thermal< DataType >::GFMBCStandard | ( | vec_grid_data_type & | fvec, | |
const int | type, | |||
const int & | nc, | |||
const int * | idx, | |||
const MicroType * | f, | |||
const point_type * | xc, | |||
const DataType * | distance, | |||
const point_type * | normal, | |||
DataType * | aux = 0 , |
|||
const int | naux = 0 , |
|||
const int | scaling = 0 | |||
) | const [inline, virtual] |
References AMRBase< vector_type, dim >::Dim(), LBMD2Q9Thermal< DataType >::Equilibrium(), LBMD2Q9Thermal< DataType >::GFMBounceBack, LBMD2Q9Thermal< DataType >::GFMExtrapolation, LBMD2Q9Thermal< DataType >::GFMNoSlipWallTemp, LBMD2Q9Thermal< DataType >::GFMSlipWallTemp, AMRBase< vector_type, dim >::GH(), LBMD2Q9Thermal< DataType >::MacroVariables(), LBMD2Q9Thermal< DataType >::mdx, LBMD2Q9Thermal< DataType >::mdy, LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::NMicroVar(), LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::Physical, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::Tpmax, LBMD2Q9Thermal< DataType >::Tpmin, LBMD2Q9Thermal< DataType >::U0, and GridHierarchy::worldStep().
virtual void LBMD2Q9Thermal< DataType >::GFMBCStandard | ( | vec_grid_data_type & | fvec, | |
const int | type, | |||
const int & | nc, | |||
const int * | idx, | |||
const MicroType * | f, | |||
const point_type * | xc, | |||
const DataType * | distance, | |||
const point_type * | normal, | |||
DataType * | aux = 0 , |
|||
const int | naux = 0 , |
|||
const int | scaling = 0 | |||
) | const [inline, virtual] |
References AMRBase< vector_type, dim >::Dim(), LBMD2Q9Thermal< DataType >::Equilibrium(), LBMD2Q9Thermal< DataType >::GFMExtrapolation, LBMD2Q9Thermal< DataType >::GFMNoSlipWallTemp, LBMD2Q9Thermal< DataType >::GFMSlipWallTemp, LBMD2Q9Thermal< DataType >::MacroVariables(), LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::Physical, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::Tpmax, LBMD2Q9Thermal< DataType >::Tpmin, and LBMD2Q9Thermal< DataType >::U0.
virtual void LBMD2Q9Thermal< DataType >::ICStandard | ( | vec_grid_data_type & | fvec, | |
const int | type, | |||
DataType * | aux = 0 , |
|||
const int | naux = 0 , |
|||
const int | scaling = 0 | |||
) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
References LBMD2Q9Thermal< DataType >::ConstantMacro, LBMD2Q9Thermal< DataType >::ConstantMicro, LBMD2Q9Thermal< DataType >::Equilibrium(), LBMD2Q9Thermal< DataType >::GasAtRest, LBMD2Q9Thermal< DataType >::GasDensity(), SchemeBase< vector_type, dim >::idx(), AMRBase< vector_type, dim >::NGhosts(), LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::NMacroVar(), LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::NMicroVar(), LBMD2Q9Thermal< DataType >::P0, LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::Physical, LBMD2Q9Thermal< DataType >::R0, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::Temp0, LBMD2Q9Thermal< DataType >::Tpmin, and LBMD2Q9Thermal< DataType >::U0.
virtual void LBMD2Q9Thermal< DataType >::ICStandard | ( | vec_grid_data_type & | fvec, | |
const int | type, | |||
DataType * | aux = 0 , |
|||
const int | naux = 0 , |
|||
const int | scaling = 0 | |||
) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
References LBMD2Q9Thermal< DataType >::ConstantMacro, LBMD2Q9Thermal< DataType >::ConstantMicro, LBMD2Q9Thermal< DataType >::Equilibrium(), LBMD2Q9Thermal< DataType >::GasAtRest, LBMD2Q9Thermal< DataType >::GasDensity(), SchemeBase< vector_type, dim >::idx(), AMRBase< vector_type, dim >::NGhosts(), LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::NMacroVar(), LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::NMicroVar(), LBMD2Q9Thermal< DataType >::P0, LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::Physical, LBMD2Q9Thermal< DataType >::R0, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::Temp0, LBMD2Q9Thermal< DataType >::Tpmin, and LBMD2Q9Thermal< DataType >::U0.
virtual int LBMD2Q9Thermal< DataType >::IncomingIndices | ( | const int | side, | |
int | indices[] | |||
) | const [inline, virtual] |
virtual int LBMD2Q9Thermal< DataType >::IncomingIndices | ( | const int | side, | |
int | indices[] | |||
) | const [inline, virtual] |
virtual void LBMD2Q9Thermal< DataType >::Input | ( | vec_grid_data_type & | fvec, | |
grid_data_type & | workvec, | |||
const int | cnt, | |||
const int | skip_ghosts = 1 | |||
) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
References LBMD2Q9Thermal< DataType >::Equilibrium(), SchemeBase< vector_type, dim >::idx(), AMRBase< vector_type, dim >::NGhosts(), LBMD2Q9Thermal< DataType >::P0, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::Tpmax, LBMD2Q9Thermal< DataType >::Tpmin, and LBMD2Q9Thermal< DataType >::U0.
virtual void LBMD2Q9Thermal< DataType >::Input | ( | vec_grid_data_type & | fvec, | |
grid_data_type & | workvec, | |||
const int | cnt, | |||
const int | skip_ghosts = 1 | |||
) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
References LBMD2Q9Thermal< DataType >::Equilibrium(), SchemeBase< vector_type, dim >::idx(), AMRBase< vector_type, dim >::NGhosts(), LBMD2Q9Thermal< DataType >::P0, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::Tpmax, LBMD2Q9Thermal< DataType >::Tpmin, and LBMD2Q9Thermal< DataType >::U0.
const DataType& LBMD2Q9Thermal< DataType >::L0 | ( | ) | const [inline] |
const DataType& LBMD2Q9Thermal< DataType >::L0 | ( | ) | const [inline] |
References LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::LengthScale().
Referenced by LBMD2Q9Thermal< DataType >::SetGas(), LBMD2Q9Thermal< DataType >::SetThermalGas(), LBMD2Q9Thermal< DataType >::SetTimeScale(), LBMD2Q9Thermal< DataType >::SetupData(), LBMD2Q9Thermal< DataType >::SetVelocityScale(), and LBMD2Q9Thermal< DataType >::Step().
DataType LBMD2Q9Thermal< DataType >::LatticeSpeedOfSound | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::cs2.
DataType LBMD2Q9Thermal< DataType >::LatticeSpeedOfSound | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::cs2.
Referenced by LBMD2Q9Thermal< DataType >::SetGas(), and LBMD2Q9Thermal< DataType >::SetupData().
DataType LBMD2Q9Thermal< DataType >::LatticeSpeedOfSoundT | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::ds2.
DataType LBMD2Q9Thermal< DataType >::LatticeSpeedOfSoundT | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::ds2.
DataType LBMD2Q9Thermal< DataType >::LatticeViscosity | ( | const DataType | omega | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::cs2.
DataType LBMD2Q9Thermal< DataType >::LatticeViscosity | ( | const DataType | omega | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::cs2.
DataType LBMD2Q9Thermal< DataType >::LatticeViscosityT | ( | const DataType | omega | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::ds2.
DataType LBMD2Q9Thermal< DataType >::LatticeViscosityT | ( | const DataType | omega | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::ds2.
virtual void LBMD2Q9Thermal< DataType >::LocalStep | ( | vec_grid_data_type & | fvec, | |
vec_grid_data_type & | ovec, | |||
const BBox & | bb, | |||
const double & | dt | |||
) | const [inline, virtual] |
Implements LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
References LBMD2Q9Thermal< DataType >::Collision(), SchemeBase< vector_type, dim >::idx(), comm_service::log(), BBox::lower(), LBMD2Q9Thermal< DataType >::mdx, LBMD2Q9Thermal< DataType >::mdy, LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::NMicroVar(), BBox::stepsize(), and BBox::upper().
virtual void LBMD2Q9Thermal< DataType >::LocalStep | ( | vec_grid_data_type & | fvec, | |
vec_grid_data_type & | ovec, | |||
const BBox & | bb, | |||
const double & | dt | |||
) | const [inline, virtual] |
Implements LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
References LBMD2Q9Thermal< DataType >::Collision(), SchemeBase< vector_type, dim >::idx(), comm_service::log(), BBox::lower(), LBMD2Q9Thermal< DataType >::mdx, LBMD2Q9Thermal< DataType >::mdy, LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::NMicroVar(), BBox::stepsize(), and BBox::upper().
virtual MacroType LBMD2Q9Thermal< DataType >::MacroVariables | ( | const MicroType & | f | ) | const [inline, virtual] |
Implements LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
References LBMD2Q9Thermal< DataType >::cs22.
virtual MacroType LBMD2Q9Thermal< DataType >::MacroVariables | ( | const MicroType & | f | ) | const [inline, virtual] |
Implements LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
References LBMD2Q9Thermal< DataType >::cs22.
Referenced by LBMD2Q9Thermal< DataType >::BCStandard(), LBMD2Q9Thermal< DataType >::Collision(), LBMD2Q9Thermal< DataType >::GFMBCStandard(), and LBMD2Q9Thermal< DataType >::Output().
virtual int LBMD2Q9Thermal< DataType >::NMethodOrder | ( | ) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
virtual int LBMD2Q9Thermal< DataType >::NMethodOrder | ( | ) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
virtual const DataType LBMD2Q9Thermal< DataType >::Omega | ( | const DataType | dt | ) | const [inline, virtual] |
virtual const DataType LBMD2Q9Thermal< DataType >::Omega | ( | const DataType | dt | ) | const [inline, virtual] |
virtual const DataType LBMD2Q9Thermal< DataType >::OmegaT | ( | const DataType | dt | ) | const [inline, virtual] |
virtual const DataType LBMD2Q9Thermal< DataType >::OmegaT | ( | const DataType | dt | ) | const [inline, virtual] |
virtual int LBMD2Q9Thermal< DataType >::OutgoingIndices | ( | const int | side, | |
int | indices[] | |||
) | const [inline, virtual] |
virtual int LBMD2Q9Thermal< DataType >::OutgoingIndices | ( | const int | side, | |
int | indices[] | |||
) | const [inline, virtual] |
virtual void LBMD2Q9Thermal< DataType >::Output | ( | vec_grid_data_type & | fvec, | |
grid_data_type & | workvec, | |||
const int | cnt, | |||
const int | skip_ghosts = 1 | |||
) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
References LBMD2Q9Thermal< DataType >::Equilibrium(), LBMD2Q9Thermal< DataType >::GasSpeedofSound(), LBMD2Q9Thermal< DataType >::GasViscosity(), AMRBase< vector_type, dim >::GH(), SchemeBase< vector_type, dim >::idx(), LBMD2Q9Thermal< DataType >::MacroVariables(), AMRBase< vector_type, dim >::NGhosts(), LBMD2Q9Thermal< DataType >::Omega_LES_Smagorinsky(), LBMD2Q9Thermal< DataType >::P0, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::Tpmax, LBMD2Q9Thermal< DataType >::Tpmin, LBMD2Q9Thermal< DataType >::U0, and GridHierarchy::worldStep().
virtual void LBMD2Q9Thermal< DataType >::Output | ( | vec_grid_data_type & | fvec, | |
grid_data_type & | workvec, | |||
const int | cnt, | |||
const int | skip_ghosts = 1 | |||
) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
References LBMD2Q9Thermal< DataType >::Equilibrium(), LBMD2Q9Thermal< DataType >::GasSpeedofSound(), LBMD2Q9Thermal< DataType >::GasViscosity(), AMRBase< vector_type, dim >::GH(), SchemeBase< vector_type, dim >::idx(), LBMD2Q9Thermal< DataType >::MacroVariables(), AMRBase< vector_type, dim >::NGhosts(), LBMD2Q9Thermal< DataType >::Omega_LES_Smagorinsky(), LBMD2Q9Thermal< DataType >::P0, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::Tpmax, LBMD2Q9Thermal< DataType >::Tpmin, LBMD2Q9Thermal< DataType >::U0, and GridHierarchy::worldStep().
const DataType& LBMD2Q9Thermal< DataType >::PressureScale | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::P0.
const DataType& LBMD2Q9Thermal< DataType >::PressureScale | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::P0.
virtual void LBMD2Q9Thermal< DataType >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from AMRBase< vector_type, dim >.
References LBMD2Q9Thermal< DataType >::Cs_Smagorinsky, LBMD2Q9Thermal< DataType >::csp, ControlDevice::getSubDevice(), AMRBase< vector_type, dim >::LocCtrl, LBMD2Q9Thermal< DataType >::method, LBMD2Q9Thermal< DataType >::nup, LBMD2Q9Thermal< DataType >::nutp, LBMD2Q9Thermal< DataType >::prp, RegisterAt(), LBMD2Q9Thermal< DataType >::rhop, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::Tpmax, LBMD2Q9Thermal< DataType >::Tpmin, and LBMD2Q9Thermal< DataType >::turbulence.
virtual void LBMD2Q9Thermal< DataType >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from AMRBase< vector_type, dim >.
References LBMD2Q9Thermal< DataType >::Cs_Smagorinsky, LBMD2Q9Thermal< DataType >::csp, ControlDevice::getSubDevice(), AMRBase< vector_type, dim >::LocCtrl, LBMD2Q9Thermal< DataType >::method, LBMD2Q9Thermal< DataType >::nup, LBMD2Q9Thermal< DataType >::nutp, LBMD2Q9Thermal< DataType >::prp, RegisterAt(), LBMD2Q9Thermal< DataType >::rhop, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::Tpmax, LBMD2Q9Thermal< DataType >::Tpmin, and LBMD2Q9Thermal< DataType >::turbulence.
virtual void LBMD2Q9Thermal< DataType >::ReverseStream | ( | vec_grid_data_type & | fvec, | |
const BBox & | bb, | |||
const int | side | |||
) | const [inline, virtual] |
Implements LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
References SchemeBase< vector_type, dim >::Bottom, SchemeBase< vector_type, dim >::idx(), SchemeBase< vector_type, dim >::Left, comm_service::log(), BBox::lower(), SchemeBase< vector_type, dim >::Right, BBox::stepsize(), SchemeBase< vector_type, dim >::Top, and BBox::upper().
virtual void LBMD2Q9Thermal< DataType >::ReverseStream | ( | vec_grid_data_type & | fvec, | |
const BBox & | bb, | |||
const int | side | |||
) | const [inline, virtual] |
Implements LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
References SchemeBase< vector_type, dim >::Bottom, SchemeBase< vector_type, dim >::idx(), SchemeBase< vector_type, dim >::Left, comm_service::log(), BBox::lower(), SchemeBase< vector_type, dim >::Right, BBox::stepsize(), SchemeBase< vector_type, dim >::Top, and BBox::upper().
void LBMD2Q9Thermal< DataType >::SetDensityScale | ( | const DataType | r0 | ) | [inline] |
References LBMD2Q9Thermal< DataType >::R0.
void LBMD2Q9Thermal< DataType >::SetDensityScale | ( | const DataType | r0 | ) | [inline] |
References LBMD2Q9Thermal< DataType >::R0.
void LBMD2Q9Thermal< DataType >::SetGas | ( | const DataType | pr, | |
const DataType | rho, | |||
const DataType | nu, | |||
const DataType | cs | |||
) | [inline] |
References LBMD2Q9Thermal< DataType >::cs2p, LBMD2Q9Thermal< DataType >::csp, LBMD2Q9Thermal< DataType >::GasSpeedofSound(), LBMD2Q9Thermal< DataType >::L0(), LBMD2Q9Thermal< DataType >::LatticeSpeedOfSound(), LBMD2Q9Thermal< DataType >::nup, LBMD2Q9Thermal< DataType >::prp, LBMD2Q9Thermal< DataType >::rhop, LBMD2Q9Thermal< DataType >::SetPressureScale(), and LBMD2Q9Thermal< DataType >::SetTimeScale().
void LBMD2Q9Thermal< DataType >::SetGas | ( | const DataType | pr, | |
const DataType | rho, | |||
const DataType | nu, | |||
const DataType | cs | |||
) | [inline] |
References LBMD2Q9Thermal< DataType >::cs2p, LBMD2Q9Thermal< DataType >::csp, LBMD2Q9Thermal< DataType >::GasSpeedofSound(), LBMD2Q9Thermal< DataType >::L0(), LBMD2Q9Thermal< DataType >::LatticeSpeedOfSound(), LBMD2Q9Thermal< DataType >::nup, LBMD2Q9Thermal< DataType >::prp, LBMD2Q9Thermal< DataType >::rhop, LBMD2Q9Thermal< DataType >::SetPressureScale(), and LBMD2Q9Thermal< DataType >::SetTimeScale().
void LBMD2Q9Thermal< DataType >::SetPressureScale | ( | const DataType | p0 | ) | [inline] |
References LBMD2Q9Thermal< DataType >::P0.
void LBMD2Q9Thermal< DataType >::SetPressureScale | ( | const DataType | p0 | ) | [inline] |
References LBMD2Q9Thermal< DataType >::P0.
Referenced by LBMD2Q9Thermal< DataType >::SetGas().
void LBMD2Q9Thermal< DataType >::SetSpeedUp | ( | const DataType | s0 | ) | [inline] |
References LBMD2Q9Thermal< DataType >::S0.
void LBMD2Q9Thermal< DataType >::SetSpeedUp | ( | const DataType | s0 | ) | [inline] |
References LBMD2Q9Thermal< DataType >::S0.
void LBMD2Q9Thermal< DataType >::SetTemperatureScale | ( | const DataType | tpmin, | |
const DataType | tpmax | |||
) | [inline] |
void LBMD2Q9Thermal< DataType >::SetTemperatureScale | ( | const DataType | tpmin, | |
const DataType | tpmax | |||
) | [inline] |
virtual void LBMD2Q9Thermal< DataType >::SetTimeScale | ( | const DataType | t0 | ) | [inline, virtual] |
virtual void LBMD2Q9Thermal< DataType >::SetTimeScale | ( | const DataType | t0 | ) | [inline, virtual] |
Reimplemented from LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >.
References LBMD2Q9Thermal< DataType >::L0(), LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::T0(), LBMBase< Vector< DataType, 14 >, Vector< DataType, 4 >, 2 >::T0, and LBMD2Q9Thermal< DataType >::U0.
Referenced by LBMD2Q9Thermal< DataType >::SetGas(), and LBMD2Q9Thermal< DataType >::SetupData().
virtual void LBMD2Q9Thermal< DataType >::SetupData | ( | GridHierarchy * | gh, | |
const int & | ghosts | |||
) | [inline, virtual] |
Reimplemented from AMRBase< vector_type, dim >.
References LBMD2Q9Thermal< DataType >::cs2p, LBMD2Q9Thermal< DataType >::csp, LBMD2Q9Thermal< DataType >::L0(), LBMD2Q9Thermal< DataType >::LatticeSpeedOfSound(), LBMD2Q9Thermal< DataType >::nup, LBMD2Q9Thermal< DataType >::nutp, LBMD2Q9Thermal< DataType >::P0, LBMD2Q9Thermal< DataType >::prp, LBMD2Q9Thermal< DataType >::R0, LBMD2Q9Thermal< DataType >::rhop, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::SetTemperatureScale(), LBMD2Q9Thermal< DataType >::SetTimeScale(), AMRBase< vector_type, dim >::SetupData(), LBMD2Q9Thermal< DataType >::T0(), LBMD2Q9Thermal< DataType >::Temp0, LBMD2Q9Thermal< DataType >::Tpmax, LBMD2Q9Thermal< DataType >::Tpmin, and LBMD2Q9Thermal< DataType >::U0.
virtual void LBMD2Q9Thermal< DataType >::SetupData | ( | GridHierarchy * | gh, | |
const int & | ghosts | |||
) | [inline, virtual] |
Reimplemented from AMRBase< vector_type, dim >.
References LBMD2Q9Thermal< DataType >::cs2p, LBMD2Q9Thermal< DataType >::csp, LBMD2Q9Thermal< DataType >::L0(), LBMD2Q9Thermal< DataType >::LatticeSpeedOfSound(), LBMD2Q9Thermal< DataType >::nup, LBMD2Q9Thermal< DataType >::nutp, LBMD2Q9Thermal< DataType >::P0, LBMD2Q9Thermal< DataType >::prp, LBMD2Q9Thermal< DataType >::R0, LBMD2Q9Thermal< DataType >::rhop, LBMD2Q9Thermal< DataType >::S0, LBMD2Q9Thermal< DataType >::SetTemperatureScale(), LBMD2Q9Thermal< DataType >::SetTimeScale(), AMRBase< vector_type, dim >::SetupData(), LBMD2Q9Thermal< DataType >::T0(), LBMD2Q9Thermal< DataType >::Temp0, LBMD2Q9Thermal< DataType >::Tpmax, LBMD2Q9Thermal< DataType >::Tpmin, and LBMD2Q9Thermal< DataType >::U0.
void LBMD2Q9Thermal< DataType >::SetVelocityScale | ( | const DataType | u0 | ) | [inline] |
void LBMD2Q9Thermal< DataType >::SetVelocityScale | ( | const DataType | u0 | ) | [inline] |
const DataType& LBMD2Q9Thermal< DataType >::SmagorinskyConstant | ( | ) | [inline] |
References LBMD2Q9Thermal< DataType >::Cs_Smagorinsky.
const DataType& LBMD2Q9Thermal< DataType >::SmagorinskyConstant | ( | ) | [inline] |
References LBMD2Q9Thermal< DataType >::Cs_Smagorinsky.
const DataType& LBMD2Q9Thermal< DataType >::SpeedUp | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::S0.
const DataType& LBMD2Q9Thermal< DataType >::SpeedUp | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::S0.
virtual double LBMD2Q9Thermal< DataType >::Step | ( | vec_grid_data_type & | fvec, | |
vec_grid_data_type & | ovec, | |||
vec_grid_data_type * | Flux[], | |||
const double & | t, | |||
const double & | dt, | |||
const int & | mpass | |||
) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
References LBMD2Q9Thermal< DataType >::Collision(), AMRBase< vector_type, dim >::GH(), SchemeBase< vector_type, dim >::idx(), LBMD2Q9Thermal< DataType >::L0(), LB_FACTOR, AMRBase< vector_type, dim >::NGhosts(), LBMD2Q9Thermal< DataType >::T0(), and GridHierarchy::worldStep().
virtual double LBMD2Q9Thermal< DataType >::Step | ( | vec_grid_data_type & | fvec, | |
vec_grid_data_type & | ovec, | |||
vec_grid_data_type * | Flux[], | |||
const double & | t, | |||
const double & | dt, | |||
const int & | mpass | |||
) | const [inline, virtual] |
Implements SchemeBase< vector_type, dim >.
References LBMD2Q9Thermal< DataType >::Collision(), AMRBase< vector_type, dim >::GH(), SchemeBase< vector_type, dim >::idx(), LBMD2Q9Thermal< DataType >::L0(), LB_FACTOR, AMRBase< vector_type, dim >::NGhosts(), LBMD2Q9Thermal< DataType >::T0(), and GridHierarchy::worldStep().
const DataType& LBMD2Q9Thermal< DataType >::T0 | ( | ) | const [inline] |
const DataType& LBMD2Q9Thermal< DataType >::T0 | ( | ) | const [inline] |
const DataType& LBMD2Q9Thermal< DataType >::TemperatureScale | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::Temp0.
const DataType& LBMD2Q9Thermal< DataType >::TemperatureScale | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::Temp0.
const int LBMD2Q9Thermal< DataType >::TurbulenceType | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::turbulence.
const int LBMD2Q9Thermal< DataType >::TurbulenceType | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::turbulence.
const DataType LBMD2Q9Thermal< DataType >::VelocityScale | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::S0, and LBMD2Q9Thermal< DataType >::U0.
const DataType LBMD2Q9Thermal< DataType >::VelocityScale | ( | ) | const [inline] |
References LBMD2Q9Thermal< DataType >::S0, and LBMD2Q9Thermal< DataType >::U0.
DataType LBMD2Q9Thermal< DataType >::cs2 [protected] |
DataType LBMD2Q9Thermal< DataType >::cs22 [protected] |
DataType LBMD2Q9Thermal< DataType >::cs2p [protected] |
DataType LBMD2Q9Thermal< DataType >::Cs_Smagorinsky [protected] |
DataType LBMD2Q9Thermal< DataType >::csp [protected] |
DataType LBMD2Q9Thermal< DataType >::cssq [protected] |
DataType LBMD2Q9Thermal< DataType >::dcs2 [protected] |
DataType LBMD2Q9Thermal< DataType >::ds2 [protected] |
DataType LBMD2Q9Thermal< DataType >::gbeta [protected] |
Referenced by LBMD2Q9Thermal< DataType >::Collision(), and LBMD2Q9Thermal< DataType >::SetThermalGas().
int LBMD2Q9Thermal< DataType >::mdx [protected] |
int LBMD2Q9Thermal< DataType >::mdy [protected] |
int LBMD2Q9Thermal< DataType >::method [protected] |
DataType LBMD2Q9Thermal< DataType >::nup [protected] |
DataType LBMD2Q9Thermal< DataType >::nutp [protected] |
DataType LBMD2Q9Thermal< DataType >::P0 [protected] |
Referenced by LBMD2Q9Thermal< DataType >::BCStandard(), LBMD2Q9Thermal< DataType >::ICStandard(), LBMD2Q9Thermal< DataType >::Input(), LBMD2Q9Thermal< DataType >::Output(), LBMD2Q9Thermal< DataType >::PressureScale(), LBMD2Q9Thermal< DataType >::SetPressureScale(), and LBMD2Q9Thermal< DataType >::SetupData().
DataType LBMD2Q9Thermal< DataType >::prp [protected] |
DataType LBMD2Q9Thermal< DataType >::R0 [protected] |
DataType LBMD2Q9Thermal< DataType >::rhop [protected] |
DataType LBMD2Q9Thermal< DataType >::S0 [protected] |
Referenced by LBMD2Q9Thermal< DataType >::BCStandard(), LBMD2Q9Thermal< DataType >::Collision(), LBMD2Q9Thermal< DataType >::GasViscosity(), LBMD2Q9Thermal< DataType >::GasViscosityT(), LBMD2Q9Thermal< DataType >::GFMBCStandard(), LBMD2Q9Thermal< DataType >::ICStandard(), LBMD2Q9Thermal< DataType >::Input(), LBMD2Q9Thermal< DataType >::Omega(), LBMD2Q9Thermal< DataType >::Omega_LES_Smagorinsky(), LBMD2Q9Thermal< DataType >::OmegaT(), LBMD2Q9Thermal< DataType >::Output(), LBMD2Q9Thermal< DataType >::register_at(), LBMD2Q9Thermal< DataType >::SetSpeedUp(), LBMD2Q9Thermal< DataType >::SetTimeScale(), LBMD2Q9Thermal< DataType >::SetupData(), LBMD2Q9Thermal< DataType >::SetVelocityScale(), LBMD2Q9Thermal< DataType >::SpeedUp(), and LBMD2Q9Thermal< DataType >::VelocityScale().
DataType LBMD2Q9Thermal< DataType >::Temp0 [protected] |
DataType LBMD2Q9Thermal< DataType >::Tpmax [protected] |
DataType LBMD2Q9Thermal< DataType >::Tpmin [protected] |
Referenced by LBMD2Q9Thermal< DataType >::BCStandard(), LBMD2Q9Thermal< DataType >::GFMBCStandard(), LBMD2Q9Thermal< DataType >::ICStandard(), LBMD2Q9Thermal< DataType >::Input(), LBMD2Q9Thermal< DataType >::Output(), LBMD2Q9Thermal< DataType >::register_at(), LBMD2Q9Thermal< DataType >::SetTemperatureScale(), and LBMD2Q9Thermal< DataType >::SetupData().
DataType LBMD2Q9Thermal< DataType >::Tref [protected] |
DataType LBMD2Q9Thermal< DataType >::turbulence [protected] |
DataType LBMD2Q9Thermal< DataType >::U0 [protected] |
Referenced by LBMD2Q9Thermal< DataType >::BCStandard(), LBMD2Q9Thermal< DataType >::GFMBCStandard(), LBMD2Q9Thermal< DataType >::ICStandard(), LBMD2Q9Thermal< DataType >::Input(), LBMD2Q9Thermal< DataType >::Output(), LBMD2Q9Thermal< DataType >::SetTimeScale(), LBMD2Q9Thermal< DataType >::SetupData(), LBMD2Q9Thermal< DataType >::SetVelocityScale(), and LBMD2Q9Thermal< DataType >::VelocityScale().