BAMresearch / FenicsConcrete

FE model representing the hardening of concrete
MIT License
1 stars 1 forks source link

How/when/where to trigger the computation of the residual #5

Closed eriktamsen closed 1 year ago

eriktamsen commented 2 years ago

Currently the reaction force sensor assumes that a residual is given, which is hard coded in the linear elastic model, as this uses that sensor. This is not a good solution, just temporary and needs to be fixed

TTitscher commented 2 years ago

We had a similar discussion over at fenics-constitive, I remember. The residual needs to be computed anyways, so I suggest having a residual member where the residual is stored before applying the boundary conditions. This is what I tried for dolfinx here.

One way to evaluate it is to pass this vector to a LoadSensor.__init__ and extract the DOF values in __call__.

eriktamsen commented 1 year ago

will be addressed in fenicsXconcrete