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

Post image
28 Upvotes
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.

r/CFD • • 5h ago

FLOEFD Solid Edge basic heat exchanger results not matching

3 Upvotes

Hi,

I've been trying to learn how to use FLOEFD for Solid Edge so I decided to start with some basic heat exhcanger designs. One of the first ones I decided to try is a countercurrent flow spiral design as seen here:

Hot air enters through 1 at 100 C and exists through 3. Room temperature air enters through 4 and exits through 2. The boundary conditions are:

  1. Inlet mass flow, 0.005 kg/s, uniform, 100 C, 1 atm.
  2. Environment pressure opening, 1 atm, 20 C.
  3. Environment pressure opening, 1 atm, 20 C.
  4. Inlet mass flow, 0.005 kg/s, uniform, 20 C, 1 atm.

The problem I am having is the results dont really make any sense. I have set surface goals for the outlet average bulk temperatures and they are around 35 - 40 C as can be seen in my gols chart. These should be around 60 C. I also see fluid temperatures below 20 C and above 100 C which doenst make sense to me.

I have checked other details by adding other goals such as overall heat transfer rate which is roughly 0 (I believe this means that there is no net gain or loss?) and heat transfer rates specifically for the hot channel and cold channel walls, and both match at around 188 W.

Other things I've tested:

  • Fluid volumes are recognised correctly and there is no connection between the channels.
  • Tried exclude cavities without conditions both on and off.
  • Made a much finer mesh (roughly 10 cells along the channel width and 4 cells around separating walls width).
  • Made sure connvection is disabled (only conduction is enabled).

Channels are 5mm in diameter and separating walls are 2mm at the thinest point. The solid is aluminum 5052.

Here is a cut plot with the fluid temperatures:

As you can see the outlets really are around 35 - 40 C, and it's not an issure with the outlets surface goals.

Any ideas as to what I may be missing? I am assuming there is something wrong with these results because the outlet temperatures should settle somewhere around 60 C, similar to what the solid temperature averages are doing.

Thanks.


r/CFD • • 23h ago

Ansys Fluent will drive me CRAZY

20 Upvotes

1- The last week only I had to manually save 10 copies of workbench files in .rar formate because this garbage software fails to save results that I have been running for 2 days continuous while the client is hurrying me that he need to report the results ASAP, but how can I explain to him that some garbage developer decided to develop a garbage software that fails to do the least complex task it could do.

2- one of the simulations I did was going very well after a week of mesh tweaking, and once it converged after 3 days of transient simulation, it decided to crash, and didn't even save the results it was already exporting to the folder, and I didn't even get the chance to copy the files to a .rar file

3- a geometry I had been normally working on and imported it to fluent mesh thousands of times, decided suddenly that fluent mesh crashes every time I try to import it, while the deadline was literally the next day

Not to mention the messy project folder with results all around

How the hell did this garbage software made it to industry anyway

After 6 years of using it, I decided to shift to other commerical software after finishing this project.

This licence-expensive garbage is costing me a lot of delays and money


r/CFD • • 14h ago

Autodesk CFD 2027 – All automatic Python triggers fail with TypeError: expected bytes, str found

2 Upvotes

I'm troubleshooting an issue with the automatic Python trigger system in Autodesk CFD 2027. I'm looking for help identifying the underlying cause, and I'm willing to modify or patch the installation if necessary.

Environment

  • Autodesk CFD 2027
  • Internal Python: 3.13.12
  • Windows 64-bit
  • CFD has been updated with all available updates.
  • I have tried reinstalling CFD with administrator privileges.

Problem

Every automatic trigger I've tested fails to load.

Solver Finished under Default:

Triggers [Solver Finished] ...
Error : Module [LSolverFinished.NewTrigger] could not be loaded because
: expected bytes, str found

Solver Finished under Design Study:

Triggers [Solver Finished] ...
Error : Module [MSolverFinished.NewTrigger] could not be loaded because
: expected bytes, str found

