Jim K
Hi, can somebody tell what languages are used now for writing popular commercial CFD-packages? C, Fortran, mixture of languages, or others? Is it any sense to throw Fortran and to proceed in C for CFD tasks (Navier-Stokes, etc)? Thanks.
|
Re: Jim K
I think fortran is the most frequently used; most of the equations and their numerical methods are easily programmable in f. however, most of the commercial cfd codes provides an user-defined subroutine possibility and it can be either in c++ or fortran; that means, no matter what language will the code be written in, if it has a compiler&translator for another language/-s user subroutine :)
|
Re: Jim K
fortran is mainly used because from the start the engineers used fortran for programming, but now a days things are changing, for example CFX is fortran based then fluent is C based, people in FOAM used C++ for its object oriented approach. i am using visual studio to write solver since it gives C++ plus GUI creation is easy. there are some bench marks showing java also equally good. so in all the choice is your.
|
All times are GMT -4. The time now is 18:28. |