Muscle Data

Hallo Everybody,

I want to use the calculated muscle forces from Anybody to load my FEM
Model in Ansys. As I already know there is now interface to transfer
the data, so I have to do it manuel. But where can I find the
geometrical parameters of the muscle, e.g. insertion coordinates and
angle of muscles in the different time steps during movement?
I only know that you used the ISB coordinate system…

What are the main sizes of the femur used in the model?

What is the total body weigth/mass of the gait3D model (in the file
AnyMAN I found 64,9kg - but isn’t that very low?) and for the Free
posturemove model?

Thanks and best regards

Thomas

Hi Thomas

There is actually an interface from AnyBody to ANSYS, for details about this
please see message #1413 from 03/08/2007, this message explains more about
this.

There will also be a webcast 5/12 about this subject, please see

http://www.anybodytech.com/633.0.html#c669

If you prefer to do this “manually” I will try to list the things to be
done, in order to read out the variables you will need:

Each muscle has a an insertation and origin point, the “r” values of these
nodes are their position in global coordinates it is updated for each
timestep

So a variable like for example:

Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.r’

gives the global position of this node. If you would like to have it in the
coordinate system of the thigh the variable is :

Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.sRel’ (this
number will not change in time)

In the definition of each of the muscles you will find a variable reference
variables like Org, Via and Ins these are references to the origin, via and
insertation nodes used by this muscle. So instead of the variables above
you could also get acces to the positions of these node by writing

Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.r or

Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.sRel;

I would recommend creating and AnyOutPutfile and list these variables there,
then will be added as output.

Similarly you can also have the muscles forces added in this output file.

The muscle angles you will not be able to get out as a direct output, these
has to be calculated based on the location of the origin, via and
insertation points.

The sizes of the UNSCALED bones can always be found in the file like
/leg3d/StandardParamters.any all body parts has such a file. If the bone is
scaled these numbers are to be found in file like AnyMan.any of the Gait3D
model.

Concerning the coordinate system of the bones in the leg it is true that
they follow ISB, If you create the line

AnyDrawRefFrame drw={};

In the root folder of for example the Thigh segment, it will display the
location of the coordinate system.

The mass of the subject in the Gait3D model is rather low, but it is
according to the subject where the data originates from.

So it is possible to get the output you need out from the model, but it
requires that you manually create an output file for this.

I hope this helps you move on, otherwise please write again

Best regards

Søren


From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com] On Behalf
Of knox40
Sent: 21 November 2007 11:06
To: anyscript@yahoogroups.com
Subject: [AnyScript] Muscle Data

Hallo Everybody,

I want to use the calculated muscle forces from Anybody to load my FEM
Model in Ansys. As I already know there is now interface to transfer
the data, so I have to do it manuel. But where can I find the
geometrical parameters of the muscle, e.g. insertion coordinates and
angle of muscles in the different time steps during movement?
I only know that you used the ISB coordinate system…

What are the main sizes of the femur used in the model?

What is the total body weigth/mass of the gait3D model (in the file
AnyMAN I found 64,9kg - but isn’t that very low?) and for the Free
posturemove model?

Thanks and best regards

Thomas

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

Hi Søren,

thank you for your answer.

So I will do it by writing an AnyOutputFile.

As I found no example how to record to AnyOutputFile, can you give
me an short instruction how to record data to AnyOutputFile. Must I
do first a KinematicMeasure and record it to this File?

Finally I need the muscle angles in the femur coordinate system
(sRel)but you said it isn’t possible to record the vector of origin-
insertion during time. So I can only record in global coordinate
system where the femur also changes position and angle during time?
I think this will make it somewhat more complicated as I must do
twice a calculation of rotation and translation in each time step
(to get the femur coordinate system and to get the muscle angle).

There is no easier way to get this data?

Best regards,

Thomas

— In anyscript@yahoogroups.com, “AnyBody Support” <support@…>
wrote:
>
> Hi Thomas
>
>
>
> There is actually an interface from AnyBody to ANSYS, for details
about this
> please see message #1413 from 03/08/2007, this message explains
more about
> this.
>
>
>
> There will also be a webcast 5/12 about this subject, please see
>
> http://www.anybodytech.com/633.0.html#c669
>
>
>
> If you prefer to do this “manually” I will try to list the things
to be
> done, in order to read out the variables you will need:
>
>
>
> Each muscle has a an insertation and origin point, the “r” values
of these
> nodes are their position in global coordinates it is updated for
each
> timestep
>
> So a variable like for example:
>
> Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.r’
>
> gives the global position of this node. If you would like to have
it in the
> coordinate system of the thigh the variable is :
>
> Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.sRel’
(this
> number will not change in time)
>
>
>
> In the definition of each of the muscles you will find a variable
reference
> variables like Org, Via and Ins these are references to the
origin, via and
> insertation nodes used by this muscle. So instead of the
variables above
> you could also get acces to the positions of these node by writing
>
> Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.r
or
>
>
Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.sRel;
>
>
>
> I would recommend creating and AnyOutPutfile and list these
variables there,
> then will be added as output.
>
> Similarly you can also have the muscles forces added in this
output file.
>
>
>
> The muscle angles you will not be able to get out as a direct
output, these
> has to be calculated based on the location of the origin, via and
> insertation points.
>
>
>
> The sizes of the UNSCALED bones can always be found in the file
like
> /leg3d/StandardParamters.any all body parts has such a file. If
the bone is
> scaled these numbers are to be found in file like AnyMan.any of
the Gait3D
> model.
>
>
>
> Concerning the coordinate system of the bones in the leg it is
true that
> they follow ISB, If you create the line
>
> AnyDrawRefFrame drw={};
>
> In the root folder of for example the Thigh segment, it will
display the
> location of the coordinate system.
>
>
>
> The mass of the subject in the Gait3D model is rather low, but it
is
> according to the subject where the data originates from.
>
>
>
> So it is possible to get the output you need out from the model,
but it
> requires that you manually create an output file for this.
>
>
>
> I hope this helps you move on, otherwise please write again
>
>
>
> Best regards
>
> Søren
>
>
>
>
>
>
>
>
>
> _____
>
> From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com]
On Behalf
> Of knox40
> Sent: 21 November 2007 11:06
> To: anyscript@yahoogroups.com
> Subject: [AnyScript] Muscle Data
>
>
>
> Hallo Everybody,
>
> I want to use the calculated muscle forces from Anybody to load my
FEM
> Model in Ansys. As I already know there is now interface to
transfer
> the data, so I have to do it manuel. But where can I find the
> geometrical parameters of the muscle, e.g. insertion coordinates
and
> angle of muscles in the different time steps during movement?
> I only know that you used the ISB coordinate system…
>
> What are the main sizes of the femur used in the model?
>
> What is the total body weigth/mass of the gait3D model (in the
file
> AnyMAN I found 64,9kg - but isn’t that very low?) and for the Free
> posturemove model?
>
> Thanks and best regards
>
> Thomas
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

Hi Thomas

The AnyOutputFile object will create a text file with the output from the
variables listed in the object, so it may look like:

AnyOutputFile Output ={

   FileName ="Data.txt";

   //muscle insertation points in global coordinates

   AnyVec3 MuscleInsertation=.Model.mus1.ins.r;

   AnyVec3 MuscleOrigin=.Model.mus1.org.r;

};

In this example the variables are just the muscle insertation and origins in
global coordinates, no extra kinematic measures was needed. Typicall this
object is included into the Study folder.

I have created a small example illustrating how to create the output you
request, is has been uploaded to the SmallExamples folder and is named
OutPutFE.any.

It is a model with one segment and two muscles and it produces an output
file which contains a force vector for each muscles. The force vector is
given in the local coordinate system of the segment.

I hope this solves your problem, otherwise please write again.

Best regards

Søren, AnyBody Support


From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com] On Behalf
Of knox40
Sent: 27 November 2007 15:48
To: anyscript@yahoogroups.com
Subject: [AnyScript] Re: Muscle Data

Hi Søren,

thank you for your answer.

So I will do it by writing an AnyOutputFile.

As I found no example how to record to AnyOutputFile, can you give
me an short instruction how to record data to AnyOutputFile. Must I
do first a KinematicMeasure and record it to this File?

Finally I need the muscle angles in the femur coordinate system
(sRel)but you said it isn’t possible to record the vector of origin-
insertion during time. So I can only record in global coordinate
system where the femur also changes position and angle during time?
I think this will make it somewhat more complicated as I must do
twice a calculation of rotation and translation in each time step
(to get the femur coordinate system and to get the muscle angle).

There is no easier way to get this data?

Best regards,

Thomas

