CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Jim K (https://www.cfd-online.com/Forums/main/8393-jim-k.html)

Languages for CFD-packages November 28, 2004 02:03

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.

queram November 28, 2004 06:39

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 :)

zxaar November 28, 2004 18:21

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.