#include <LBMD3Q19_DR.h>
Public Types | |
| typedef base::vec_grid_data_type | vec_grid_data_type |
| typedef base::grid_data_type | grid_data_type |
| typedef base::MicroType | MicroType |
| typedef base::MacroType | MacroType |
| typedef GridData< MacroType, 3 > | macro_grid_data_type |
| typedef base::SideName | SideName |
| typedef base::point_type | point_type |
| typedef Vector< DataType, 6 > | TensorType |
Public Member Functions | |
| LBMD3Q19DR () | |
| virtual | ~LBMD3Q19DR () |
| virtual void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
| virtual void | SetupData (GridHierarchy *gh, const int &ghosts) |
| virtual int | DRInside (const DCoords lower, const DCoords upper) const |
| virtual void | DRCollision (MicroType &f, const MicroType fmeql, const DataType damp, const DataType om) const |
| virtual void | DRDamp (vec_grid_data_type &fvec) const |
| virtual double | 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 |
| virtual void | 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 |
| DataType | QcritLocal (const MacroType qxp, const MacroType qxm, const MacroType qyp, const MacroType qym, const MacroType qzp, const MacroType qzm, const DCoords dx) const |
| virtual const MacroType | DRflow () const |
Protected Attributes | |
| int | WLBI [3] |
| int | WUBI [3] |
| int | DRbc [6] |
| DataType | WLB [3] |
| DataType | WUB [3] |
| DataType | DRmin [3] |
| DataType | DRmax [3] |
| DataType | DRminThk [3] |
| DataType | DRmaxThk [3] |
| DataType | DRCoeff |
| MacroType | DRFlow |
| MicroType | fmeq |
| typedef base::grid_data_type LBMD3Q19DR< DataType >::grid_data_type |
Reimplemented from LBMD2Q9< DataType >.
| typedef GridData<MacroType,3> LBMD3Q19DR< DataType >::macro_grid_data_type |
Reimplemented from LBMD2Q9< DataType >.
| typedef base::MacroType LBMD3Q19DR< DataType >::MacroType |
Reimplemented from LBMD2Q9< DataType >.
| typedef base::MicroType LBMD3Q19DR< DataType >::MicroType |
Reimplemented from LBMD2Q9< DataType >.
| typedef base::point_type LBMD3Q19DR< DataType >::point_type |
Reimplemented from LBMD2Q9< DataType >.
| typedef base::SideName LBMD3Q19DR< DataType >::SideName |
Reimplemented from LBMD2Q9< DataType >.
| typedef Vector<DataType,6> LBMD3Q19DR< DataType >::TensorType |
Reimplemented from LBMD2Q9< DataType >.
| typedef base::vec_grid_data_type LBMD3Q19DR< DataType >::vec_grid_data_type |
Reimplemented from LBMD2Q9< DataType >.
| LBMD3Q19DR< DataType >::LBMD3Q19DR | ( | ) | [inline] |
| virtual LBMD3Q19DR< DataType >::~LBMD3Q19DR | ( | ) | [inline, virtual] |
| virtual void LBMD3Q19DR< 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] |
Reimplemented from LBMD2Q9< DataType >.
References SchemeBase< vector_type, dim >::Back, LBMD2Q9< DataType >::BCStandard(), SchemeBase< vector_type, dim >::Bottom, LBMD3Q19DR< DataType >::DRmax, LBMD3Q19DR< DataType >::DRmin, SchemeBase< vector_type, dim >::Front, AMRBase< vector_type, dim >::GH(), SchemeBase< vector_type, dim >::idx(), SchemeBase< vector_type, dim >::Left, BBox::lower(), LBMD2Q9< DataType >::NoSlipWallEntranceExit, SchemeBase< vector_type, dim >::Right, BBox::stepsize(), SchemeBase< vector_type, dim >::Top, BBox::upper(), GridHierarchy::wlb(), LBMD3Q19DR< DataType >::WLB, GridHierarchy::worldCoords(), GridHierarchy::wub(), and LBMD3Q19DR< DataType >::WUB.
| virtual void LBMD3Q19DR< DataType >::DRCollision | ( | MicroType & | f, | |
| const MicroType | fmeql, | |||
| const DataType | damp, | |||
| const DataType | om | |||
| ) | const [inline, virtual] |
Novel damping collison forcing based on strain and prescribed macroscopic mean flow components.
References LBMD2Q9< DataType >::Cs_Smagorinsky, LBMD2Q9< DataType >::DeviatoricStress(), LBMD2Q9< DataType >::Equilibrium(), LBMD2Q9< DataType >::LES_dynamicMemory, LBMD2Q9< DataType >::LES_SmagorinskyMemory, LBMD2Q9< DataType >::MacroVariables(), LBMD2Q9< DataType >::S0, LBMD2Q9< DataType >::Strain(), and LBMD2Q9< DataType >::turbulence.
Referenced by LBMD3Q19DR< DataType >::DRDamp().
| virtual void LBMD3Q19DR< DataType >::DRDamp | ( | vec_grid_data_type & | fvec | ) | const [inline, virtual] |
Novel boundary region approach that diminishes the deviation between lattice sites in the region and prescribed macroscopic mean flow component(s). The corners of inlets and outlets orthogonal to no-slip wall boundaries are allowed larger deviation from mean flow component(s).
References LBMD3Q19DR< DataType >::DRbc, LBMD3Q19DR< DataType >::DRCoeff, LBMD3Q19DR< DataType >::DRCollision(), LBMD3Q19DR< DataType >::DRFlow, LBMD3Q19DR< DataType >::DRmax, LBMD3Q19DR< DataType >::DRmaxThk, LBMD3Q19DR< DataType >::DRmin, LBMD3Q19DR< DataType >::DRminThk, LBMD2Q9< DataType >::Equilibrium(), LBMD3Q19DR< DataType >::fmeq, AMRBase< vector_type, dim >::GH(), SchemeBase< vector_type, dim >::idx(), LBMD2Q9< DataType >::MacroVariables(), AMRBase< vector_type, dim >::NGhosts(), LBMD2Q9< DataType >::Omega(), LBMD3Q19DR< DataType >::QcritLocal(), LBMD2Q9< DataType >::VelocityScale(), GridHierarchy::wlb(), LBMD3Q19DR< DataType >::WLB, GridHierarchy::worldCoords(), GridHierarchy::worldStep(), GridHierarchy::wub(), and LBMD3Q19DR< DataType >::WUB.
Referenced by LBMD3Q19DR< DataType >::Step().
| virtual const MacroType LBMD3Q19DR< DataType >::DRflow | ( | ) | const [inline, virtual] |
References LBMD3Q19DR< DataType >::DRFlow.
| virtual int LBMD3Q19DR< DataType >::DRInside | ( | const DCoords | lower, | |
| const DCoords | upper | |||
| ) | const [inline, virtual] |
Determine if this fvec is in the damping region by checking if the four corners are within the box defining the solution region.
only solution region in fvec
References LBMD3Q19DR< DataType >::DRmax, and LBMD3Q19DR< DataType >::DRmin.
Referenced by LBMD3Q19DR< DataType >::Step().
| DataType LBMD3Q19DR< DataType >::QcritLocal | ( | const MacroType | qxp, | |
| const MacroType | qxm, | |||
| const MacroType | qyp, | |||
| const MacroType | qym, | |||
| const MacroType | qzp, | |||
| const MacroType | qzm, | |||
| const DCoords | dx | |||
| ) | const [inline] |
Referenced by LBMD3Q19DR< DataType >::DRDamp().
| virtual void LBMD3Q19DR< DataType >::register_at | ( | ControlDevice & | Ctrl, | |
| const std::string & | prefix | |||
| ) | [inline, virtual] |
| virtual void LBMD3Q19DR< DataType >::SetupData | ( | GridHierarchy * | gh, | |
| const int & | ghosts | |||
| ) | [inline, virtual] |
Reimplemented from LBMD2Q9< DataType >.
References LBMD3Q19DR< DataType >::DRCoeff, LBMD3Q19DR< DataType >::DRFlow, LBMD3Q19DR< DataType >::DRmax, LBMD3Q19DR< DataType >::DRmaxThk, LBMD3Q19DR< DataType >::DRmin, LBMD3Q19DR< DataType >::DRminThk, LBMD2Q9< DataType >::Equilibrium(), LBMD3Q19DR< DataType >::fmeq, AMRBase< vector_type, dim >::GH(), LBMD2Q9< DataType >::L0(), LBMD2Q9< DataType >::R0, LBMD2Q9< DataType >::S0, LBMD2Q9< DataType >::SetupData(), LBMD2Q9< DataType >::U0, GridHierarchy::wholebbox(), LBMD3Q19DR< DataType >::WLB, GridHierarchy::wlb(), LBMD3Q19DR< DataType >::WUB, and GridHierarchy::wub().
| virtual double LBMD3Q19DR< 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] |
Reimplemented from LBMD2Q9< DataType >.
References LBMD3Q19DR< DataType >::DRDamp(), LBMD3Q19DR< DataType >::DRInside(), AMRBase< vector_type, dim >::GH(), lower(), LBMD2Q9< DataType >::Step(), upper(), and GridHierarchy::worldCoords().
int LBMD3Q19DR< DataType >::DRbc[6] [protected] |
Referenced by LBMD3Q19DR< DataType >::DRDamp(), and LBMD3Q19DR< DataType >::register_at().
DataType LBMD3Q19DR< DataType >::DRCoeff [protected] |
MacroType LBMD3Q19DR< DataType >::DRFlow [protected] |
DataType LBMD3Q19DR< DataType >::DRmax[3] [protected] |
DataType LBMD3Q19DR< DataType >::DRmaxThk[3] [protected] |
Referenced by LBMD3Q19DR< DataType >::DRDamp(), and LBMD3Q19DR< DataType >::SetupData().
DataType LBMD3Q19DR< DataType >::DRmin[3] [protected] |
DataType LBMD3Q19DR< DataType >::DRminThk[3] [protected] |
Referenced by LBMD3Q19DR< DataType >::DRDamp(), and LBMD3Q19DR< DataType >::SetupData().
MicroType LBMD3Q19DR< DataType >::fmeq [protected] |
Referenced by LBMD3Q19DR< DataType >::DRDamp(), and LBMD3Q19DR< DataType >::SetupData().
DataType LBMD3Q19DR< DataType >::WLB[3] [protected] |
int LBMD3Q19DR< DataType >::WLBI[3] [protected] |
DataType LBMD3Q19DR< DataType >::WUB[3] [protected] |
int LBMD3Q19DR< DataType >::WUBI[3] [protected] |