— In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com,
“AnyBody Support” <support@…>
wrote:
>
> Hi Thomas
>
>
>
> There is actually an interface from AnyBody to ANSYS, for details
about this
> please see message #1413 from 03/08/2007, this message explains
more about
> this.
>
>
>
> There will also be a webcast 5/12 about this subject, please see
>
> http://www.anybodyt <http://www.anybodytech.com/633.0.html#c669>
ech.com/633.0.html#c669
>
>
>
> If you prefer to do this “manually” I will try to list the things
to be
> done, in order to read out the variables you will need:
>
>
>
> Each muscle has a an insertation and origin point, the “r” values
of these
> nodes are their position in global coordinates it is updated for
each
> timestep
>
> So a variable like for example:
>
> Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.r’
>
> gives the global position of this node. If you would like to have
it in the
> coordinate system of the thigh the variable is :
>
> Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.sRel’
(this
> number will not change in time)
>
>
>
> In the definition of each of the muscles you will find a variable
reference
> variables like Org, Via and Ins these are references to the
origin, via and
> insertation nodes used by this muscle. So instead of the
variables above
> you could also get acces to the positions of these node by writing
>
> Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.r
or
>
>
Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.sRel;
>
>
>
> I would recommend creating and AnyOutPutfile and list these
variables there,
> then will be added as output.
>
> Similarly you can also have the muscles forces added in this
output file.
>
>
>
> The muscle angles you will not be able to get out as a direct
output, these
> has to be calculated based on the location of the origin, via and
> insertation points.
>
>
>
> The sizes of the UNSCALED bones can always be found in the file
like
> /leg3d/StandardParamters.any all body parts has such a file. If
the bone is
> scaled these numbers are to be found in file like AnyMan.any of
the Gait3D
> model.
>
>
>
> Concerning the coordinate system of the bones in the leg it is
true that
> they follow ISB, If you create the line
>
> AnyDrawRefFrame drw={};
>
> In the root folder of for example the Thigh segment, it will
display the
> location of the coordinate system.
>
>
>
> The mass of the subject in the Gait3D model is rather low, but it
is
> according to the subject where the data originates from.
>
>
>
> So it is possible to get the output you need out from the model,
but it
> requires that you manually create an output file for this.
>
>
>
> I hope this helps you move on, otherwise please write again
>
>
>
> Best regards
>
> Søren
>
>
>
>
>
>
>
>
>
> _____
>
> From: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
[mailto:anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com]
On Behalf
> Of knox40
> Sent: 21 November 2007 11:06
> To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
> Subject: [AnyScript] Muscle Data
>
>
>
> Hallo Everybody,
>
> I want to use the calculated muscle forces from Anybody to load my
FEM
> Model in Ansys. As I already know there is now interface to
transfer
> the data, so I have to do it manuel. But where can I find the
> geometrical parameters of the muscle, e.g. insertion coordinates
and
> angle of muscles in the different time steps during movement?
> I only know that you used the ISB coordinate system…
>
> What are the main sizes of the femur used in the model?
>
> What is the total body weigth/mass of the gait3D model (in the
file
> AnyMAN I found 64,9kg - but isn’t that very low?) and for the Free
> posturemove model?
>
> Thanks and best regards
>
> Thomas
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

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

Hi Søren,

thank you, the small example was very helpfull.

But what if there is a muscle via point, e.g. the Vastus Lateralis.
For example the muscle fibre comes form the upper part of the femur
to another insertion point of the femur. From this insertation point
it goes then to the shank. So on this point there are two muscle
fibres leaving the femur:
one to the upper part of the femur and another one to the shank.
Am I measuring then the resultant force of these two forces on the
femurpoint with this formula:?

AnyForceMomentMeasure VastusLat1Measure ={
     AnyRefNode &ref1=

Main.Model.HumanModel.Right.Leg.Seg.Thigh.VastusLateralisNode;
AnyViaPointMuscle &mus =
Main.Model.HumanModel.Right.Leg.Mus.VastusLateralis;
};

Best regards,
Thomas Thielen

— In anyscript@yahoogroups.com, “AnyBody Support” <support@…>
wrote:
>
> Hi Thomas
>
>
>
> The AnyOutputFile object will create a text file with the output
from the
> variables listed in the object, so it may look like:
>
>
>
> AnyOutputFile Output ={
>
> FileName =“Data.txt”;
>
> //muscle insertation points in global coordinates
>
> AnyVec3 MuscleInsertation=.Model.mus1.ins.r;
>
> AnyVec3 MuscleOrigin=.Model.mus1.org.r;
>
> };
>
>
>
> In this example the variables are just the muscle insertation and
origins in
> global coordinates, no extra kinematic measures was needed.
Typicall this
> object is included into the Study folder.
>
>
>
> I have created a small example illustrating how to create the
output you
> request, is has been uploaded to the SmallExamples folder and is
named
> OutPutFE.any.
>
>
>
> It is a model with one segment and two muscles and it produces an
output
> file which contains a force vector for each muscles. The force
vector is
> given in the local coordinate system of the segment.
>
>
>
> I hope this solves your problem, otherwise please write again.
>
>
>
> Best regards
>
> Søren, AnyBody Support
>
>
>
>
>
>
>
> _____
>
> From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com]
On Behalf
> Of knox40
> Sent: 27 November 2007 15:48
> To: anyscript@yahoogroups.com
> Subject: [AnyScript] Re: Muscle Data
>
>
>
> Hi Søren,
>
> thank you for your answer.
>
> So I will do it by writing an AnyOutputFile.
>
> As I found no example how to record to AnyOutputFile, can you give
> me an short instruction how to record data to AnyOutputFile. Must
I
> do first a KinematicMeasure and record it to this File?
>
> Finally I need the muscle angles in the femur coordinate system
> (sRel)but you said it isn’t possible to record the vector of
origin-
> insertion during time. So I can only record in global coordinate
> system where the femur also changes position and angle during
time?
> I think this will make it somewhat more complicated as I must do
> twice a calculation of rotation and translation in each time step
> (to get the femur coordinate system and to get the muscle angle).
>
> There is no easier way to get this data?
>
> Best regards,
>
> Thomas
>
> — In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com,
> “AnyBody Support” <support@>
> wrote:
> >
> > Hi Thomas
> >
> >
> >
> > There is actually an interface from AnyBody to ANSYS, for
details
> about this
> > please see message #1413 from 03/08/2007, this message explains
> more about
> > this.
> >
> >
> >
> > There will also be a webcast 5/12 about this subject, please see
> >
> > http://www.anybodyt <http://www.anybodytech.com/633.0.html#c669>
> ech.com/633.0.html#c669
> >
> >
> >
> > If you prefer to do this “manually” I will try to list the
things
> to be
> > done, in order to read out the variables you will need:
> >
> >
> >
> > Each muscle has a an insertation and origin point, the “r”
values
> of these
> > nodes are their position in global coordinates it is updated for
> each
> > timestep
> >
> > So a variable like for example:
> >
> > Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.r’
> >
> > gives the global position of this node. If you would like to
have
> it in the
> > coordinate system of the thigh the variable is :
> >
> >
Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.sRel’
> (this
> > number will not change in time)
> >
> >
> >
> > In the definition of each of the muscles you will find a
variable
> reference
> > variables like Org, Via and Ins these are references to the
> origin, via and
> > insertation nodes used by this muscle. So instead of the
> variables above
> > you could also get acces to the positions of these node by
writing
> >
> >
Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.r
> or
> >
> >
>
Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.sRel;
> >
> >
> >
> > I would recommend creating and AnyOutPutfile and list these
> variables there,
> > then will be added as output.
> >
> > Similarly you can also have the muscles forces added in this
> output file.
> >
> >
> >
> > The muscle angles you will not be able to get out as a direct
> output, these
> > has to be calculated based on the location of the origin, via and
> > insertation points.
> >
> >
> >
> > The sizes of the UNSCALED bones can always be found in the file
> like
> > /leg3d/StandardParamters.any all body parts has such a file. If
> the bone is
> > scaled these numbers are to be found in file like AnyMan.any of
> the Gait3D
> > model.
> >
> >
> >
> > Concerning the coordinate system of the bones in the leg it is
> true that
> > they follow ISB, If you create the line
> >
> > AnyDrawRefFrame drw={};
> >
> > In the root folder of for example the Thigh segment, it will
> display the
> > location of the coordinate system.
> >
> >
> >
> > The mass of the subject in the Gait3D model is rather low, but
it
> is
> > according to the subject where the data originates from.
> >
> >
> >
> > So it is possible to get the output you need out from the model,
> but it
> > requires that you manually create an output file for this.
> >
> >
> >
> > I hope this helps you move on, otherwise please write again
> >
> >
> >
> > Best regards
> >
> > Søren
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > _____
> >
> > From: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com
> [mailto:anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com]
> On Behalf
> > Of knox40
> > Sent: 21 November 2007 11:06
> > To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com
> > Subject: [AnyScript] Muscle Data
> >
> >
> >
> > Hallo Everybody,
> >
> > I want to use the calculated muscle forces from Anybody to load
my
> FEM
> > Model in Ansys. As I already know there is now interface to
> transfer
> > the data, so I have to do it manuel. But where can I find the
> > geometrical parameters of the muscle, e.g. insertion coordinates
> and
> > angle of muscles in the different time steps during movement?
> > I only know that you used the ISB coordinate system…
> >
> > What are the main sizes of the femur used in the model?
> >
> > What is the total body weigth/mass of the gait3D model (in the
> file
> > AnyMAN I found 64,9kg - but isn’t that very low?) and for the
Free
> > posturemove model?
> >
> > Thanks and best regards
> >
> > Thomas
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

Hi Thomas

Your script should work ok, it will take into account both parts of the
muscles.

Best regards

Søren


From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com] On Behalf
Of knox40
Sent: 04 December 2007 09:12
To: anyscript@yahoogroups.com
Subject: [AnyScript] Re: Muscle Data

Hi Søren,

thank you, the small example was very helpfull.

