by otterdude · 5mo ago · 0 comments
This is a much better approach to CFD / Navier-Stokes and will help you understand the various phenomenon along the way. https://lorenabarba.com/blog/cfd-python-12-steps-to-navier-s...
> So that means, while I know what it does, I don't really know how, since all the work is in that mysterious function.
that I spent the time to work it out myself. (answer: It arises from discretising the Laplacian -- 6 is the number of direct neighbours in 3D)
In addition, replicating Jameson et al. (AIAA 1981-1259) [1], is a worthwhile, more advanced follow up, great if you want to get into serious CFD development eventually.
[1] http://aero-comlab.stanford.edu/Papers/jameson.aiaa.1981-125...