Skip to content

Reaction forces #140

@srosenbu

Description

@srosenbu

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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions