It appears that compliance_output does not consider point loads when it is being evaluated here.
I tested it on 2D representation of a cantilever beam, bending in-plane, both with 1 element and 4 elements in the mesh. For both cases, the vec vector remains entirely zero after e.side_external_residual and e.volume_external_residual have been called.
I only started diving into the "output" type source code today, but to me it looks like we'll need a way to determining which node(s) that point load is acting and which element(s) belong to that node. Thenm apply it in a way that the point load doesn't get redundantly included if it acts on a node that is shared by multiple elements.
Do you have any suggestions/thoughts on whats the best/easiest way to include point loads in the compliance output?
It appears that
compliance_outputdoes not consider point loads when it is being evaluated here.I tested it on 2D representation of a cantilever beam, bending in-plane, both with 1 element and 4 elements in the mesh. For both cases, the
vecvector remains entirely zero aftere.side_external_residualande.volume_external_residualhave been called.I only started diving into the "output" type source code today, but to me it looks like we'll need a way to determining which node(s) that point load is acting and which element(s) belong to that node. Thenm apply it in a way that the point load doesn't get redundantly included if it acts on a node that is shared by multiple elements.
Do you have any suggestions/thoughts on whats the best/easiest way to include point loads in the compliance output?