|
[Sponsors] |
September 27, 2012, 09:30 |
can i use cfd using matlab
|
#1 |
New Member
ashraf H
Join Date: Sep 2012
Posts: 1
Rep Power: 0 |
Dear all
can i use CFD Using MATLAB if answer is yes ? if u have examples ,books ,thesis i need to use CFD Using MATLAB for buildings (high rise building) help me please |
|
September 27, 2012, 11:49 |
|
#2 |
New Member
Join Date: Sep 2012
Posts: 3
Rep Power: 14 |
Yes you can. I don't know how much experience do you have in Matlab, but you can use fortran codes or C++ codes as a guide, and adapt it to MAtlab.
|
|
September 27, 2012, 12:05 |
|
#3 |
New Member
Join Date: Sep 2012
Posts: 3
Rep Power: 14 |
if you are new with this maybe this book can help you: "Applied Numerical Methods Using MATLAB" Won Y. Yang, Wenwu Cao,Tae-Sang Chung and John Morris.
|
|
September 27, 2012, 12:41 |
|
#4 |
Member
Francesco Capuano
Join Date: May 2010
Posts: 81
Rep Power: 16 |
What do you think about the performances of Matlab with respect to Fortran or C/C++, for what concerns CFD-related codes? Does it work well in parallel?
I was wondering if a well-written Matlab code can be as fast as (or even faster than) consolidated languages such as Fortran or C. |
|
September 27, 2012, 13:57 |
|
#5 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Quote:
Long and rant'ish answer: I just got give my two (or ten) cents here I've got plenty of experience coding with MATLAB, FORTRAN, C/C++ and I've even made C mex-files to speed up performance in performance-critical code that was running in MATLAB. Unless todays MATLAB has super-evolved (it's been 5 years since last time I did any high performance related coding in MATLAB), but the principle should remain the same today:
The end result is usually always the same:
And then there's always the power factor: if you have only a few of hours to develop the code from scratch, but have a super-computer near by, then by all means, use MATLAB assuming it's already installed and tested on said super-computer... Of course this also assumes you've got a lot of experience in coding said specific CFD code you're planning on using... because CFD is a mathematical world in it's own right... Have fun! Bruno
__________________
|
||
September 28, 2012, 05:13 |
|
#6 |
Member
Francesco Capuano
Join Date: May 2010
Posts: 81
Rep Power: 16 |
Thank you Bruno, I guess I couldn't hope for a better answer
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD in matlab | Dougal MCQueen | Main CFD Forum | 1 | December 5, 2003 07:45 |
Where do we go from here? CFD in 2001 | John C. Chien | Main CFD Forum | 36 | January 24, 2001 22:10 |
ASME CFD Symposium, Atlanta, July 2001 | Chris R. Kleijn | Main CFD Forum | 0 | September 13, 2000 05:48 |
ASME CFD Symposium, Atlanta, July 2001 | Chris R. Kleijn | Main CFD Forum | 0 | August 21, 2000 05:49 |
Which is better to develop in-house CFD code or to buy a available CFD package. | Tareq Al-shaalan | Main CFD Forum | 10 | June 13, 1999 00:27 |