CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   CFD in Matlab (http://www.cfd-online.com/Forums/main/123587-cfd-matlab.html)

archeoptyrx September 16, 2013 18:23

CFD in Matlab
 
3 Attachment(s)
Hello ppl ,

I wrote a matlab code for simulating the example problem in cfd Anderson . Few plots are exactly as same as the one presented in the book . But the Pressure plot is slightly higher than the one in the book . I used the same conditions as in the book . I really cant figure out whats wrong in my simulation . I declared all variables as global . So as the MAC (maccormac) function makes use of those variables , the latest value gets updated .

Please take a look at these figures from book as well as from my matlab code .

:(:(

Thanks in advance .


All times are GMT -4. The time now is 01:06.