Skip to content

Enhance Gmsh import functionality #18

Open

Description

@nikoscham

This issue has been added to the FEAScript roadmap for the upcoming 0.2.0 release (https://github.com/orgs/FEAScript/discussions/17). Currently, the GMSH reader only supports quadrilateral elements. We propose extending support to triangular elements, which are widely used in 2D finite element simulations due to their flexibility in meshing complex geometries. The relevant function is located in gmshReaderScript.js (https://github.com/FEAScript/FEAScript-core/blob/main/src/readers/gmshReaderScript.js).

Tasks

  • Extend support to triangular elements
  • Integrate this feature with existing solvers

Activity

  1. added theissue type on May 19, 2025
  2. self-assigned this
    on May 21, 2025
  3. removed their assignment
    on Sep 16, 2025
  4. Dagimassefa commented on Sep 19, 2025

    @Dagimassefa

    Hi @nikoscham ,
    I’m interested in extending the GMSH reader to support triangular elements and integrating it with the existing solvers.

  5. nikoscham commented on Sep 19, 2025

    @nikoscham
    MemberAuthor

    Hi @nikoscham , I’m interested in extending the GMSH reader to support triangular elements and integrating it with the existing solvers.

    Thank you for your interest in contributing to the project @Dagimassefa! Adding support for triangular elements will be a very valuable feature for the library. Until now only quadrilateral elements are supported (see e.g. this example). I’ll get back to you soon with some extra instructions regarding the task!

    Best regards and please also consider ⭐️ the library!
    Nikos

  6. nikoscham commented on Sep 22, 2025

    @nikoscham
    MemberAuthor

    Hi @Dagimassefa! Here are some guidelines to help you tackle this task.

    1. Review the Gmsh import function

    2. Update numericalIntegrationScript.js

    • Implement appropriate integration points and weights for both linear and quadratic triangular elements (see this link).

    3. Implement Basis Functions for Triangular Elements

    • Implement shape functions for linear (3 nodes) and quadratic (6 nodes) triangular elements (see the same link).

    4. Integration with Solvers

    Please do what you can. If you cannot complete everything 100% that’s totally fine! Just push as far as you can and we can continue or review together.

    Thanks a lot for your work on this!

  7. agrim317 commented on Oct 19, 2025

    @agrim317

    Hi @nikoscham ,
    I’m interested in working on this issue. If it’s still open and not currently being worked on, could you please assign it to me?

  8. nikoscham commented on Oct 19, 2025

    @nikoscham
    MemberAuthor

    Hi @agrim317! Thanks for your interest in contributing to the project.
    @Dagimassefa, just checking — are you still working on this issue? If not, we can reassign it to @agrim317 to keep progress moving.

  9. nikoscham commented on Oct 30, 2025

    @nikoscham
    MemberAuthor

    Hey @Dagimassefa. Just a reminder that Hacktoberfest is wrapping up soon (October 31st). You can always contribute after Hacktoberfest, but you might miss out on their rewards. All the best

  10. added this to the 0.2.0 milestone on Nov 20, 2025
  11. linked a pull request that will close this issueFeature/triangular elements #61on Jan 27, 2026
  12. removed this from the 0.2.0 milestone on Jan 28, 2026
  13. nikoscham commented on Jan 28, 2026

    @nikoscham
    MemberAuthor

    This issue has been removed from the 0.2.0 roadmap and will be scheduled for a later release. Core development is currently focused on adding more models. Quadrilateral element support is sufficient for this stage of development.

  14. added this to the 0.3.0 milestone on Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions