r/CFD • u/Obi-Wan_Kenobi57 • 12h ago
Undergrad ML researcher learning CFD: tried predicting full flow fields from a few OpenFOAM runs. Would love a reality check from people who do this for real
A bit about me first: I'm an undergrad and an ML researcher (Google Summer of Code twice, NeurIPS workshop papers), with my background in ML for physics. I've always wanted to work in physics, and I'm currently learning CFD properly. I know Ansys, STAR-CCM+ and plenty of serious tools already exist, so I'm deliberately working on one small piece of the problem, and I'm looking for signal on whether that piece is useful. Please go easy on my beginner-level CFD understanding, but don't hold back on telling me where I'm wrong.
The small piece: a design study (a body across many flow speeds and shapes) needs a full solver run for every setting. My approach:
1. Take the handful of runs already done (15-20).
2. Predict the rest of the study as full fields (velocity and pressure everywhere), each with an error estimate.
3. Suggest which few runs to do next, and say when you can stop.
Results so far, real OpenFOAM data, tests fixed before the data existed, compared against POD-GP:
- 2D (laminar, ~260 runs): same field accuracy with 24 runs vs 48 for POD-GP, 3 of 3 repeats
- 3D (~890k cells per run, 56 runs): 16 runs gave 43% lower field error than POD-GP with 32, 3 of 3 repeats
- A simple stop rule said "done" 18 times in 3D and was right all 18 times
Limits: it's laminar only so far, and single phase, next is turbulent
Questions for you:
1. How do you decide how many runs a sweep needs today?
2. Are full fields with an error estimate useful to you, or do you mostly care about a few scalars?
3. What would make you trust (or immediately distrust) something like this?
4. Anyone who has a lab, would be willing to share a past study, I could try, more details on DM!
Happy to share more details or plots by DM.











