Which Software is Best for CFD: Fortran vs C

  • Thread starter Thread starter sashankhrao
  • Start date Start date
  • Tags Tags
    Cfd Fortran
AI Thread Summary
For computational fluid dynamics (CFD), the choice between Fortran and C largely depends on the specific industry. Many legacy codes in academia and government, such as those used by the Air Force and NASA, are written in Fortran, making it a valuable language to learn. Conversely, private industry often favors C++, which is also relevant for CFD applications. Starting with Fortran can provide a strong foundation, as transitioning to other languages becomes easier afterward. Ultimately, learning Fortran is recommended for those entering the field.
sashankhrao
Messages
17
Reaction score
0
Can someone pls advise me as to which would be the better software to learn which would help in CFD - Fortran or C or something else?

Thanks!
 
Engineering news on Phys.org
They are both similar, it really depends on the industry IMHO. Everything that I've worked on (Air Force's Research Lab's FDL3Di, NASA's BASS Code) is coded in FORTRAN. However, I've talked to people working in private industry that do a lot in C++.

Since so much legacy code is written in FORTRAN, I would recommend starting there. Once you have the understanding on one major programming language, adapting to another should be relatively easy.
 
Hi,

Thanks again for your help. I will begin my coding with Fortran.

Regards,
Sashankh
 
Posted June 2024 - 15 years after starting this class. I have learned a whole lot. To get to the short course on making your stock car, late model, hobby stock E-mod handle, look at the index below. Read all posts on Roll Center, Jacking effect and Why does car drive straight to the wall when I gas it? Also read You really have two race cars. This will cover 90% of problems you have. Simply put, the car pushes going in and is loose coming out. You do not have enuff downforce on the right...
I'm trying to decide what size and type of galvanized steel I need for 2 cantilever extensions. The cantilever is 5 ft. The space between the two cantilever arms is a 17 ft Gap the center 7 ft of the 17 ft Gap we'll need to Bear approximately 17,000 lb spread evenly from the front of the cantilever to the back of the cantilever over 5 ft. I will put support beams across these cantilever arms to support the load evenly
Thread 'What's the most likely cause for this carbon seal crack?'
We have a molded carbon graphite seal that is used in an inline axial piston, variable displacement hydraulic pump. One of our customers reported that, when using the “A” parts in the past, they only needed to replace them due to normal wear. However, after switching to our parts, the replacement cycle seems to be much shorter due to “broken” or “cracked” failures. This issue was identified after hydraulic fluid leakage was observed. According to their records, the same problem has occurred...
Back
Top