precision-utwente / spalight

Development of a simplifying SPACAR interface
4 stars 4 forks source link

Fx not showing in Spacarlight #6

Open yuitert opened 1 year ago

yuitert commented 1 year ago

Is it possible to also add Fx to the output list of Spacarlight? We are working with contact models, and there it could be valuable to also know the applied forces on the system. I would even think that we should make a Fexternal = fxtot + fx. This shows the forces that act on the system, on the boundaries but also prescribed.

Marijnn commented 1 year ago

Definitely. I can add that without much delay. What about fxgrav? We might add that to your proposed Fexternal as well then. After all, if someone didn't want the gravity forces, it's easy to turn it off.

yuitert commented 1 year ago

Indeed, for most applications it is sufficient to know the net force/torque on a body. However, I expect that there are uses where we want to see one of the individual components. I guess this can be added as an option?

Marijnn commented 1 year ago

So, something like:

And then some optional flag in opt which, when true, to get the separate components:

Would this be good?