Skip to content

v5.1.0

Choose a tag to compare

@github-actions github-actions released this 12 Sep 10:52
· 265 commits to main since this release
0f958d0

VortexStepMethod v5.1.0

Diff since v5.0.0

Added

  • solve!(...; throw_on_fail=true) throws a SolveFailure when the circulation
    loop missed the solver's tolerances or the coefficients it assembled are not
    finite — ForwardDiff.Dual partials included — so a caller that cannot use a
    failed solve gets an exception rather than a VSMSolution it has to inspect.
    The default is off: a post-stall solve that misses the tolerances still returns
    its solver_status == FAILURE solution.

Changed

  • linearize's fd_absstep/fd_relstep, the finite-difference step it takes
    when handed backend=nothing, default to 1e-8 instead of 1e-3 — the
    sqrt(eps) scale the NONLIN Newton Jacobian already perturbs by.

Fixed

  • The NONLIN solver backtracks along each Newton step instead of always taking
    it whole, so it converges past stall where the full step used to cycle: on the
    test/solver/solver_test_wing.yaml wing at 26.6° it stopped 3.6% below LOOP's
    peak circulation and reported FAILURE, and now lands on the same distribution
    with a fixed-point residual at machine precision.
  • plot_slices_3d in audit mode no longer crashes when a generated deflection
    .dat holds no finite coordinates (an all-NaN contour from a deflection the
    2D solver converged at no angle): it skips that overlay and warns, naming the
    file and whether it was blank or missing.

Merged pull requests:

  • Let a caller ask solve! to throw on a failed solve (#282) (@1-Bort-1)
  • NONLIN misses the tolerances at 26.6° where LOOP converges (#285) (@1-Bort-1)
  • CI: the code-coverage job's timeout-minutes is 30, tighter than the pl (#289) (@1-Bort-1)
  • Tests write fixed filenames into the shared tempdir, so two suites on (#290) (@1-Bort-1)
  • test_forwarddiff.jl's POLAR_MATRICES check flakes at ~4%, and the oper (#292) (@1-Bort-1)
  • Release VortexStepMethod v5.1.0 (#302) (@1-Bort-1)
  • Setup Test is failing (#312) (@1-Bort-1)

Closed issues:

  • NONLIN misses the tolerances at 26.6° where LOOP converges (#283)
  • Tests write fixed filenames into the shared tempdir, so two suites on (#286)
  • test_forwarddiff.jl's POLAR_MATRICES check flakes at ~4%, and the oper (#287)
  • CI: the code-coverage job's timeout-minutes is 30, tighter than the pl (#288)
  • No test runs generate_airfoils with a delta_range over a wrapped slice, so the per-deflection .dat files are unchecked (#296)
  • Tests on main are failing (#303)
  • Setup Test is failing (#311)