|
[Sponsors] |
August 15, 2004, 12:23 |
Fortran or matlab
|
#1 |
Guest
Posts: n/a
|
which one of two is best for cfd code writing
|
|
August 15, 2004, 16:14 |
Re: Fortran or matlab
|
#2 |
Guest
Posts: n/a
|
I am currently using Matlab student version. But I always hear people that is deep involved in this topic programming in Fortran. Matlab is a little bit limited in memory capacity.
|
|
August 15, 2004, 17:47 |
Re: Fortran or matlab
|
#3 |
Guest
Posts: n/a
|
The party line is that Matlab is also SLOW in execution speed when compared to a compiled code (fortran, C, etc).
There was a discussion on this forum a couple of months ago on this subject. You might try to find it in the archives. It was suggested that development be done on Matlab using 2-d problems, coarse meshes. When the ideas are clear and demonstrated to work, then code it up in a language that you can compile to run real problems. |
|
August 17, 2004, 05:36 |
Re: Fortran or matlab
|
#4 |
Guest
Posts: n/a
|
Just a comment - Matlab CAN be compiled as well, but you need to pay for the compiler, of course. This could well be a way, but you must ask your Matlab supplier, how much will the compiler cost you.
Regards George |
|
August 17, 2004, 12:00 |
Re: Fortran or matlab
|
#5 |
Guest
Posts: n/a
|
Matlab solvers seem fast and have probably been optimized. I find that the assembly process is rather slow in Matlab and creates a bottleneck for me. The integrated graphics is convenient for development.
Overall, I agree with Jim Park, Matlab is great for exploring new ideas, but is too slow to be recommended for for large problems. From all the inquiries about codes, it is too bad there is no open source movement to develop a set of open source, free codes. There could not be just one because it would be too complicated for beginners and probably not comprehensive enough for engineering and special purpose work. But, if there was a compatible code base in Fortran and C++ that integrated existing open source sparse matrix representations and solvers, graphics, mesh generator, and input-output subroutines/classes/methods, that would be a great help. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
caling matlab in Fortran | HaKu | Main CFD Forum | 0 | July 16, 2009 16:35 |
Fortran vs Matlab Help | idee | Main CFD Forum | 3 | July 2, 2008 16:05 |
MATLAB FORTRAN | Ally | Main CFD Forum | 4 | July 12, 2007 04:51 |
matlab to fortran | ztdep | Main CFD Forum | 4 | November 15, 2006 09:15 |
C++, Fortran and Matlab | Wole F. | Main CFD Forum | 11 | September 26, 2000 11:01 |