Skip to content

2D validation: SOFA vs FreeFEM comparison for distributed load beam#34

Merged
th-skam merged 1 commit into
main-freefem-sofafrom
2D-validation
Jul 16, 2026
Merged

2D validation: SOFA vs FreeFEM comparison for distributed load beam#34
th-skam merged 1 commit into
main-freefem-sofafrom
2D-validation

Conversation

@Fimache

@Fimache Fimache commented Jul 16, 2026

Copy link
Copy Markdown

Summary

Adds a 2D validation pipeline for a cantilever beam under distributed load,
cross-comparing SOFA and FreeFEM++, following the
same structure established for the 1D validation.

  • beam2d_tri.msh: triangular mesh for the 2D beam geometry
  • freefem_beam2d_distributed.edp: FreeFEM++ script solving the distributed-load
    beam problem
  • sofa_beam2d_distributed.py: SOFA scene running the equivalent case for comparison
  • comparaison_script_2d.py: three-way comparison script (SOFA / FreeFEM / analytical)
  • params_beam2d_distributed.json: shared configuration parameters

@th-skam th-skam left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test checks out

Image

To note for future: FreeFEM cannot be passed coordinates; must read it from a file (.msh).

@th-skam
th-skam merged commit 89de1a7 into main-freefem-sofa Jul 16, 2026
1 of 2 checks passed
@th-skam
th-skam deleted the 2D-validation branch July 16, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants