gdtk-uq / gdtk

The Gas Dynamics Toolkit (GDTk) is a set of software tools for simulating high speed fluid flow, maintained at The University of Queensland and the University of Southern Queensland, Australia.
https://gdtk.uqcloud.net/
Other
63 stars 17 forks source link

Newton-Krylov Solver attempts to run with divergence gradient calculation but shouldn't. #3

Closed uqngibbo closed 1 year ago

uqngibbo commented 2 years ago

Import of issue #9 from the old repository, originally reported by Lachlan Whyborn.

Lachlan Whyborn created an issue 2021-12-04

The Newton-Krylov solver requires the least-squares gradient calculation for the construction of the numerical Jacobian, but will still attempt to run if ‘divergence’ is selected for the spatial_deriv_calc. Should probably throw a more descriptive error during initialisation rather than an unitialised least-squares workspace error.