Skip to content

0.4.1

Choose a tag to compare

@nikoscham nikoscham released this 20 Nov 06:53
· 4 commits to main since this release

FEAScript 0.4.1

This patch release adds a way to read a 2D solution at any point, for example to hand it to another program on its own grid, and fixes a heat conduction case that returned meaningless values instead of an error. Nothing existing changes.

New Features

  • Added evaluateSolution(model, result, points, { field }), which returns the solution of a 2D model at given [x, y] points as a Float64Array, with NaN for points outside the domain or inside a hole. Values are interpolated with the element basis functions, for linear and quadratic triangles and quadrilaterals, including curved quadratic edges. It shares its point location with plotInterpolatedSolution, so the two give the same values - Contributed by @nikoscham

Bug Fixes

  • Heat conduction with zero heat flux on every boundary ("symmetry", no condition, or convection with h: 0) now throws SINGULAR_MATRIX for every solver method, with a message that asks for a "constantTemperature" or "convection" condition, instead of returning values around 1e14 - Contributed by @nikoscham

See the changelog for the full list of changes.

Contributors