Skip to content

Corner triangles give wrong flow with Taylor-Hood elements #147

Done

Description

@nikoscham

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.
  • Add a regression test with one of the bad sizes.

Activity

  1. added this to the 0.5.0 milestone on Nov 15, 2026
  2. added
    bug
    on Nov 15, 2026
  3. self-assigned this
    on Nov 15, 2026
  4. added a commit that references this issue on Dec 4, 2026
    90a6453
  5. nikoscham commented on Dec 4, 2026

    @nikoscham
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions