Reply To: Curved boundary
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Curved boundary › Reply To: Curved boundary
Hello,
you need to apply correct wall model parameters.
‘template
struct wallFunctionParam {
/* Used method for density reconstruction
* 0: Zou-He (only for straight wall)
* 1: extrapolation (0th order)
* 2: constant (rho = 1.)
*/
int rhoMethod = 1;
/* Used method for non-equilibrium particle distribution reconstruction
* 0: regularized NEBB (Latt, BounceBack, use for straight walls)
* 1: extrapolation NEQ (Guo Zhaoli, more precise, less stable)
* 2: regularized second order finite Differnce (for straight walls)
* 3: equilibrium scheme (less precise, more stability)
*/
int fneqMethod = 1;
/* Used wall profile
* 0: Musker profile
* 1: power law profile
*/
int wallProfile = 0;
/// check if descriptor with body force is used
bool bodyForce;
/// special formulation for straight boundaries
bool curved = true;
/// use van Driest damping function in boundary cell, stabilizes LES
bool useVanDriest = true;
/// von Karman constant for van Driest model (~0.3-0.5)
T vonKarman = 0.375;
/// distance from cell to real wall in lattice units
T latticeWalldistance = 0.5;
};’
Choose the options for curved walls.