Skip to content

[FEM] Expand source term integration to non-constant sources and example - #6290

Merged
fredroy merged 20 commits into
sofa-framework:masterfrom
th-skam:sourceTerm-nonconst
Nov 16, 2026
Merged

fredroy merged 20 commits into
sofa-framework:masterfrom
th-skam:sourceTerm-nonconst

Conversation

@th-skam

@th-skam th-skam commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Extension of FEMSourceTermIntegrator to non-constant source terms.

The added scenes replicate existing components (e.g. SurfacePressureForceField) using the new classes.
Red: SurfacePressureForceField, White: PressureSourceTerm.
image

The type of the term Formula User input
Pressure $L_p = \int_{S} \vec{v} \cdot (-p \vec{n}) dS$ The pressure $p$ on the boundary
Stress $L_{\sigma} = \int_{S} \vec{v} \cdot (\sigma \vec{n}) dS$ The stress tensor $\sigma$
Force $L_{t} = \int_{S} \vec{v} \cdot \vec{t} dS$ The force density $t$ directly

[with-all-tests]

[ci-depends-on https://github.com/sofa-framework/Regression/pull/149]

@th-skam th-skam added pr: status to review To notify reviewers to review this pull-request pr: experimental Demonstrate an experimental feature labels Sep 2, 2026
@th-skam th-skam added pr: status wip Development in the pull-request is still in progress pr: based on previous PR PR based on a previous PR, therefore to be merged ONLY subsequently and removed pr: status to review To notify reviewers to review this pull-request labels Sep 14, 2026
@th-skam
th-skam force-pushed the sourceTerm-nonconst branch from 14c9d85 to 7b3ab06 Compare November 6, 2026 09:09
@th-skam th-skam added pr: status to review To notify reviewers to review this pull-request pr: new feature Implement a new feature and removed pr: status wip Development in the pull-request is still in progress pr: experimental Demonstrate an experimental feature pr: based on previous PR PR based on a previous PR, therefore to be merged ONLY subsequently labels Nov 6, 2026
@th-skam th-skam added the pr: AI-aided Label notifying the reviewers that part or all of the PR has been generated with the help of an AI label Nov 6, 2026

@th-skam th-skam left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

To add regression

@th-skam

th-skam commented Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

Added regression references in sofa-framework/Regression#149

@fredroy fredroy added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Nov 16, 2026
@fredroy
fredroy merged commit 3df811b into sofa-framework:master Nov 16, 2026
16 of 17 checks passed
@th-skam
th-skam deleted the sourceTerm-nonconst branch November 16, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: AI-aided Label notifying the reviewers that part or all of the PR has been generated with the help of an AI pr: new feature Implement a new feature pr: status ready Approved a pull-request, ready to be squashed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants