Natural convection

Hi all,
I’m a user of LB2D_Prime code and I want to study the thermal LBM;
Especially, Natural convection in differentially heated enclosure ;
Unfortunately, I didn’t find good results with this code;
The difficulty is with the Boundary conditions and the initialization of the problem (in latman.c);

  1. case IC_UNIFORM_RHO_IN
  2.     {  
    
  3. #if INAMURO_SIGMA_COMPONENT
  4.       if( subs==0)  
    
  5.       {       
    
  6.         *macro_var_ptr++ = lattice->param.rho_in;  
    
  7.       }  a
    
  8.       else // subs==1  
    
  9.       {  
    
  10.         *macro_var_ptr++ = lattice->param.rho_in;  
    
  11.       } 
    

Would you mind helping me and advising me How to initialize the problem and which BCs I have to choose;

Sincerely,