Repository navigation
0.4.1
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 aFloat64Array, withNaNfor 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 withplotInterpolatedSolution, 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 withh: 0) now throwsSINGULAR_MATRIXfor 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.