-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
In the PR #39 we add Neumann BC to two identical muscles. The direction of those BC point in opposite directions, which also means that the BC are anchored on opposite sides/faces of the muscles. To set up those BC we have the following code:
elasticity_neumann_bc_1 = [{"element": (variables.el_z-1)*variables.el_x*variables.el_y + i*variables.el_y + j, "constantVector": traction_vector, "face": "2+", "isInReferenceConfiguration": True} for i in range(variables.el_x) for j in range(variables.el_y)]
elasticity_neumann_bc_2 = [{"element": j*variables.el_x + i, "constantVector": traction_vector, "face": "2+", "isInReferenceConfiguration": True} for i in range(variables.el_x) for j in range(variables.el_y)]
In particular, we use "face": "2+" in both BC, even though one should be "face": "2+" and the other one "face": "2-", because they act on opposite sides. But if we do that, the muscles behave unexpectedly and move very inconsistently. With both BC using "face": "2+", the muscles behave exactly how we expect them to behave.
Why is that? Are our expectations wrong? Are there two errors in the setup that cancel each other out?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels