Apply external acceleration for the seat model

Hi there,

I am interested to investigate the responses of human body to the external acceleration for the seated human model. The model works, if I set up an acceleration only along the Y axis. However, if I apply a vertical acceleration using the following code in the environment.any, it ends up with an error of "ERROR(OBJ.MCH.KIN3) : R:/a..e/S..e/work/AMMR/A..n/E..s/S..k/SeatedHumanFullWithNeck.main.any(80) : Study.InitialConditions : Kinematic analysis failed in time step 0 : System is kinematically indeterminate"
I guess it is due to the degree of freedom of the entire body, but how should I make sure it's correctly set up.

AnyKinEqSimpleDriver SeatGlobalDrv = {
AnyKinLinear &LinMeasure = ..Jnt.SeatGlobalLinMeasure;
AnyKinRotational &RotMeasure = ..Jnt.SeatGlobalRotMeasure;
MeasureOrganizer = {0,5};
DriverPos = {.DrvPos.SeatGlobalLinXPos,(-90+.DrvPos.SeatGlobalRotZPos)pi/180};
DriverVel = {.DrvVel.SeatGlobalLinXVel,.DrvVel.SeatGlobalRotZVel
DriverAcc = {1,0};
Reaction.Type = {On,On};

Any insights would be greatly appreciated. Thanks.


Hi @shengqingnanque

The error you are getting is because the model is unconstrained when you alter the MeasureOrganizer parameter. By default this driver constrains the first and fift ({1,5}) measure and that is the linear y component and rotation around the z axis. When you change it to be the linear x component you need something else to constrain the y direction. Furthermore, there is another driver that already constrains the x component and you will need to change that as well.

Since you want to simulate external accelerations there are other options for you.
You can alter the gravity vector for the collective center of mass as described here Multiple Gravity Vectors - #4 by laozilaozi

Or you can use a moving reference frame to simulate it. It is a bit tricky but I think this will give you the best result. You can practically simulate a roller coaster ride with it. I uploaded our demo model on how to do it and i hope this will help you move on. It might be worthwhile to start with a simpler model than the SeatedHumanFullNeck there are a lot of constraints and parts to keep track on in that. (971 Bytes)

Best regards,
AnyBody Technology

Hi Bjørn,

Thank you so much for the information. I will work on it.