nikola-m / freeCappuccino

A three-dimensional unstructured finite volume code for fluid flow simulations.
GNU General Public License v3.0
51 stars 25 forks source link

Buggy least square gradients #1

Open nikola-m opened 7 years ago

nikola-m commented 7 years ago

Two out of three least-square gradient options (_lstsq, lstsqdm) have yet undiscovered bugs and give wrong results. The problem is not high priority since _lstsqqr option works well. This is the gradient calculation procedure explained in the reference paper. Anyhow, it would be nice to discover and remove these bugs and enable users more options for cell centered gradient computation.