#include #include #include #include using namespace std;
enum {imax=129,jmax=129,Re=100,itr_si_max=10,itr_w_max =2,U=1}; //imax = max grid pt. starting frm 1 in x dir //jmax=max grid pt. starting frm 1 in y dir //U =non dimentional vel of lid (at the top wall) //Re=reynolds no fr the expt. //itr_si_ma=no of itr for si //itr_w_max=no of itr fr omega long double si[150][150], u[150][150], v[150][150], omeg[150][150], Er,dx, dy, omeg_prev, si_prev; int i, j,itr_si, itr_w, counter=0;
//calc the grid spacing void calc_grid_spacing() { dx = 1.0/(imax-1); dy = 1.0/(jmax-1); }
Thank you for interesting in our services. We are a non-profit group that run this website to share documents. We need your help to maintenance this website.