But what if there is a muscle via point, e.g. the Vastus Lateralis.
For example the muscle fibre comes form the upper part of the femur
to another insertion point of the femur. From this insertation point
it goes then to the shank. So on this point there are two muscle
fibres leaving the femur:
one to the upper part of the femur and another one to the shank.
Am I measuring then the resultant force of these two forces on the
femurpoint with this formula:?

AnyForceMomentMeasure VastusLat1Measure ={
AnyRefNode &ref1=
Main.Model.HumanModel.Right.Leg.Seg.Thigh.VastusLateralisNode;
AnyViaPointMuscle &mus =
Main.Model.HumanModel.Right.Leg.Mus.VastusLateralis;
};

Best regards,
Thomas Thielen

— In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com,
“AnyBody Support” <support@…>
wrote:
>
> Hi Thomas
>
>
>
> The AnyOutputFile object will create a text file with the output
from the
> variables listed in the object, so it may look like:
>
>
>
> AnyOutputFile Output ={
>
> FileName =“Data.txt”;
>
> //muscle insertation points in global coordinates
>
> AnyVec3 MuscleInsertation=.Model.mus1.ins.r;
>
> AnyVec3 MuscleOrigin=.Model.mus1.org.r;
>
> };
>
>
>
> In this example the variables are just the muscle insertation and
origins in
> global coordinates, no extra kinematic measures was needed.
Typicall this
> object is included into the Study folder.
>
>
>
> I have created a small example illustrating how to create the
output you
> request, is has been uploaded to the SmallExamples folder and is
named
> OutPutFE.any.
>
>
>
> It is a model with one segment and two muscles and it produces an
output
> file which contains a force vector for each muscles. The force
vector is
> given in the local coordinate system of the segment.
>
>
>
> I hope this solves your problem, otherwise please write again.
>
>
>
> Best regards
>
> Søren, AnyBody Support
>
>
>
>
>
>
>
> _____
>
> From: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
[mailto:anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com]
On Behalf
> Of knox40
> Sent: 27 November 2007 15:48
> To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
> Subject: [AnyScript] Re: Muscle Data
>
>
>
> Hi Søren,
>
> thank you for your answer.
>
> So I will do it by writing an AnyOutputFile.
>
> As I found no example how to record to AnyOutputFile, can you give
> me an short instruction how to record data to AnyOutputFile. Must
I
> do first a KinematicMeasure and record it to this File?
>
> Finally I need the muscle angles in the femur coordinate system
> (sRel)but you said it isn’t possible to record the vector of
origin-
> insertion during time. So I can only record in global coordinate
> system where the femur also changes position and angle during
time?
> I think this will make it somewhat more complicated as I must do
> twice a calculation of rotation and translation in each time step
> (to get the femur coordinate system and to get the muscle angle).
>
> There is no easier way to get this data?
>
> Best regards,
>
> Thomas
>
> — In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com,
> “AnyBody Support” <support@>
> wrote:
> >
> > Hi Thomas
> >
> >
> >
> > There is actually an interface from AnyBody to ANSYS, for
details
> about this
> > please see message #1413 from 03/08/2007, this message explains
> more about
> > this.
> >
> >
> >
> > There will also be a webcast 5/12 about this subject, please see
> >
> > http://www.anybodyt <http://www.anybodyt
<http://www.anybodytech.com/633.0.html#c669> ech.com/633.0.html#c669>
> ech.com/633.0.html#c669
> >
> >
> >
> > If you prefer to do this “manually” I will try to list the
things
> to be
> > done, in order to read out the variables you will need:
> >
> >
> >
> > Each muscle has a an insertation and origin point, the “r”
values
> of these
> > nodes are their position in global coordinates it is updated for
> each
> > timestep
> >
> > So a variable like for example:
> >
> > Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.r’
> >
> > gives the global position of this node. If you would like to
have
> it in the
> > coordinate system of the thigh the variable is :
> >
> >
Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.sRel’
> (this
> > number will not change in time)
> >
> >
> >
> > In the definition of each of the muscles you will find a
variable
> reference
> > variables like Org, Via and Ins these are references to the
> origin, via and
> > insertation nodes used by this muscle. So instead of the
> variables above
> > you could also get acces to the positions of these node by
writing
> >
> >
Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.r
> or
> >
> >
>
Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.sRel;
> >
> >
> >
> > I would recommend creating and AnyOutPutfile and list these
> variables there,
> > then will be added as output.
> >
> > Similarly you can also have the muscles forces added in this
> output file.
> >
> >
> >
> > The muscle angles you will not be able to get out as a direct
> output, these
> > has to be calculated based on the location of the origin, via and
> > insertation points.
> >
> >
> >
> > The sizes of the UNSCALED bones can always be found in the file
> like
> > /leg3d/StandardParamters.any all body parts has such a file. If
> the bone is
> > scaled these numbers are to be found in file like AnyMan.any of
> the Gait3D
> > model.
> >
> >
> >
> > Concerning the coordinate system of the bones in the leg it is
> true that
> > they follow ISB, If you create the line
> >
> > AnyDrawRefFrame drw={};
> >
> > In the root folder of for example the Thigh segment, it will
> display the
> > location of the coordinate system.
> >
> >
> >
> > The mass of the subject in the Gait3D model is rather low, but
it
> is
> > according to the subject where the data originates from.
> >
> >
> >
> > So it is possible to get the output you need out from the model,
> but it
> > requires that you manually create an output file for this.
> >
> >
> >
> > I hope this helps you move on, otherwise please write again
> >
> >
> >
> > Best regards
> >
> > Søren
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > _____
> >
> > From: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com
> [mailto:anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com]
> On Behalf
> > Of knox40
> > Sent: 21 November 2007 11:06
> > To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com
> > Subject: [AnyScript] Muscle Data
> >
> >
> >
> > Hallo Everybody,
> >
> > I want to use the calculated muscle forces from Anybody to load
my
> FEM
> > Model in Ansys. As I already know there is now interface to
> transfer
> > the data, so I have to do it manuel. But where can I find the
> > geometrical parameters of the muscle, e.g. insertion coordinates
> and
> > angle of muscles in the different time steps during movement?
> > I only know that you used the ISB coordinate system…
> >
> > What are the main sizes of the femur used in the model?
> >
> > What is the total body weigth/mass of the gait3D model (in the
> file
> > AnyMAN I found 64,9kg - but isn’t that very low?) and for the
Free
> > posturemove model?
> >
> > Thanks and best regards
> >
> > Thomas
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

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

Hi,

This is a bit of an old thread, but I have a similar question and I am not sure
the solution
was ever fully resolved.

I would like to extract the [x,y,z] force vector that are applied at each
segment node for a
particular via point muscle. To make this generic, lets assume the muscle has 3
via points:
an insertion, viapoint, and origin.

For the specific case where the muscle does not have a via point, the code
block:

AnyForceMomentMeasure someForceMeasure ={
AnyRefNode &ref1=
Segment.SomeInsertionNode; //Or some origin node, but not a via node
AnyViaPointMuscle &mus =
Muscle.SomeViaPointMuscle;
};

works fine, and someForceMeasure.F returns the force I care about in global
coordinates.
I have tested this and seems to work fine. However, if there is a via point,
and I only want
the force applied by the muscle at that via point (and no other points) the code
does not
seem to be applicable (as per previous posts, see below). Is my interpretation
correct? If
so, what code block (hopefully very similar to the one above) should I be using
if I do not
want to take into account both parts of the muscle together, but separately? I
would like
something that looks like:

AnyForceMomentMeasure someForceMeasure_ORIGINNODE ={
AnyRefNode &ref1=
Segment.SomeInsertionNode; //Or some origin node, but not a via node
AnyViaPointMuscle &mus =
Muscle.SomeViaPointMuscle;
};

AnyForceMomentMeasure someForceMeasure_VIAPOINTNODE ={
AnyRefNode &ref1=
Segment.SomeViaPointNode;
AnyViaPointMuscle &mus =
Muscle.SomeViaPointMuscle;
};

AnyForceMomentMeasure someForceMeasure_INSERTIONNODE ={
AnyRefNode &ref1=
Segment.SomeInsertionNode;
AnyViaPointMuscle &mus =
Muscle.SomeViaPointMuscle;
};

Thank you in advance.

-David

