Skip to content

v0.14.0

Choose a tag to compare

@LudaLunizz LudaLunizz released this 26 Nov 07:25
· 15 commits to main since this release

Third-party plugin, not affiliated with SolidCraft; it only builds on their software.

Stress check

  • Clamped edges read the same at every grid (#147, PR #149). Where a flat support meets a free edge the stress is singular, so the peak there used to grow with every finer grid (100 x 10 x 5 mm aluminium cantilever, 100 N: 118.5 / 123.4 / 125.9 / 139.9 MPa at 120 / 200 / 240 / 400 cells; beam theory 120). The verdict's peak is now extrapolated to those corners from the peaks beyond r and 2r (hot-spot style): 118.4 / 119.0 / 119.5 / 119.2 MPa. The singular value stays in the reply (singular_peak_mpa); peak_read says how the peak was read. Supports on holes keep the plain surface peak. Note: verdicts at clamped corners can change; that cantilever at 200 cells now passes SF 2.02 (was 1.94).
  • verify (#144): solves again at half the resolution; converged only when displacement and peak settle (2 % / 5 %), otherwise unverifiable and no pass/fail verdict.

Every refusal says what to fix (#141, #142)

  • One shape: <what was wrong>. Fix: <what to change>. [<code>], e.g. volume_share is 0.95, outside 0.1 to 0.9. Fix: set volume_share from 0.1 to 0.9. [out_of_range]. Eleven codes, listed in the README.
  • The ranges and choices the plugin accepts are now exactly the ones the dialog offers (one generated table, every bound tested). Fixed on the way: stress-check forces are declared up to 1e9 N; bar-bracket and benchmark refusals name the field instead of "params"; bar-bracket honours a cancel before its long part.

Under the hood (#132, #133, #135, #136, #138, #139, #145)

  • One shared CG solver that says why it stopped, one V-cycle for the 2D and 3D multigrid (same results, same speed), contract tests for the multigrid, and a finite-difference audit of the optimiser's gradient.
  • The shipped test cases also run in cargo test; the version and material count can no longer go stale in the docs.
  • Native tools only: the GPU solver is tested against the CPU (in CI on Mesa's CPU Vulkan), grids under 25,000 cells solve on the CPU, a GPU named with GDE_GPU that cannot be opened stops the tool.

Tested on SolidCraft 0.49.1, headless (tests/cli-test.sh PASS, plugin test: 13 passed). Not tried in a window yet. Unsigned; check the zip against the .sha256.