Hacker News new | ask | show | jobs
by carodgers 1809 days ago
Beautifully done. Everything was clear and intelligible.

I have a CS background, but no physics/aerodynamics background. What are the minimum additional steps beyond this tutorial which could produce an aerodynamically correct 2D wing simulator? (With turbulence, not a steady-state solution.) I've come back to tackle this topic intermittently but have never cracked it. To anyone with expertise here who could share an overview and links, I'd be grateful.

1 comments

There are many different ways to do what you'd like. The easiest starting point would probably be this tutorial: https://github.com/barbagroup/CFDPython

But that won't handle turbulence. The real "turbulence problem" is that computing actual turbulent flows requires enormous computational resources. So instead of solving the Navier-Stokes equations, related equations with lower computational cost are solved. Because of how these equations are developed, they require modeling of "unclosed" terms, and this is a likely source of inaccuracy.

If you want something relatively simple, you could take the RANS approach and use the Spalart-Allmaras model:

https://www.cfd-online.com/Wiki/Introduction_to_turbulence/R...

https://www.cfd-online.com/Wiki/Spalart-Allmaras_model

How to implement the changes to the final part of Lorena Barba's tutorial should be fairly obvious by the time you get there.

The CFD Online site is a great resource that I had missed before. Thank you for the links.