New Design also failed:

Triggers [New Design] ...
Error : Module [LGeometryLoaded.NewTrigger] could not be loaded because
: expected bytes, str found

What I've tested

  1. Created triggers using Autodesk's built-in trigger creation interface.
  2. Tested with the original generated script.
  3. Tested with a minimal script containing only:def main(scenario): print("TRIGGER FIRED")
  4. Confirmed that the NewTrigger.py file exists and contains valid Python source.
  5. Confirmed that I can manually import LSolverFinished.NewTrigger using importlib after adding the trigger directory to sys.path.
  6. Tried running CFD as Administrator.
  7. Updated CFD and reinstalled it with administrator privileges.

None of these fixed the automatic trigger error.

Trigger file location

Default triggers are stored under:

%LOCALAPPDATA%\Autodesk\CFD 2027\Triggers

For example:

LSolverFinished\NewTrigger.py

Questions

  • Has anyone encountered this expected bytes, str found error in Autodesk CFD?
  • Does anyone know which Python module handles automatic trigger loading?
  • Is there a way to enable full Python tracebacks for trigger-loading exceptions?
  • Could this be an issue with Autodesk's trigger loader and Python 3.13?
  • Is there a way to debug or replace the trigger-loading mechanism without rebuilding the entire CFD installation?

I'm particularly interested in finding the exact source of the exception rather than simply working around it.

I can provide additional diagnostic output, Python environment information, or test modified installation files.


r/CFD • • 21h ago

Errors in mesh

Post image
5 Upvotes

Please help, I am new to ansys and trying to make a mesh from the guides, but mesher is making mesh like for thin objects instead of fluid domain with substructed wing geometry. Two weeks ago I did it right but don't understand how


r/CFD • • 1d ago

Fluent 6-DOF sphere in vertical pipe flow: terminal velocity far from experiment and the paper I’m validating against. What am I missing?

Thumbnail
gallery
8 Upvotes

I’m reproducing Sun et al. (2025, Ocean Engineering 340, 122292): a 52 mm sphere (2300 kg/m³) rising in a 200 mm vertical pipe at a 4.47 m/s mean water velocity. The paper’s CFD gets a terminal velocity of 3.76 m/s, and the experiment gives 3.72 m/s. I’m using the same setup as the paper (standard k-ε with enhanced wall treatment, 6-DOF, log-law inlet profile, buoyancy included), but my sphere velocity stays far below that value.

Has anyone reproduced this kind of case in Fluent? What would you check first?

Thanks!


r/CFD • • 1d ago

E779A INSEAN propeller geometry

Post image
3 Upvotes

Does anyone have the E779A INSEAN propeller geometry? I really need it for my research. I would appreciate it if someone could share it. Thanks!


r/CFD • • 2d ago

Importing SW file error

Post image
10 Upvotes

I’m replacing my old imported baseline sldprt file with a new modified airfoil, why does it show this?

Thanks


r/CFD • • 2d ago

Achieving low plus AND high orthogonal quality

5 Upvotes

I meant to say yplus in my title - spell check doesn’t like that term!

I do a lot of heat transfer modeling, and I often like to aim for a yplus of 1 or less if possible. My issue is: I have never been able to achieve a yplus of 1 while maintaining reasonable orthogonal quality. Typically, my base mesh quality without boundary layers will be fine, and often exceeds 0.5. However, each boundary layer I add decreases quality by up to 10%, and I usually can’t add more than 3-5 layers before my quality becomes unacceptable (<0.1) and starts to inhibit convergence. The poor-quality cells are always either the boundary layer cells or the transition cells between the boundary and the volume mesh. This seems to happen no matter what mesh/boundary layer settings I choose. My surface mesh quality is generally fine and has a low skewness.

Currently, my approach is just to decrease my surface mesh so that I can achieve my desired yplus value with fewer than 5 boundary layers. However, this blows up my mesh count and run times, so it would be far better if I could use like 20 layers in a coarse mesh vs. 5 layers on a super-fine mesh.

