r/CFD • u/Overunderrated • Feb 03 '21
[February] Programming languages for CFD
As per the discussion topic vote, February's monthly topic is "Programming languages for CFD"
User /u/SignificantCell2 asked for Rust experiences, but that sounded overly specific so i op'ed'd it into this.
Talk about your experiences and preferences with various programming languages in the context of CFD programming.
43
Upvotes
View all comments
Show parent comment
15
u/Ferentzfever Feb 03 '21
Matlab: Still better than my professor's hand-me-down F77 code (from his professor) that had to be recompiled every time you changed the mesh-size. Oh, and it was parallelized - on GPUs. And I made a GUI interface for it. And I didn't have to write my own
linspaceroutines. And no GOTO. And we could post-process the data in-situ rather than write out a bunch of ASCII text files to be later read into Matlab for post-processing. And we didn't have to write our own FFT implementation. And I didn't have to teach undergrads what Cygwin was and what a "terminal" was... I will forever love Matlab, solely because it saved me from F77.