Programming, Science, Python, Mathematics, Towards Data Science.
self.v_next=np.zeros((self.rowpts+2,self.colpts+2)) self.u_c=np.zeros((self.rowpts,self.colpts)) self.v_c=np.zeros((self.rowpts,self.colpts))) #Pressure matrices self.p=np.zeros((self.rowpts+2,self.colpts+2)) self.p_c=np.zeros((self.rowpts,self.colpts)) #Set default source term self.SetSourceTerm()