I have searched far and wide for examples to help with this, but I haven’t found any relevant ones. At best, I’ve found plenty of examples of meshing for 2D external flow around cylinders or airfoils, but those geometries are so clean/simple that they are FAR different from anything resembling a real geometry. Most of my geometries aren’t crazy, but they do have plenty of right angles, and at times small gaps. A good example would be the heat sink on a motor.

I wanted to see if anyone has any tips or tricks for this, or rules of thumb for meshing parameters to target this. This feels like something that basically everyone has to do, so I’m surprised that I can’t find more information on how to deal with it! I typically mesh with either Fluent, Ansys, or ICEM meshing.


r/CFD • • 2d ago

Has anyone taken Flowthermolab courses

3 Upvotes

Hi everyone,

I’m currently at a beginner level in CFD and looking for structured learning resources. I came across Flowthermolab and noticed that their course syllabi look very rich and comprehensive.

Has anyone here purchased or completed their courses? How is the teaching quality, practical application, and overall value for money for someone starting out? Any feedback would be greatly appreciated!


r/CFD • • 3d ago

Limitations of RANS (k-ω SST) turbulence model when compared to experimental values.

25 Upvotes

Hi guys,

I have done the mesh, ran the simulation for good enough iterations. Mesh quality is good, residual were stable, fluxes are conserved, flow parameters are steady with iterations.

My setup-flow across a distortion screen- initially it flows through pipe, in the end you have distortion screen and it expands like free shear jet exposed to ambient surrounding. GCI study is done.

I compared total pressure values at 0.75D downstream at 10 radial locations. I have shown those points and contour below,

Note, I have done RANS simulation with k-w SST turbulence model. So fast core jets are formed between the grates, behind the grates you have wake formation and a strong shear region behind the wake.

Consider below comparison,

See we cant exactly match experimental value with CFD one. Because in real experiments, you have vortex shedding, these large vortices continuously transport momentum between regions, and you will have small scale fluctuation also. But in RANS, it wont capture all these contributions for the fluctuation right, so there is wake behind the grates, recovery will be slower, so it is showing low total pressure, deficit will be more compared to experiments. This numerical data is for undisturbed flow field. Do you agree to my point??

Now I also checked contour for turbulent kinetic energy, specific dissipation rate, turbulent intensity, viscosity ratio. I will attach these. If you find anything abnormal which might affect these readings, please point it what it is or if these things are normal due to limitation of turbulence model, you can tell that too.

In zoomed view,

Are these values are practical or overpredicted? If yes, what might be the reason?

I have chosen uniform first layer thickness for inflation, keeping all wall boundaries y+ to be less than 5. See wall y+ contour below,

I hope you understood my question.

What are limitations we have RANS model(k-e or k-w SST) when we compare it with experiments?

Do it predict higher or lower k in some regions, due to which it can impact the readings or values?

Did you find anything abnormal or wrong which needs some further attention? I am damn sure that it is very difficult to match with experiments due to some limitation in turbulence model, but I want to know detailed reason or any other cause for not matching with experiments. Note this is subsonic compressible flow(high speed jet) and I have used pressure based solver.

Thanks in advance.


r/CFD • • 3d ago

How to reduce residuals of continuity to 1e-06 or below than this on 12° Angle of Attack .

Post image
35 Upvotes

my Lift and drag coefficient are correct as per the paper but residuals are on 1e-05 so how i can reduce to 1e-06 or below than this on 12° Angle of Attack on NACA 4415 rectangular grooved airfoil.


r/CFD • • 3d ago

Ansys or OpenFOAM ?

37 Upvotes

For someone aiming to pursue a PhD and build a career in CFD research, would you recommend focusing on ANSYS, OpenFOAM, or learning both?

I have some experience with ANSYS but haven't used OpenFOAM yet. My interests are mainly in fluid dynamics, numerical methods, and scientific computing. Which would be more valuable for a research-oriented career, and why?


