-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
good first issueGood for newcomersGood for newcomerssensorRelated to the sensorsRelated to the sensors
Description
I am not exactly sure what happens in the calculation of the reaction forces, but the current approach seems to be unnecessarily complex.
| computed_force_x = -df.fem.assemble_scalar(df.fem.form(ufl.action(problem.residual, v_reac))) |
Imo, it should be enough to sum up the nodal forces. This can be done on residual.vector.array directly
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomerssensorRelated to the sensorsRelated to the sensors