CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

Fortran or matlab

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 15, 2004, 11:23
Default Fortran or matlab
Posts: n/a
which one of two is best for cfd code writing
  Reply With Quote

Old   August 15, 2004, 15:14
Default Re: Fortran or matlab
Doctor Blade
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.
  Reply With Quote

Old   August 15, 2004, 16:47
Default Re: Fortran or matlab
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.
  Reply With Quote

Old   August 17, 2004, 04:36
Default Re: Fortran or matlab
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.


  Reply With Quote

Old   August 17, 2004, 11:00
Default Re: Fortran or matlab
Jonas Holdeman
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.
  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
caling matlab in Fortran HaKu Main CFD Forum 0 July 16, 2009 15:35
Fortran vs Matlab Help idee Main CFD Forum 3 July 2, 2008 15:05
MATLAB FORTRAN Ally Main CFD Forum 4 July 12, 2007 03: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 10:01

All times are GMT -4. The time now is 21:19.