Ok, I explain you what will be my thesis project, I would create a model of the right knee with ligaments and these follow drivers and consequently degree of freedom:
[SIZE=3]
AnyFolder[/SIZE] Joints = {
[SIZE=3]AnyStdJoint[/SIZE] PelvisGround = {
[SIZE=3]AnyRefNode[/SIZE] &ref1 = Main.Model.EnvironmentModel.GlobalRef.Hip;
[SIZE=3]AnyRefNode[/SIZE] &ref2 = Main.HumanModel.BodyModel.Trunk.SegmentsLumbar.PelvisSeg.HipJointRight;
};
};
[SIZE=3]AnyFolder[/SIZE] Drivers = {
[SIZE=3]/// Aliases for convenient referencing
[/SIZE][SIZE=3]AnyFolder[/SIZE] &JntPos=..Mannequin.Posture;
[SIZE=3]AnyFolder[/SIZE] &JntVel=..Mannequin.PostureVel;
[SIZE=3]///Ankle driver
[/SIZE][SIZE=3]AnyKinEqSimpleDriver[/SIZE] AnkleDriverRight={
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref1=...HumanModel.Interface.Right.AnklePlantarFlexion;
DriverPos = pi/180*{.JntPos.Right.AnklePlantarFlexion};
DriverVel=pi/180*{0};
Reaction.Type={Off};
};
[SIZE=3]AnyKinEqSimpleDriver[/SIZE] SubTalarDriverRight={
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref1=...HumanModel.Interface.Right.SubTalarEversion;
DriverPos = pi/180*{.JntPos.Right.SubTalarEversion};
DriverVel=pi/180*{0};
Reaction.Type={Off};
};
[SIZE=3]///Hip driver
[/SIZE][SIZE=3]AnyKinEqSimpleDriver[/SIZE] HipDriverRight={
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref1 =...HumanModel.Interface.Right.HipFlexion;
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref2 =...HumanModel.Interface.Right.HipExternalRotation;
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref3 =...HumanModel.Interface.Right.HipAbduction;
DriverPos = pi/180*{
.JntPos.Right.HipFlexion,
.JntPos.Right.HipExternalRotation,
.JntPos.Right.HipAbduction
};
DriverVel={0,0,0};
Reaction.Type={Off,Off,Off};
};
[SIZE=3]//
[/SIZE]
[SIZE=3]AnyKinEqSimpleDriver[/SIZE] KneeDriverRight={
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref1 =...HumanModel.Interface.Right.KneeFlexion;
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref2 =...HumanModel.Interface.Right.KneeExternalRotation;
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref3 =...HumanModel.Interface.Right.KneeAbduction;
DriverPos = pi/180*{
.JntPos.Right.KneeFlexion,
.JntPos.Right.KneeExternalRotation,
.JntPos.Right.KneeAbduction
};
DriverVel={0.0,0.0,0};
CType = {ForceDep,ForceDep,ForceDep};
Reaction.Type={Off,Off,Off};
};
[SIZE=3]AnyKinEqSimpleDriver[/SIZE] KneeDriverTRight={
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref4 =...HumanModel.Interface.Right.KneeTranslationX;
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref5 =...HumanModel.Interface.Right.KneeTranslationY;
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref6 =...HumanModel.Interface.Right.KneeTranslationZ;
DriverPos =1*{
.JntPos.Right.KneeTranslationX,
.JntPos.Right.KneeTranslationY,
.JntPos.Right.KneeTranslationZ};
DriverVel={0.005,0.005,0.0};
[SIZE=3]// CType = {ForceDep,ForceDep,ForceDep};
[/SIZE]Reaction.Type={Off,Off,Off};
};
[SIZE=3]//Patella driver
[/SIZE][SIZE=3]AnyKinEqSimpleDriver[/SIZE] PatellaDriverRight={
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref1 =...HumanModel.Interface.Right.PatellaFlexion;
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref2 =...HumanModel.Interface.Right.PatellaExternalRotation;
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref3 =...HumanModel.Interface.Right.PatellaAbduction;
DriverPos = pi/180*{
.JntPos.Right.PatellaFlexion,
.JntPos.Right.PatellaExternalRotation,
.JntPos.Right.PatellaAbduction
};
DriverVel={0.40,0.50,0.000000006};
[SIZE=3]// CType = {ForceDep,ForceDep,ForceDep};
[/SIZE]Reaction.Type={Off,Off,Off};
};
[SIZE=3]AnyKinEqSimpleDriver[/SIZE] PatellaDriverTRight={
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref4 =...HumanModel.Interface.Right.PatellaTranslationX;
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref5 =...HumanModel.Interface.Right.PatellaTranslationY;
[SIZE=3]AnyKinMeasureOrg[/SIZE] &ref6 =...HumanModel.Interface.Right.PatellaTranslationZ;
DriverPos = 1*{
.JntPos.Right.PatellaTranslationX,
.JntPos.Right.PatellaTranslationY,
.JntPos.Right.PatellaTranslationZ};
DriverVel={0.000000005,0.000000000050,0.0000000000030};
[SIZE=3]// CType = {ForceDep,ForceDep,ForceDep};
[/SIZE]Reaction.Type={Off,Off,Off};
};
Now the model hasn´t the muscles. For the aim of the project i would investigate what kind of stress will be create in the ligaments of the knee, when I shall aplly force and torque obtained by experimental data in the shank. Am I in a correct way?
I´m sorry but in my departement there isn´t a person that knows AnyBody package so I´m alone to work.
Thanks a lot for your help
Giovanni