— In anyscript@yahoogroups.com, “AnyBody Support” <support@…> wrote:
>
> Hi Thomas
>
>
>
> Your script should work ok, it will take into account both parts of the
> muscles.
>
>
>
> Best regards
>
> Søren
>
> _____
>
> From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com] On Behalf
> Of knox40
> Sent: 04 December 2007 09:12
> To: anyscript@yahoogroups.com
> Subject: [AnyScript] Re: Muscle Data
>
>
>
> Hi Søren,
>
> thank you, the small example was very helpfull.
>
> But what if there is a muscle via point, e.g. the Vastus Lateralis.
> For example the muscle fibre comes form the upper part of the femur
> to another insertion point of the femur. From this insertation point
> it goes then to the shank. So on this point there are two muscle
> fibres leaving the femur:
> one to the upper part of the femur and another one to the shank.
> Am I measuring then the resultant force of these two forces on the
> femurpoint with this formula:?
>
> AnyForceMomentMeasure VastusLat1Measure ={
> AnyRefNode &ref1=
> Main.Model.HumanModel.Right.Leg.Seg.Thigh.VastusLateralisNode;
> AnyViaPointMuscle &mus =
> Main.Model.HumanModel.Right.Leg.Mus.VastusLateralis;
> };
>
> Best regards,
> Thomas Thielen
>
> — In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com,
> “AnyBody Support” <support@>
> wrote:
> >
> > Hi Thomas
> >
> >
> >
> > The AnyOutputFile object will create a text file with the output
> from the
> > variables listed in the object, so it may look like:
> >
> >
> >
> > AnyOutputFile Output ={
> >
> > FileName =“Data.txt”;
> >
> > //muscle insertation points in global coordinates
> >
> > AnyVec3 MuscleInsertation=.Model.mus1.ins.r;
> >
> > AnyVec3 MuscleOrigin=.Model.mus1.org.r;
> >
> > };
> >
> >
> >
> > In this example the variables are just the muscle insertation and
> origins in
> > global coordinates, no extra kinematic measures was needed.
> Typicall this
> > object is included into the Study folder.
> >
> >
> >
> > I have created a small example illustrating how to create the
> output you
> > request, is has been uploaded to the SmallExamples folder and is
> named
> > OutPutFE.any.
> >
> >
> >
> > It is a model with one segment and two muscles and it produces an
> output
> > file which contains a force vector for each muscles. The force
> vector is
> > given in the local coordinate system of the segment.
> >
> >
> >
> > I hope this solves your problem, otherwise please write again.
> >
> >
> >
> > Best regards
> >
> > Søren, AnyBody Support
> >
> >
> >
> >
> >
> >
> >
> > _____
> >
> > From: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
> [mailto:anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com]
> On Behalf
> > Of knox40
> > Sent: 27 November 2007 15:48
> > To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
> > Subject: [AnyScript] Re: Muscle Data
> >
> >
> >
> > Hi Søren,
> >
> > thank you for your answer.
> >
> > So I will do it by writing an AnyOutputFile.
> >
> > As I found no example how to record to AnyOutputFile, can you give
> > me an short instruction how to record data to AnyOutputFile. Must
> I
> > do first a KinematicMeasure and record it to this File?
> >
> > Finally I need the muscle angles in the femur coordinate system
> > (sRel)but you said it isn’t possible to record the vector of
> origin-
> > insertion during time. So I can only record in global coordinate
> > system where the femur also changes position and angle during
> time?
> > I think this will make it somewhat more complicated as I must do
> > twice a calculation of rotation and translation in each time step
> > (to get the femur coordinate system and to get the muscle angle).
> >
> > There is no easier way to get this data?
> >
> > Best regards,
> >
> > Thomas
> >
> > — In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
> ps.com,
> > “AnyBody Support” <support@>
> > wrote:
> > >
> > > Hi Thomas
> > >
> > >
> > >
> > > There is actually an interface from AnyBody to ANSYS, for
> details
> > about this
> > > please see message #1413 from 03/08/2007, this message explains
> > more about
> > > this.
> > >
> > >
> > >
> > > There will also be a webcast 5/12 about this subject, please see
> > >
> > > http://www.anybodyt <http://www.anybodyt
> <http://www.anybodytech.com/633.0.html#c669> ech.com/633.0.html#c669>
> > ech.com/633.0.html#c669
> > >
> > >
> > >
> > > If you prefer to do this “manually” I will try to list the
> things
> > to be
> > > done, in order to read out the variables you will need:
> > >
> > >
> > >
> > > Each muscle has a an insertation and origin point, the “r”
> values
> > of these
> > > nodes are their position in global coordinates it is updated for
> > each
> > > timestep
> > >
> > > So a variable like for example:
> > >
> > > Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.r’
> > >
> > > gives the global position of this node. If you would like to
> have
> > it in the
> > > coordinate system of the thigh the variable is :
> > >
> > >
> Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.sRel’
> > (this
> > > number will not change in time)
> > >
> > >
> > >
> > > In the definition of each of the muscles you will find a
> variable
> > reference
> > > variables like Org, Via and Ins these are references to the
> > origin, via and
> > > insertation nodes used by this muscle. So instead of the
> > variables above
> > > you could also get acces to the positions of these node by
> writing
> > >
> > >
> Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.r
> > or
> > >
> > >
> >
> Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.sRel;
> > >
> > >
> > >
> > > I would recommend creating and AnyOutPutfile and list these
> > variables there,
> > > then will be added as output.
> > >
> > > Similarly you can also have the muscles forces added in this
> > output file.
> > >
> > >
> > >
> > > The muscle angles you will not be able to get out as a direct
> > output, these
> > > has to be calculated based on the location of the origin, via and
> > > insertation points.
> > >
> > >
> > >
> > > The sizes of the UNSCALED bones can always be found in the file
> > like
> > > /leg3d/StandardParamters.any all body parts has such a file. If
> > the bone is
> > > scaled these numbers are to be found in file like AnyMan.any of
> > the Gait3D
> > > model.
> > >
> > >
> > >
> > > Concerning the coordinate system of the bones in the leg it is
> > true that
> > > they follow ISB, If you create the line
> > >
> > > AnyDrawRefFrame drw={};
> > >
> > > In the root folder of for example the Thigh segment, it will
> > display the
> > > location of the coordinate system.
> > >
> > >
> > >
> > > The mass of the subject in the Gait3D model is rather low, but
> it
> > is
> > > according to the subject where the data originates from.
> > >
> > >
> > >
> > > So it is possible to get the output you need out from the model,
> > but it
> > > requires that you manually create an output file for this.
> > >
> > >
> > >
> > > I hope this helps you move on, otherwise please write again
> > >
> > >
> > >
> > > Best regards
> > >
> > > Søren
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > _____
> > >
> > > From: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
> ps.com
> > [mailto:anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
> ps.com]
> > On Behalf
> > > Of knox40
> > > Sent: 21 November 2007 11:06
> > > To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
> ps.com
> > > Subject: [AnyScript] Muscle Data
> > >
> > >
> > >
> > > Hallo Everybody,
> > >
> > > I want to use the calculated muscle forces from Anybody to load
> my
> > FEM
> > > Model in Ansys. As I already know there is now interface to
> > transfer
> > > the data, so I have to do it manuel. But where can I find the
> > > geometrical parameters of the muscle, e.g. insertion coordinates
> > and
> > > angle of muscles in the different time steps during movement?
> > > I only know that you used the ISB coordinate system…
> > >
> > > What are the main sizes of the femur used in the model?
> > >
> > > What is the total body weigth/mass of the gait3D model (in the
> > file
> > > AnyMAN I found 64,9kg - but isn’t that very low?) and for the
> Free
> > > posturemove model?
> > >
> > > Thanks and best regards
> > >
> > > Thomas
> > >
> > >
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

Hi David

If I understand you correctly this problem can be solved just by writing
what you suggest

AnyForceMomentMeasure someForceMeasure_VIAPOINTNODE ={
AnyRefNode &ref1=
Segment.SomeViaPointNode;
AnyViaPointMuscle &mus =
Muscle.SomeViaPointMuscle;
};

This will give you the forces acting in the via point node from this muscle.
It will take into account the muscles parts on both sides of this node, but
maybe this is not what you want.?.

The viapoints acts as needle eyes so the muscle can slide in these points.

I have made an updated version of the OutPutForFE.any in the small examples
folder, so that it includes a viapoint muscle the file name is
OutPutForFEV2.any.

If you look at the results of the viapoint measure Mus3Measure you will see
that initially the force is zero, this is because in the first timestep the
muscle is a 100% straight line so it do not create any force in the viapoint
node. Then gradually as the muscles will bend in this point the force is
growing.

I hope i have not misunderstood your question… :wink:

Best regards

Søren, AnyBody Support


From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com] On Behalf
Of dww805
Sent: 26 March 2008 00:40
To: anyscript@yahoogroups.com
Subject: [AnyScript] Re: Muscle Data

Hi,

This is a bit of an old thread, but I have a similar question and I am not
sure the solution
was ever fully resolved.

I would like to extract the [x,y,z] force vector that are applied at each
segment node for a
particular via point muscle. To make this generic, lets assume the muscle
has 3 via points:
an insertion, viapoint, and origin.

For the specific case where the muscle does not have a via point, the code
block:

AnyForceMomentMeasure someForceMeasure ={
AnyRefNode &ref1=
Segment.SomeInsertionNode; //Or some origin node, but not a via node
AnyViaPointMuscle &mus =
Muscle.SomeViaPointMuscle;
};

works fine, and someForceMeasure.F returns the force I care about in global
coordinates.
I have tested this and seems to work fine. However, if there is a via point,
and I only want
the force applied by the muscle at that via point (and no other points) the
code does not
seem to be applicable (as per previous posts, see below). Is my
interpretation correct? If
so, what code block (hopefully very similar to the one above) should I be
using if I do not
want to take into account both parts of the muscle together, but separately?
I would like
something that looks like:

AnyForceMomentMeasure someForceMeasure_ORIGINNODE ={
AnyRefNode &ref1=
Segment.SomeInsertionNode; //Or some origin node, but not a via node
AnyViaPointMuscle &mus =
Muscle.SomeViaPointMuscle;
};

