r/CFD • • 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

72 comments sorted by

View all comments

Show parent comment

1

u/Cynox Feb 03 '21

MPI in Python works just as well as in C++. I believe I've heard that codes such as shenfun beat many other spectral DNS codes, most of which are not coded using mpi4py, but I do not have any personal experience with it. https://github.com/spectralDNS/shenfun

1

u/anointed9 Feb 03 '21

Alright, good to know. I'll take the L.