Input error

Hi to AnyBody group,

I have posted a file Jointstiffness.any in file section.

Could you please take a look? it gives error. could you please let me
know what is correct to have joint stiffness.
I have used the code from one of your postings.

With best regards.

Natiq

Hi Natiq

I have uploaded a small self-contained model to the SmallExamples folder of
the file section on the group. The filename is “StiffnessInJoint.any” it
should illustrate how to add a spring in a joint.

Best regards

Søren


From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com] On Behalf
Of natiqpervaiz
Sent: 18 March 2008 13:00
To: anyscript@yahoogroups.com
Subject: [AnyScript] Input error

Hi to AnyBody group,

I have posted a file Jointstiffness.any in file section.

Could you please take a look? it gives error. could you please let me
know what is correct to have joint stiffness.
I have used the code from one of your postings.

With best regards.

Natiq

[Non-text portions of this message have been removed]

Hi soren,

Thanks for your kind respone.
I have a small problem in adapting your example. As i wrote earlier
that i wanted to have stiffness in Lumbar spine joints,now according
your example when i applied it to Lumbar spine joint e.g L1L2Jnt and
run the inverse dynamic analysis,i got the following error.

Set Initial Conditions: (Operation: Main.Study.SetInitialConditions):
0) Design variables have been updated.

  1. Load time positions have been re-established.
    ERROR(OBJ.MCH.KIN2) : C:\Dokumente
    Einstellungen\javed\Desktop\Repository.6.1\ARep\Aalborg\StandingModel\StandingMo
    del.Main.any(112)
    : ‘Study’ : Model is kinematically over-constrained : Position
    analysis failed : 1 unsolvable constraint(s) found

What causes it to be over-constrained?

With best regards.

Natiq

— In anyscript@yahoogroups.com, “AnyBody Support” <support@…> wrote:
>
> Hi Natiq
>
>
>
> I have uploaded a small self-contained model to the SmallExamples
folder of
> the file section on the group. The filename is “StiffnessInJoint.any” it
> should illustrate how to add a spring in a joint.
>
>
>
> Best regards
>
> Søren
>
>
>
>
>
> _____
>
> From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com]
On Behalf
> Of natiqpervaiz
> Sent: 18 March 2008 13:00
> To: anyscript@yahoogroups.com
> Subject: [AnyScript] Input error
>
>
>
>
> Hi to AnyBody group,
>
> I have posted a file Jointstiffness.any in file section.
>
> Could you please take a look? it gives error. could you please let me
> know what is correct to have joint stiffness.
> I have used the code from one of your postings.
>
> With best regards.
>
> Natiq
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

Hi Natiq,

In the example file of joint’s stiffness there is a driver, and it
seems that you copied this driver in your model with the rest of the
example code. If you have done that then this is what causes the over-
constrained. This driver is just here to make run the small example,
you already have a driver for the lumbar spine in you model. So the
lines you concretely have to add to your model are the following:

 //some stiffness function dependent on angle values
 AnyFunInterpol Stiffness1={
   T={-20,-10,0,10,20}*pi/180; //Angle values
   Data={{10,5,0,-5,-10}}; //some moment values
   Type=Bspline;
 };


 //adding this stiffness to the joints
 AnyForce spring={
   AnySphericalJoint &ref1=.Jnt;
   F = {.Stiffness1(ref1.Pos[0])[0], .Stiffness1(ref1.Pos[1])

[0], .Stiffness1(ref1.Pos[2])[0] };
};

Then you just have to modify the reference according to the joint you
want to add the stiffness to, and modify the stiffness function
values according to your data.

Best regards,
Sylvain, AnyBody Support.

— In anyscript@yahoogroups.com, “natiqpervaiz” <natiqpervaiz@…>
wrote:
>
> Hi soren,
>
> Thanks for your kind respone.
> I have a small problem in adapting your example. As i wrote earlier
> that i wanted to have stiffness in Lumbar spine joints,now according
> your example when i applied it to Lumbar spine joint e.g L1L2Jnt and
> run the inverse dynamic analysis,i got the following error.
>
> Set Initial Conditions: (Operation:
Main.Study.SetInitialConditions):
> 0) Design variables have been updated.
> 1) Load time positions have been re-established.
> ERROR(OBJ.MCH.KIN2) : C:\Dokumente
> Einstellungen\javed\Desktop\Repository.6.1
\ARep\Aalborg\StandingModel\StandingModel.Main.any(112)
> : ‘Study’ : Model is kinematically over-constrained : Position
> analysis failed : 1 unsolvable constraint(s) found
>
> What causes it to be over-constrained?
>
> With best regards.
>
> Natiq
>
>
>
>
>
>
>
>
>
>
>
>
>
> — In anyscript@yahoogroups.com, “AnyBody Support” <support@>
wrote:
> >
> > Hi Natiq
> >
> >
> >
> > I have uploaded a small self-contained model to the SmallExamples
> folder of
> > the file section on the group. The filename
is “StiffnessInJoint.any” it
> > should illustrate how to add a spring in a joint.
> >
> >
> >
> > Best regards
> >
> > Søren
> >
> >
> >
> >
> >
> > _____
> >
> > From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com]
> On Behalf
> > Of natiqpervaiz
> > Sent: 18 March 2008 13:00
> > To: anyscript@yahoogroups.com
> > Subject: [AnyScript] Input error
> >
> >
> >
> >
> > Hi to AnyBody group,
> >
> > I have posted a file Jointstiffness.any in file section.
> >
> > Could you please take a look? it gives error. could you please
let me
> > know what is correct to have joint stiffness.
> > I have used the code from one of your postings.
> >
> > With best regards.
> >
> > Natiq
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>