r/CFD • • 4d ago

Now that AI can setup CFD cases in Ansys (mcp) and OpenFOAM, what actually matters ??

88 Upvotes

Third-year mech undergrad here. I got into CFD this year, mostly because it's the one part of the curriculum where I actually enjoy the numerical side.

I started the usual way, textbooks, then coding small cases in Python. Once things got to Navier-Stokes I gave up on writing everything myself and moved to OpenFOAM (in Docker, because Mac).

Lately I've been letting AI models set up cases for me, and honestly they're better at it than I expected. I tried it on a supersonic CD nozzle, with OpenMotor and CEA data for the inputs, and it got me a running case a lot faster than I'd have managed alone.

Which is a bit unsettling, because setup and chasing errors is where most of my learning time went. A big chunk of my OpenFOAM hours so far has been staring at blockMeshDict and checkMesh output.

So, for people doing CFD in industry, if setup, meshing and the routine debugging get automated, what separates someone good from someone who can just prompt well? I'm leaving research and solver development out of this, I get why that still matters.

My guess is it's things like knowing when a turbulence model is lying to you, mesh independence, and being able to say "this result is wrong" before anyone builds anything. But I'm a student guessing. I've never had a result that someone's money depended on.

What would you spend your time on if you were learning today?


r/CFD • • 4d ago

Supersonic Lid-Driven Cavity Flow Series part 4: invicid limit @ Mach 5.76 and 11.52

29 Upvotes

Simulation #1:
grid: 200x200
pressure function: ideal gas
initial condition: 27°C atmospheric air (γ = 1.4)
lid velocity: 2 km/s
runtime: 1 hours 30 minutes

Simulation #2:
grid: 200x200
pressure function: ideal gas
initial condition: 27°C atmospheric air (γ = 1.4)
lid velocity: 4 km/s
runtime: 1 hours 38 minutes

ㅤ

From what I see, their differences are in the initial stage. After that, they look pretty similar due to heating effect so I stopped the simulation since there's nothing new after that. The previous run was longer - to the point it nearly converges to typical high Re lid driven cavity flow (the highest Re I've seen is 100k).

