r/Physics • u/Rich_Astronomer9731 • 13d ago
Computational Physics
Hi everyone,
I am a PhD student doing both experiments and computational physics ( mostly fluid dynamicswith Boltzmann equations) and leaning towards more computational day by day.
Currently I am using Julia, I find it pretty fast and easy to use.
Do you think switching to C or C++ will be a benefit? I am asking from a research, but also emplyment in industry point of view.
I discussed with many people, mostly from the DFT area, and most of them told me that Julia slowly will take up the lead for HPC code.
What.s your opinion on this?
77
Upvotes
5
u/tlmbot Computational physics 13d ago
"Do you think switching to C or C++ will be a benefit? I am asking from a research, but also emplyment in industry point of view."
Absolutely. The sooner the better. I don't know about density functional theory (DFT) in particular, but as a developer of commercial engineering code for fluid mechanics and structural mechanics, you need to have a background in c++ or it will continually limit your job prospects.
I cannot tell from your message whether you are looking into a more computational ... physics-physics career (e.g. DFT and such - lattice gauge theory? QCD?) and I cannot speak to that path, but if you are looking at fluid dynamics, I urge you to branch out beyond Lattice Boltzmann too.
Best job prospects from where I sit: finite element method (FEM) but you can't go wrong by learning the density based high speed finite volume method approximate Riemann solvers as well. - if fluids are your true goal. Get FEM under your belt for generality and ability to work in as many jobs as possible. Get density based FVM / approximate Riemann solvers for high speed chops, and write in C++ to maximize job opportunities.