AnyForceMomentMeasure someForceMeasure_VIAPOINTNODE ={
AnyRefNode &ref1=
Segment.SomeViaPointNode;
AnyViaPointMuscle &mus =
Muscle.SomeViaPointMuscle;
};

AnyForceMomentMeasure someForceMeasure_INSERTIONNODE ={
AnyRefNode &ref1=
Segment.SomeInsertionNode;
AnyViaPointMuscle &mus =
Muscle.SomeViaPointMuscle;
};

Thank you in advance.

-David

— In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com,
“AnyBody Support” <support@…> wrote:
>
> Hi Thomas
>
>
>
> Your script should work ok, it will take into account both parts of the
> muscles.
>
>
>
> Best regards
>
> Søren
>
> _____
>
> From: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
[mailto:anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com] On
Behalf
> Of knox40
> Sent: 04 December 2007 09:12
> To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
> Subject: [AnyScript] Re: Muscle Data
>
>
>
> Hi Søren,
>
> thank you, the small example was very helpfull.
>
> But what if there is a muscle via point, e.g. the Vastus Lateralis.
> For example the muscle fibre comes form the upper part of the femur
> to another insertion point of the femur. From this insertation point
> it goes then to the shank. So on this point there are two muscle
> fibres leaving the femur:
> one to the upper part of the femur and another one to the shank.
> Am I measuring then the resultant force of these two forces on the
> femurpoint with this formula:?
>
> AnyForceMomentMeasure VastusLat1Measure ={
> AnyRefNode &ref1=
> Main.Model.HumanModel.Right.Leg.Seg.Thigh.VastusLateralisNode;
> AnyViaPointMuscle &mus =
> Main.Model.HumanModel.Right.Leg.Mus.VastusLateralis;
> };
>
> Best regards,
> Thomas Thielen
>
> — In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com,
> “AnyBody Support” <support@>
> wrote:
> >
> > Hi Thomas
> >
> >
> >
> > The AnyOutputFile object will create a text file with the output
> from the
> > variables listed in the object, so it may look like:
> >
> >
> >
> > AnyOutputFile Output ={
> >
> > FileName =“Data.txt”;
> >
> > //muscle insertation points in global coordinates
> >
> > AnyVec3 MuscleInsertation=.Model.mus1.ins.r;
> >
> > AnyVec3 MuscleOrigin=.Model.mus1.org.r;
> >
> > };
> >
> >
> >
> > In this example the variables are just the muscle insertation and
> origins in
> > global coordinates, no extra kinematic measures was needed.
> Typicall this
> > object is included into the Study folder.
> >
> >
> >
> > I have created a small example illustrating how to create the
> output you
> > request, is has been uploaded to the SmallExamples folder and is
> named
> > OutPutFE.any.
> >
> >
> >
> > It is a model with one segment and two muscles and it produces an
> output
> > file which contains a force vector for each muscles. The force
> vector is
> > given in the local coordinate system of the segment.
> >
> >
> >
> > I hope this solves your problem, otherwise please write again.
> >
> >
> >
> > Best regards
> >
> > Søren, AnyBody Support
> >
> >
> >
> >
> >
> >
> >
> > _____
> >
> > From: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
> [mailto:anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com]
> On Behalf
> > Of knox40
> > Sent: 27 November 2007 15:48
> > To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
> > Subject: [AnyScript] Re: Muscle Data
> >
> >
> >
> > Hi Søren,
> >
> > thank you for your answer.
> >
> > So I will do it by writing an AnyOutputFile.
> >
> > As I found no example how to record to AnyOutputFile, can you give
> > me an short instruction how to record data to AnyOutputFile. Must
> I
> > do first a KinematicMeasure and record it to this File?
> >
> > Finally I need the muscle angles in the femur coordinate system
> > (sRel)but you said it isn’t possible to record the vector of
> origin-
> > insertion during time. So I can only record in global coordinate
> > system where the femur also changes position and angle during
> time?
> > I think this will make it somewhat more complicated as I must do
> > twice a calculation of rotation and translation in each time step
> > (to get the femur coordinate system and to get the muscle angle).
> >
> > There is no easier way to get this data?
> >
> > Best regards,
> >
> > Thomas
> >
> > — In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
> ps.com,
> > “AnyBody Support” <support@>
> > wrote:
> > >
> > > Hi Thomas
> > >
> > >
> > >
> > > There is actually an interface from AnyBody to ANSYS, for
> details
> > about this
> > > please see message #1413 from 03/08/2007, this message explains
> > more about
> > > this.
> > >
> > >
> > >
> > > There will also be a webcast 5/12 about this subject, please see
> > >
> > > http://www.anybodyt <http://www.anybodyt
> <http://www.anybodyt <http://www.anybodytech.com/633.0.html#c669>
ech.com/633.0.html#c669> ech.com/633.0.html#c669>
> > ech.com/633.0.html#c669
> > >
> > >
> > >
> > > If you prefer to do this “manually” I will try to list the
> things
> > to be
> > > done, in order to read out the variables you will need:
> > >
> > >
> > >
> > > Each muscle has a an insertation and origin point, the “r”
> values
> > of these
> > > nodes are their position in global coordinates it is updated for
> > each
> > > timestep
> > >
> > > So a variable like for example:
> > >
> > > Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.r’
> > >
> > > gives the global position of this node. If you would like to
> have
> > it in the
> > > coordinate system of the thigh the variable is :
> > >
> > >
> Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.sRel’
> > (this
> > > number will not change in time)
> > >
> > >
> > >
> > > In the definition of each of the muscles you will find a
> variable
> > reference
> > > variables like Org, Via and Ins these are references to the
> > origin, via and
> > > insertation nodes used by this muscle. So instead of the
> > variables above
> > > you could also get acces to the positions of these node by
> writing
> > >
> > >
> Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.r
> > or
> > >
> > >
> >
> Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.sRel;
> > >
> > >
> > >
> > > I would recommend creating and AnyOutPutfile and list these
> > variables there,
> > > then will be added as output.
> > >
> > > Similarly you can also have the muscles forces added in this
> > output file.
> > >
> > >
> > >
> > > The muscle angles you will not be able to get out as a direct
> > output, these
> > > has to be calculated based on the location of the origin, via and
> > > insertation points.
> > >
> > >
> > >
> > > The sizes of the UNSCALED bones can always be found in the file
> > like
> > > /leg3d/StandardParamters.any all body parts has such a file. If
> > the bone is
> > > scaled these numbers are to be found in file like AnyMan.any of
> > the Gait3D
> > > model.
> > >
> > >
> > >
> > > Concerning the coordinate system of the bones in the leg it is
> > true that
> > > they follow ISB, If you create the line
> > >
> > > AnyDrawRefFrame drw={};
> > >
> > > In the root folder of for example the Thigh segment, it will
> > display the
> > > location of the coordinate system.
> > >
> > >
> > >
> > > The mass of the subject in the Gait3D model is rather low, but
> it
> > is
> > > according to the subject where the data originates from.
> > >
> > >
> > >
> > > So it is possible to get the output you need out from the model,
> > but it
> > > requires that you manually create an output file for this.
> > >
> > >
> > >
> > > I hope this helps you move on, otherwise please write again
> > >
> > >
> > >
> > > Best regards
> > >
> > > Søren
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > _____
> > >
> > > From: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
> ps.com
> > [mailto:anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
> ps.com]
> > On Behalf
> > > Of knox40
> > > Sent: 21 November 2007 11:06
> > > To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
> ps.com
> > > Subject: [AnyScript] Muscle Data
> > >
> > >
> > >
> > > Hallo Everybody,
> > >
> > > I want to use the calculated muscle forces from Anybody to load
> my
> > FEM
> > > Model in Ansys. As I already know there is now interface to
> > transfer
> > > the data, so I have to do it manuel. But where can I find the
> > > geometrical parameters of the muscle, e.g. insertion coordinates
> > and
> > > angle of muscles in the different time steps during movement?
> > > I only know that you used the ISB coordinate system…
> > >
> > > What are the main sizes of the femur used in the model?
> > >
> > > What is the total body weigth/mass of the gait3D model (in the
> > file
> > > AnyMAN I found 64,9kg - but isn’t that very low?) and for the
> Free
> > > posturemove model?
> > >
> > > Thanks and best regards
> > >
> > > Thomas
> > >
> > >
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

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

Hi Søren,

Thanks for the quick reply. I think we may be agreeing on the same thing (which
is always
a good thing). The concern I have is that I just want to make sure I am not
double
counting the forces due to the muscle if there is a via point and an insertion
point on the
same segment. For example, if I use the code:

> AnyForceMomentMeasure someForceMeasure_ORIGINNODE ={
> AnyRefNode &ref1=
> Segment.SomeOriginPointNode;
> AnyViaPointMuscle &mus =
> Muscle.SomeViaPointMuscle;
> };

> AnyForceMomentMeasure someForceMeasure_VIAPOINTNODE ={
> AnyRefNode &ref1=
> Segment.SomeViaPointNode;
> AnyViaPointMuscle &mus =
> Muscle.SomeViaPointMuscle;
> };

I know that someForceMeasure_ORIGINNODE.F and someForceMeasure_VIAPOINTNODE.F
are related (obviously they are caused by the same muscle), but I want to make
sure that if
I apply those forces to the segment (for example in another application) that
those forces
will not be greater than what is actually being felt by the segment. I should
be able to test
this by writing a force balance equation, but I thought I would check in here
first.

