1 / 1

Numerical Solution of control volume Finite Difference

Sources and BC’s. Numerical Solution of control volume Finite Difference. Point form. nrow 3 2 row=1. N. W. E. P. Matrix Form. S. Col =1 2 3 ncol. For current problem. for row=1:nrow for col=1:ncol

glenys
Download Presentation

Numerical Solution of control volume Finite Difference

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sources and BC’s Numerical Solution of control volume Finite Difference Point form nrow 3 2 row=1 N W E P Matrix Form S Col =1 2 3 ncol For current problem for row=1:nrow for col=1:ncol i=col+(row-1)*ncol; if col>1 a(i,i-1)=1; end if col<ncol a(i,i+1)=1; end if row>1 a(i,i-ncol)=1; end if row<nrow a(i,i+ncol)=1; end ai(i)=4; if row==1 ai(i)=a(i)+1; end if row==nrow ai(i)=ai(i)+1; b(i)=200; end if col==1 ai(i)=ai(i)+1; end if col==ncol ai(i)=ai(i)+1; end

More Related