CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Fortran or matlab

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

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

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

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

Old   August 17, 2004, 05:36
Default Re: Fortran or matlab
  #4
George
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
  Reply With Quote

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

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 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


All times are GMT -4. The time now is 05:31.