Thanks again,
David

— In anyscript@yahoogroups.com, “AnyBody Support” <support@…> wrote:
>
> Hi David
>
>
>
> If I understand you correctly this problem can be solved just by writing
> what you suggest
>
>
>
> AnyForceMomentMeasure someForceMeasure_VIAPOINTNODE ={
> AnyRefNode &ref1=
> Segment.SomeViaPointNode;
> AnyViaPointMuscle &mus =
> Muscle.SomeViaPointMuscle;
> };
>
>
>
> This will give you the forces acting in the via point node from this muscle.
> It will take into account the muscles parts on both sides of this node, but
> maybe this is not what you want.?.
>
> The viapoints acts as needle eyes so the muscle can slide in these points.
>
>
>
> I have made an updated version of the OutPutForFE.any in the small examples
> folder, so that it includes a viapoint muscle the file name is
> OutPutForFEV2.any.
>
>
>
> If you look at the results of the viapoint measure Mus3Measure you will see
> that initially the force is zero, this is because in the first timestep the
> muscle is a 100% straight line so it do not create any force in the viapoint
> node. Then gradually as the muscles will bend in this point the force is
> growing.
>
>
>
> I hope i have not misunderstood your question… :wink:
>
>
>
> Best regards
>
> Søren, AnyBody Support
>
>
>
> _____
>
> From: anyscript@yahoogroups.com [mailto:anyscript@yahoogroups.com] On Behalf
> Of dww805
> Sent: 26 March 2008 00:40
> To: anyscript@yahoogroups.com
> Subject: [AnyScript] Re: Muscle Data
>
>
>
> Hi,
>
> This is a bit of an old thread, but I have a similar question and I am not
> sure the solution
> was ever fully resolved.
>
> I would like to extract the [x,y,z] force vector that are applied at each
> segment node for a
> particular via point muscle. To make this generic, lets assume the muscle
> has 3 via points:
> an insertion, viapoint, and origin.
>
> For the specific case where the muscle does not have a via point, the code
> block:
>
> AnyForceMomentMeasure someForceMeasure ={
> AnyRefNode &ref1=
> Segment.SomeInsertionNode; //Or some origin node, but not a via node
> AnyViaPointMuscle &mus =
> Muscle.SomeViaPointMuscle;
> };
>
> works fine, and someForceMeasure.F returns the force I care about in global
> coordinates.
> I have tested this and seems to work fine. However, if there is a via point,
> and I only want
> the force applied by the muscle at that via point (and no other points) the
> code does not
> seem to be applicable (as per previous posts, see below). Is my
> interpretation correct? If
> so, what code block (hopefully very similar to the one above) should I be
> using if I do not
> want to take into account both parts of the muscle together, but separately?
> I would like
> something that looks like:
>
> AnyForceMomentMeasure someForceMeasure_ORIGINNODE ={
> AnyRefNode &ref1=
> Segment.SomeInsertionNode; //Or some origin node, but not a via node
> AnyViaPointMuscle &mus =
> Muscle.SomeViaPointMuscle;
> };
>
> AnyForceMomentMeasure someForceMeasure_VIAPOINTNODE ={
> AnyRefNode &ref1=
> Segment.SomeViaPointNode;
> AnyViaPointMuscle &mus =
> Muscle.SomeViaPointMuscle;
> };
>
> AnyForceMomentMeasure someForceMeasure_INSERTIONNODE ={
> AnyRefNode &ref1=
> Segment.SomeInsertionNode;
> AnyViaPointMuscle &mus =
> Muscle.SomeViaPointMuscle;
> };
>
> Thank you in advance.
>
> -David
>
> — In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com,
> “AnyBody Support” <support@> wrote:
> >
> > Hi Thomas
> >
> >
> >
> > Your script should work ok, it will take into account both parts of the
> > muscles.
> >
> >
> >
> > Best regards
> >
> > Søren
> >
> > _____
> >
> > From: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
> [mailto:anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com] On
> Behalf
> > Of knox40
> > Sent: 04 December 2007 09:12
> > To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
> > Subject: [AnyScript] Re: Muscle Data
> >
> >
> >
> > Hi Søren,
> >
> > thank you, the small example was very helpfull.
> >
> > But what if there is a muscle via point, e.g. the Vastus Lateralis.
> > For example the muscle fibre comes form the upper part of the femur
> > to another insertion point of the femur. From this insertation point
> > it goes then to the shank. So on this point there are two muscle
> > fibres leaving the femur:
> > one to the upper part of the femur and another one to the shank.
> > Am I measuring then the resultant force of these two forces on the
> > femurpoint with this formula:?
> >
> > AnyForceMomentMeasure VastusLat1Measure ={
> > AnyRefNode &ref1=
> > Main.Model.HumanModel.Right.Leg.Seg.Thigh.VastusLateralisNode;
> > AnyViaPointMuscle &mus =
> > Main.Model.HumanModel.Right.Leg.Mus.VastusLateralis;
> > };
> >
> > Best regards,
> > Thomas Thielen
> >
> > — In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com,
> > “AnyBody Support” <support@>
> > wrote:
> > >
> > > Hi Thomas
> > >
> > >
> > >
> > > The AnyOutputFile object will create a text file with the output
> > from the
> > > variables listed in the object, so it may look like:
> > >
> > >
> > >
> > > AnyOutputFile Output ={
> > >
> > > FileName =“Data.txt”;
> > >
> > > //muscle insertation points in global coordinates
> > >
> > > AnyVec3 MuscleInsertation=.Model.mus1.ins.r;
> > >
> > > AnyVec3 MuscleOrigin=.Model.mus1.org.r;
> > >
> > > };
> > >
> > >
> > >
> > > In this example the variables are just the muscle insertation and
> > origins in
> > > global coordinates, no extra kinematic measures was needed.
> > Typicall this
> > > object is included into the Study folder.
> > >
> > >
> > >
> > > I have created a small example illustrating how to create the
> > output you
> > > request, is has been uploaded to the SmallExamples folder and is
> > named
> > > OutPutFE.any.
> > >
> > >
> > >
> > > It is a model with one segment and two muscles and it produces an
> > output
> > > file which contains a force vector for each muscles. The force
> > vector is
> > > given in the local coordinate system of the segment.
> > >
> > >
> > >
> > > I hope this solves your problem, otherwise please write again.
> > >
> > >
> > >
> > > Best regards
> > >
> > > Søren, AnyBody Support
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > _____
> > >
> > > From: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
> > [mailto:anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com]
> > On Behalf
> > > Of knox40
> > > Sent: 27 November 2007 15:48
> > > To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com> ps.com
> > > Subject: [AnyScript] Re: Muscle Data
> > >
> > >
> > >
> > > Hi Søren,
> > >
> > > thank you for your answer.
> > >
> > > So I will do it by writing an AnyOutputFile.
> > >
> > > As I found no example how to record to AnyOutputFile, can you give
> > > me an short instruction how to record data to AnyOutputFile. Must
> > I
> > > do first a KinematicMeasure and record it to this File?
> > >
> > > Finally I need the muscle angles in the femur coordinate system
> > > (sRel)but you said it isn’t possible to record the vector of
> > origin-
> > > insertion during time. So I can only record in global coordinate
> > > system where the femur also changes position and angle during
> > time?
> > > I think this will make it somewhat more complicated as I must do
> > > twice a calculation of rotation and translation in each time step
> > > (to get the femur coordinate system and to get the muscle angle).
> > >
> > > There is no easier way to get this data?
> > >
> > > Best regards,
> > >
> > > Thomas
> > >
> > > — In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
> > ps.com,
> > > “AnyBody Support” <support@>
> > > wrote:
> > > >
> > > > Hi Thomas
> > > >
> > > >
> > > >
> > > > There is actually an interface from AnyBody to ANSYS, for
> > details
> > > about this
> > > > please see message #1413 from 03/08/2007, this message explains
> > > more about
> > > > this.
> > > >
> > > >
> > > >
> > > > There will also be a webcast 5/12 about this subject, please see
> > > >
> > > > http://www.anybodyt <http://www.anybodyt
> > <http://www.anybodyt <http://www.anybodytech.com/633.0.html#c669>
> ech.com/633.0.html#c669> ech.com/633.0.html#c669>
> > > ech.com/633.0.html#c669
> > > >
> > > >
> > > >
> > > > If you prefer to do this “manually” I will try to list the
> > things
> > > to be
> > > > done, in order to read out the variables you will need:
> > > >
> > > >
> > > >
> > > > Each muscle has a an insertation and origin point, the “r”
> > values
> > > of these
> > > > nodes are their position in global coordinates it is updated for
> > > each
> > > > timestep
> > > >
> > > > So a variable like for example:
> > > >
> > > > Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.r’
> > > >
> > > > gives the global position of this node. If you would like to
> > have
> > > it in the
> > > > coordinate system of the thigh the variable is :
> > > >
> > > >
> > Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.sRel’
> > > (this
> > > > number will not change in time)
> > > >
> > > >
> > > >
> > > > In the definition of each of the muscles you will find a
> > variable
> > > reference
> > > > variables like Org, Via and Ins these are references to the
> > > origin, via and
> > > > insertation nodes used by this muscle. So instead of the
> > > variables above
> > > > you could also get acces to the positions of these node by
> > writing
> > > >
> > > >
> > Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.r
> > > or
> > > >
> > > >
> > >
> > Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.sRel;
> > > >
> > > >
> > > >
> > > > I would recommend creating and AnyOutPutfile and list these
> > > variables there,
> > > > then will be added as output.
> > > >
> > > > Similarly you can also have the muscles forces added in this
> > > output file.
> > > >
> > > >
> > > >
> > > > The muscle angles you will not be able to get out as a direct
> > > output, these
> > > > has to be calculated based on the location of the origin, via and
> > > > insertation points.
> > > >
> > > >
> > > >
> > > > The sizes of the UNSCALED bones can always be found in the file
> > > like
> > > > /leg3d/StandardParamters.any all body parts has such a file. If
> > > the bone is
> > > > scaled these numbers are to be found in file like AnyMan.any of
> > > the Gait3D
> > > > model.
> > > >
> > > >
> > > >
> > > > Concerning the coordinate system of the bones in the leg it is
> > > true that
> > > > they follow ISB, If you create the line
> > > >
> > > > AnyDrawRefFrame drw={};
> > > >
> > > > In the root folder of for example the Thigh segment, it will
> > > display the
> > > > location of the coordinate system.
> > > >
> > > >
> > > >
> > > > The mass of the subject in the Gait3D model is rather low, but
> > it
> > > is
> > > > according to the subject where the data originates from.
> > > >
> > > >
> > > >
> > > > So it is possible to get the output you need out from the model,
> > > but it
> > > > requires that you manually create an output file for this.
> > > >
> > > >
> > > >
> > > > I hope this helps you move on, otherwise please write again
> > > >
> > > >
> > > >
> > > > Best regards
> > > >
> > > > Søren
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > _____
> > > >
> > > > From: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
> > ps.com
> > > [mailto:anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
> > ps.com]
> > > On Behalf
> > > > Of knox40
> > > > Sent: 21 November 2007 11:06
> > > > To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
> > ps.com
> > > > Subject: [AnyScript] Muscle Data
> > > >
> > > >
> > > >
> > > > Hallo Everybody,
> > > >
> > > > I want to use the calculated muscle forces from Anybody to load
> > my
> > > FEM
> > > > Model in Ansys. As I already know there is now interface to
> > > transfer
> > > > the data, so I have to do it manuel. But where can I find the
> > > > geometrical parameters of the muscle, e.g. insertion coordinates
> > > and
> > > > angle of muscles in the different time steps during movement?
> > > > I only know that you used the ISB coordinate system…
> > > >
> > > > What are the main sizes of the femur used in the model?
> > > >
> > > > What is the total body weigth/mass of the gait3D model (in the
> > > file
> > > > AnyMAN I found 64,9kg - but isn’t that very low?) and for the
> > Free
> > > > posturemove model?
> > > >
> > > > Thanks and best regards
> > > >
> > > > Thomas
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> > >
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