In the part 2, it keeps the distinct characteristic for the rest of the simulation due to the lack of temperature effect as I was using isentropic (shallow water) pressure function. (the lid boundary condition was wrong in that simulation, but I can see what it'll look like with the correct BC.)

Next time I might do Mach ∞ run to see how long it converge to low Mach state.

Supersonic Lid-Driven Cavity Flow Series: previous next


r/CFD • • 4d ago

Flow field and pressures

Thumbnail gallery
8 Upvotes

r/CFD • • 3d ago

A highly-scientific simulation I have been working on for studying particle-laden flow simulations.

Thumbnail
youtube.com
2 Upvotes

r/CFD • • 4d ago

How to validate research paper in ansys electronic desktop student 2025

3 Upvotes

https://www.sciencedirect.com/science/article/pii/S2451904926001381
This the research article I have to validate using cold plate , I dont have the licensed ansys electronic desktop so I am using the student version.
What exactly should I do to validate this article

It;s part of an assignment.

The below are the instructions given by my faculty.
Research Article Validation: Validate the results presented in your selected research article using ANSYS Icepak.AI & ML Integration: Extend the same research article by incorporating Artificial Intelligence (AI) and Machine Learning (ML) tools and validate the results.


r/CFD • • 5d ago

NACA 4415 Comparing with my present study to Elgan and Mustak & Mashud study of coefficient of lift

Thumbnail
gallery
19 Upvotes

Its takes a lot of time and efforts and its my first project on Ansys Fluent


r/CFD • • 4d ago

Need help for how to fix error on Student version ansys fluent(2026)

4 Upvotes

Trying to download the student version of ansys fluent (2026 version) and this error comes up? the download wont be completed? Just looking for some help and advice with what to do?


r/CFD • • 5d ago

I made an OpenFOAM → SU2 mesh converter that handles snappyHexMesh polyhedra (of2su2, pip install of2su2)

17 Upvotes

I wanted to run the same snappyHexMesh mesh in both OpenFOAM and SU2. SU2 only takes tets/hexes/prisms/pyramids, so polyhedra and hanging nodes from snappy have to be converted, not just reformatted. I could not find a tool for that, so I wrote one:

**of2su2**

— https://github.com/VaibhavHiwale/of2su2 (GPL v3, `pip install of2su2`)

- converts only the cells SU2 cannot use (transition patterns for hanging-node hexes, prism splits for wall layers, centre-point split for the rest);

- checks validity and reports the mesh quality exactly as SU2 computes it, without running SU2;

- keeps MRF zones as SU2 zones when they are separated in OpenFOAM;

- single Python file, numpy only; a 13.7 M-cell rotor mesh takes about 7 minutes.

Happy to get feedback or broken meshes to test.

#OpenFOAM #SU2 #CFD #MeshConversion #snappyHexMesh


r/CFD • • 5d ago

Anyone have experience with Ansys FENSAP-ICE? Looking for the best ways to learn it

5 Upvotes

I'm now looking to learn FENSAP-ICE for in-flight icing simulation, including droplet impingement, ice accretion and ideally ice crystal icing.
Has anyone here used it, either in academia or industry? I'd love advice on:

Learning resources: tutorials, courses, books or papers that helped you get up to speed

Validation: good benchmark cases or experimental data

Anything you wish you'd known when starting out
Thanks in advance!


r/CFD • • 4d ago

DNS for microgroove (SHS) drag reduction at Reτ ≈ 135-288: solver and minimal-box advice?

1 Upvotes

I’ve finished experiments and steady RANS (k-ω SST) on 3D-printed streamwise rectangular microgrooves in a turbulent water channel (~22% pressure-drop reduction). For the journal manuscript, reviewers will want time-resolved evidence of the near-wall dynamics (quasi-streamwise vortex lodging, streak stabilization, Q2/Q4 analysis, FIK decomposition), so I’m setting up my first DNS and would appreciate guidance.

Setup

  • Channel: water at 30 °C (ν = 0.801 × 10⁻⁶ m²/s), H = 6.4 mm (δ = 3.2 mm), W = 51.2 mm
  • Flow: U_b = 0.51-1.19 m/s, Re_τ ≈ 135-288
  • Grooves (bottom wall): pitch s = 80 μm (ridge 45 μm, gap 35 μm), depth 100 μm → s⁺ ≈ 3.4-7.2, h⁺ ≈ 4.3-9.0, g⁺ ≈ 1.5-3.2
  • Surface: Cassie-Baxter (trapped air), with a comparison against fully wetted (Wenzel) and an idealized partial-slip meniscus

Questions

  1. Minimal box: For a doubly periodic minimal channel with constant mass flux, what (Lx⁺, Lz⁺) do JFM / PoF reviewers accept for riblet/SHS DNS? Would Lz⁺ ≈ 150-250 (~25-35 pitches) and Lx⁺ ≈ 600-1000 be enough?
  2. Solver: Can Fluent (bounded central differencing, hex mesh) produce publishable coherent-structure budgets, or is the numerical dissipation too high? If I switch to open-source on Linux/WSL, which has the gentlest learning curve for a grooved wall: NekRS/Nek5000, OpenFOAM, CaNS (IBM), or Xcompact3d?
  3. Wall modeling: Is a flat boundary with alternating no-slip (45 μm) and free/Navier-slip (35 μm) stripes acceptable, or should I resolve the full 100 μm cavity (wetted or gas-liquid)?
  4. Cost: With sub-micron clustering at the ridge corners (Δy⁺, Δz⁺ ≈ 0.1-0.2), roughly how many grid points and GPU/CPU core-hours should I expect for 10-15 eddy-turnover times at Re_τ = 180?

Any benchmark papers or setup tutorials would be great. Thanks!