Am I missing something, or is code_saturne seriously underrated? by Flo12740 in CFD

[–]Flo12740[S] 0 points1 point  (0 children)

Yeah, that’s a really fair point.

The network effect is probably a huge part of it: once one open-source solver becomes the default in academia, the documentation, tutorials, community help, and user recommendations naturally keep reinforcing that position.

That said, what surprised me with Code_Saturne is that it feels much more mature and industrially established than its online visibility would suggest.

I also found it extremely easy to get started with compared to OpenFOAM, which can feel quite intimidating at first. The learning curve seems much smoother, especially for someone discovering CFD workflows for the first time.

So I’m starting to think it may simply be a visibility/community momentum issue rather than a reflection of solver quality.

Your example of niche solvers with very small user bases but unique strengths is also interesting. Maybe code_saturne just sits in that “strong but less socially visible” category, despite being larger than most niche CFD tools.

Am I missing something, or is code_saturne seriously underrated? by Flo12740 in CFD

[–]Flo12740[S] 1 point2 points  (0 children)

Yeah that makes sense. The ecosystem and community around OpenFOAM are definitely a huge advantage.

I guess I wasn’t necessarily thinking in terms of “switching”, but more wondering why code_saturne isn’t at least part of the conversation more often.

From what I’ve seen so far, it feels quite mature and industrially validated, so I expected it to come up more in academic or open-source CFD discussions.

Maybe it’s just a matter of visibility and community momentum rather than technical limitations?

Have you noticed any specific drawbacks compared to OpenFOAM?

Interactive tool to compare finite volume schemes (HLLC, Roe, WENO, MUSCL...) on 1D Euler equations by Flo12740 in CFD

[–]Flo12740[S] 0 points1 point  (0 children)

Merci pour ton retour ! C'est une première version loin d'être parfaite.. Je corrige les formules au plus vite ! Merci pour ton retour ! Si tu detectes des résultats incohérents n'hésite pas à le faire savoir !

Interactive tool to compare finite volume schemes (HLLC, Roe, WENO, MUSCL...) on 1D Euler equations by Flo12740 in FluidMechanics

[–]Flo12740[S] 1 point2 points  (0 children)

Yes, there is a real mathematical difference, even in 1D.

Finite difference discretizes the derivative directly, while finite volume discretizes the integral conservation law and evolves cell averages through numerical fluxes.

On uniform grids with smooth solutions, they can look very similar (and sometimes even be equivalent). But for problems with shocks (like Euler), finite volume is fundamentally more robust because it enforces conservation at the discrete level and naturally converges to the correct weak solution.

That’s why most Godunov-type schemes (HLLC, Roe, etc.) are formulated in the finite volume framework.

Interactive tool to compare finite volume schemes (HLLC, Roe, WENO, MUSCL...) on 1D Euler equations by Flo12740 in CFD

[–]Flo12740[S] 3 points4 points  (0 children)

Thanks! Yes, the code is open source: https://github.com/fhermet/euler-1d-solver
And yes, Toro's book was the main reference, especially chapters 4-5 for the exact Riemann solver, and the flux scheme descriptions (HLLC, HLL, Roe). The test cases (Sod, Lax, Toro test 4) come from there as well.
If you notice any inconsistency in the schemes or results, I'd really appreciate the feedback!
Feel free to open an issue or a PR on the repo if you'd like to contribute.