Hi,

In AnyForceMomentMeasure only forces that are applied directly to the
reference frame (AnyRefNode in this case) will be included. So it’s
ok, you won’t measure two times the same force and there are no
double counting. It’s all good.

Best regards,
Sylvain, AnyBody Support.

— In anyscript@yahoogroups.com, “dww805” <dwwagner@…> wrote:
>
> Hi Søren,
>
> Thanks for the quick reply. I think we may be agreeing on the same
thing (which is always
> a good thing). The concern I have is that I just want to make sure
I am not double
> counting the forces due to the muscle if there is a via point and
an insertion point on the
> same segment. For example, if I use the code:
>
> > AnyForceMomentMeasure someForceMeasure_ORIGINNODE ={
> > AnyRefNode &ref1=
> > Segment.SomeOriginPointNode;
> > AnyViaPointMuscle &mus =
> > Muscle.SomeViaPointMuscle;
> > };
>
> > AnyForceMomentMeasure someForceMeasure_VIAPOINTNODE ={
> > AnyRefNode &ref1=
> > Segment.SomeViaPointNode;
> > AnyViaPointMuscle &mus =
> > Muscle.SomeViaPointMuscle;
> > };
>
> I know that someForceMeasure_ORIGINNODE.F and
someForceMeasure_VIAPOINTNODE.F
> are related (obviously they are caused by the same muscle), but I
want to make sure that if
> I apply those forces to the segment (for example in another
application) that those forces
> will not be greater than what is actually being felt by the
segment. I should be able to test
> this by writing a force balance equation, but I thought I would
check in here first.
>
> Thanks again,
> David
>
>
> — In anyscript@yahoogroups.com, “AnyBody Support” <support@>
wrote:
> >
> > Hi David
> >
> >
> >
> > If I understand you correctly this problem can be solved just by
writing
> > what you suggest
> >
> >
> >
> > AnyForceMomentMeasure someForceMeasure_VIAPOINTNODE ={
> > AnyRefNode &ref1=
> > Segment.SomeViaPointNode;
> > AnyViaPointMuscle &mus =
> > Muscle.SomeViaPointMuscle;
> > };
> >
> >
> >
> > This will give you the forces acting in the via point node from
this muscle.
> > It will take into account the muscles parts on both sides of this
node, but
> > maybe this is not what you want.?.
> >
> > The viapoints acts as needle eyes so the muscle can slide in
these points.
> >
> >
> >
> > I have made an updated version of the OutPutForFE.any in the
small examples
> > folder, so that it includes a viapoint muscle the file name is
> > OutPutForFEV2.any.
> >
> >
> >
> > If you look at the results of the viapoint measure Mus3Measure
you will see
> > that initially the force is zero, this is because in the first
timestep the
> > muscle is a 100% straight line so it do not create any force in
the viapoint
> > node. Then gradually as the muscles will bend in this point the
force is
> > growing.
> >
> >
> >
> > I hope i have not misunderstood your question… :wink:
> >
> >
> >
> > Best regards
> >
> > Søren, AnyBody Support
> >
> >
> >
> > _____
> >
> > From: anyscript@yahoogroups.com
[mailto:anyscript@yahoogroups.com] On Behalf
> > Of dww805
> > Sent: 26 March 2008 00:40
> > To: anyscript@yahoogroups.com
> > Subject: [AnyScript] Re: Muscle Data
> >
> >
> >
> > Hi,
> >
> > This is a bit of an old thread, but I have a similar question and
I am not
> > sure the solution
> > was ever fully resolved.
> >
> > I would like to extract the [x,y,z] force vector that are applied
at each
> > segment node for a
> > particular via point muscle. To make this generic, lets assume
the muscle
> > has 3 via points:
> > an insertion, viapoint, and origin.
> >
> > For the specific case where the muscle does not have a via point,
the code
> > block:
> >
> > AnyForceMomentMeasure someForceMeasure ={
> > AnyRefNode &ref1=
> > Segment.SomeInsertionNode; //Or some origin node, but not a via
node
> > AnyViaPointMuscle &mus =
> > Muscle.SomeViaPointMuscle;
> > };
> >
> > works fine, and someForceMeasure.F returns the force I care about
in global
> > coordinates.
> > I have tested this and seems to work fine. However, if there is a
via point,
> > and I only want
> > the force applied by the muscle at that via point (and no other
points) the
> > code does not
> > seem to be applicable (as per previous posts, see below). Is my
> > interpretation correct? If
> > so, what code block (hopefully very similar to the one above)
should I be
> > using if I do not
> > want to take into account both parts of the muscle together, but
separately?
> > I would like
> > something that looks like:
> >
> > AnyForceMomentMeasure someForceMeasure_ORIGINNODE ={
> > AnyRefNode &ref1=
> > Segment.SomeInsertionNode; //Or some origin node, but not a via
node
> > AnyViaPointMuscle &mus =
> > Muscle.SomeViaPointMuscle;
> > };
> >
> > AnyForceMomentMeasure someForceMeasure_VIAPOINTNODE ={
> > AnyRefNode &ref1=
> > Segment.SomeViaPointNode;
> > AnyViaPointMuscle &mus =
> > Muscle.SomeViaPointMuscle;
> > };
> >
> > AnyForceMomentMeasure someForceMeasure_INSERTIONNODE ={
> > AnyRefNode &ref1=
> > Segment.SomeInsertionNode;
> > AnyViaPointMuscle &mus =
> > Muscle.SomeViaPointMuscle;
> > };
> >
> > Thank you in advance.
> >
> > -David
> >
> > — In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com,
> > “AnyBody Support” <support@> wrote:
> > >
> > > Hi Thomas
> > >
> > >
> > >
> > > Your script should work ok, it will take into account both
parts of the
> > > muscles.
> > >
> > >
> > >
> > > Best regards
> > >
> > > Søren
> > >
> > > _____
> > >
> > > From: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com
> > [mailto:anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com] On
> > Behalf
> > > Of knox40
> > > Sent: 04 December 2007 09:12
> > > To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com
> > > Subject: [AnyScript] Re: Muscle Data
> > >
> > >
> > >
> > > Hi Søren,
> > >
> > > thank you, the small example was very helpfull.
> > >
> > > But what if there is a muscle via point, e.g. the Vastus
Lateralis.
> > > For example the muscle fibre comes form the upper part of the
femur
> > > to another insertion point of the femur. From this insertation
point
> > > it goes then to the shank. So on this point there are two
muscle
> > > fibres leaving the femur:
> > > one to the upper part of the femur and another one to the shank.
> > > Am I measuring then the resultant force of these two forces on
the
> > > femurpoint with this formula:?
> > >
> > > AnyForceMomentMeasure VastusLat1Measure ={
> > > AnyRefNode &ref1=
> > > Main.Model.HumanModel.Right.Leg.Seg.Thigh.VastusLateralisNode;
> > > AnyViaPointMuscle &mus =
> > > Main.Model.HumanModel.Right.Leg.Mus.VastusLateralis;
> > > };
> > >
> > > Best regards,
> > > Thomas Thielen
> > >
> > > — In anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com,
> > > “AnyBody Support” <support@>
> > > wrote:
> > > >
> > > > Hi Thomas
> > > >
> > > >
> > > >
> > > > The AnyOutputFile object will create a text file with the
output
> > > from the
> > > > variables listed in the object, so it may look like:
> > > >
> > > >
> > > >
> > > > AnyOutputFile Output ={
> > > >
> > > > FileName =“Data.txt”;
> > > >
> > > > //muscle insertation points in global coordinates
> > > >
> > > > AnyVec3 MuscleInsertation=.Model.mus1.ins.r;
> > > >
> > > > AnyVec3 MuscleOrigin=.Model.mus1.org.r;
> > > >
> > > > };
> > > >
> > > >
> > > >
> > > > In this example the variables are just the muscle insertation
and
> > > origins in
> > > > global coordinates, no extra kinematic measures was needed.
> > > Typicall this
> > > > object is included into the Study folder.
> > > >
> > > >
> > > >
> > > > I have created a small example illustrating how to create the
> > > output you
> > > > request, is has been uploaded to the SmallExamples folder and
is
> > > named
> > > > OutPutFE.any.
> > > >
> > > >
> > > >
> > > > It is a model with one segment and two muscles and it
produces an
> > > output
> > > > file which contains a force vector for each muscles. The
force
> > > vector is
> > > > given in the local coordinate system of the segment.
> > > >
> > > >
> > > >
> > > > I hope this solves your problem, otherwise please write
again.
> > > >
> > > >
> > > >
> > > > Best regards
> > > >
> > > > Søren, AnyBody Support
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > _____
> > > >
> > > > From: anyscript@yahoogrou <mailto:anyscript%
40yahoogroups.com> ps.com
> > > [mailto:anyscript@yahoogrou <mailto:anyscript%
40yahoogroups.com> ps.com]
> > > On Behalf
> > > > Of knox40
> > > > Sent: 27 November 2007 15:48
> > > > To: anyscript@yahoogrou <mailto:anyscript%40yahoogroups.com>
ps.com
> > > > Subject: [AnyScript] Re: Muscle Data
> > > >
> > > >
> > > >
> > > > Hi Søren,
> > > >
> > > > thank you for your answer.
> > > >
> > > > So I will do it by writing an AnyOutputFile.
> > > >
> > > > As I found no example how to record to AnyOutputFile, can you
give
> > > > me an short instruction how to record data to AnyOutputFile.
Must
> > > I
> > > > do first a KinematicMeasure and record it to this File?
> > > >
> > > > Finally I need the muscle angles in the femur coordinate
system
> > > > (sRel)but you said it isn’t possible to record the vector of
> > > origin-
> > > > insertion during time. So I can only record in global
coordinate
> > > > system where the femur also changes position and angle during
> > > time?
> > > > I think this will make it somewhat more complicated as I must
do
> > > > twice a calculation of rotation and translation in each time
step
> > > > (to get the femur coordinate system and to get the muscle
angle).
> > > >
> > > > There is no easier way to get this data?
> > > >
> > > > Best regards,
> > > >
> > > > Thomas
> > > >
> > > > — In anyscript@yahoogrou <mailto:anyscript%
40yahoogroups.com>
> > > ps.com,
> > > > “AnyBody Support” <support@>
> > > > wrote:
> > > > >
> > > > > Hi Thomas
> > > > >
> > > > >
> > > > >
> > > > > There is actually an interface from AnyBody to ANSYS, for
> > > details
> > > > about this
> > > > > please see message #1413 from 03/08/2007, this message
explains
> > > > more about
> > > > > this.
> > > > >
> > > > >
> > > > >
> > > > > There will also be a webcast 5/12 about this subject,
please see
> > > > >
> > > > > http://www.anybodyt <http://www.anybodyt
> > > <http://www.anybodyt
<http://www.anybodytech.com/633.0.html#c669>
> > ech.com/633.0.html#c669> ech.com/633.0.html#c669>
> > > > ech.com/633.0.html#c669
> > > > >
> > > > >
> > > > >
> > > > > If you prefer to do this “manually” I will try to list the
> > > things
> > > > to be
> > > > > done, in order to read out the variables you will need:
> > > > >
> > > > >
> > > > >
> > > > > Each muscle has a an insertation and origin point, the “r”
> > > values
> > > > of these
> > > > > nodes are their position in global coordinates it is
updated for
> > > > each
> > > > > timestep
> > > > >
> > > > > So a variable like for example:
> > > > >
> > > > >
Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.r’
> > > > >
> > > > > gives the global position of this node. If you would like
to
> > > have
> > > > it in the
> > > > > coordinate system of the thigh the variable is :
> > > > >
> > > > >
> > >
Main.Model.HumanModel.Right.Leg.Seg.Thigh.GastrocnemiusNode.sRel’
> > > > (this
> > > > > number will not change in time)
> > > > >
> > > > >
> > > > >
> > > > > In the definition of each of the muscles you will find a
> > > variable
> > > > reference
> > > > > variables like Org, Via and Ins these are references to the
> > > > origin, via and
> > > > > insertation nodes used by this muscle. So instead of the
> > > > variables above
> > > > > you could also get acces to the positions of these node by
> > > writing
> > > > >
> > > > >
> > >
Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.r
> > > > or
> > > > >
> > > > >
> > > >
> > >
Main.Model.HumanModel.Right.Leg.Mus.BicepsFemorisCaputBreve.Org.sRel;
> > > > >
> > > > >
> > > > >
> > > > > I would recommend creating and AnyOutPutfile and list these
> > > > variables there,
> > > > > then will be added as output.
> > > > >
> > > > > Similarly you can also have the muscles forces added in
this
> > > > output file.
> > > > >
> > > > >
> > > > >
> > > > > The muscle angles you will not be able to get out as a
direct
> > > > output, these
> > > > > has to be calculated based on the location of the origin,
via and
> > > > > insertation points.
> > > > >
> > > > >
> > > > >
> > > > > The sizes of the UNSCALED bones can always be found in the
file
> > > > like
> > > > > /leg3d/StandardParamters.any all body parts has such a
file. If
> > > > the bone is
> > > > > scaled these numbers are to be found in file like
AnyMan.any of
> > > > the Gait3D
> > > > > model.
> > > > >
> > > > >
> > > > >
> > > > > Concerning the coordinate system of the bones in the leg it
is
> > > > true that
> > > > > they follow ISB, If you create the line
> > > > >
> > > > > AnyDrawRefFrame drw={};
> > > > >
> > > > > In the root folder of for example the Thigh segment, it
will
> > > > display the
> > > > > location of the coordinate system.
> > > > >
> > > > >
> > > > >
> > > > > The mass of the subject in the Gait3D model is rather low,
but
> > > it
> > > > is
> > > > > according to the subject where the data originates from.
> > > > >
> > > > >
> > > > >
> > > > > So it is possible to get the output you need out from the
model,
> > > > but it
> > > > > requires that you manually create an output file for this.
> > > > >
> > > > >
> > > > >
> > > > > I hope this helps you move on, otherwise please write again
> > > > >
> > > > >
> > > > >
> > > > > Best regards
> > > > >
> > > > > Søren
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > _____
> > > > >
> > > > > From: anyscript@yahoogrou <mailto:anyscript%
40yahoogroups.com>
> > > ps.com
> > > > [mailto:anyscript@yahoogrou <mailto:anyscript%
40yahoogroups.com>
> > > ps.com]
> > > > On Behalf
> > > > > Of knox40
> > > > > Sent: 21 November 2007 11:06
> > > > > To: anyscript@yahoogrou <mailto:anyscript%
40yahoogroups.com>
> > > ps.com
> > > > > Subject: [AnyScript] Muscle Data
> > > > >
> > > > >
> > > > >
> > > > > Hallo Everybody,
> > > > >
> > > > > I want to use the calculated muscle forces from Anybody to
load
> > > my
> > > > FEM
> > > > > Model in Ansys. As I already know there is now interface to
> > > > transfer
> > > > > the data, so I have to do it manuel. But where can I find
the
> > > > > geometrical parameters of the muscle, e.g. insertion
coordinates
> > > > and
> > > > > angle of muscles in the different time steps during
movement?
> > > > > I only know that you used the ISB coordinate system…
> > > > >
> > > > > What are the main sizes of the femur used in the model?
> > > > >
> > > > > What is the total body weigth/mass of the gait3D model (in
the
> > > > file
> > > > > AnyMAN I found 64,9kg - but isn’t that very low?) and for
the
> > > Free
> > > > > posturemove model?
> > > > >
> > > > > Thanks and best regards
> > > > >
> > > > > Thomas
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> > >
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>