You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Corner triangles give wrong flow with Taylor-Hood elements #147
The triangle generator can leave a triangle in a corner of the domain with two sides on the boundary. With Taylor-Hood elements, five of its six velocity nodes are then fixed, and the flow near that corner is wrong.
In the lid-driven cavity (rectangle: [4, 2], minAngle: 30), sizes 0.35, 0.3 and 0.15 give such triangles, and the strongest return flow moves into a lid corner (u = -0.35 instead of -0.32). Sizes 0.5, 0.4 and 0.2 don't.
Look into splitting these triangles in triangleMesh.js, or at least warning about them.
Fixed in #183, merged into release/0.5.0-rc as 90a6453. It ships with 0.5.0. The generator now splits a triangle with two sides on the boundary (or three) and refines the halves again; a corner of less than twice minAngle keeps its triangle. The docs are on the release/0.5.0-rc branch of FEAScript-documentation.
Activity
Split the generated triangles with two sides on the boundary (#183)
nikoscham commentedon Dec 4, 2026
Fixed in #183, merged into
release/0.5.0-rcas 90a6453. It ships with 0.5.0. The generator now splits a triangle with two sides on the boundary (or three) and refines the halves again; a corner of less than twiceminAnglekeeps its triangle. The docs are on therelease/0.5.0-rcbranch of FEAScript-documentation.