Forums Anyscript.org  

Go Back   Forums Anyscript.org > Professional Forum > AnyBody Managed Model Repository

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07-21-2017, 09:49 PM
Yogesh Yogesh is offline
Junior Member
 
Join Date: Jun 2017
Posts: 15
Default One-Two Legged Stance in Free Posture Move Model

Hello,

I am from the University of Toledo Engineering Center of Orthopedic Research Excellence. We are simulating two legged stance and one-legged stance on the free posture move model. We know that the hip joint reaction force should be 3-4x that of the body weight when the model is in one-legged stance.The body weight we simulated was 75kg and we applied 90 degrees knee flexion for the one legged stance model. For two legged stance we did not change anything and just ran the model as it is.

We wanted to make sure our simulation is physiologically correct. So, we saw the hip joint reaction force, it had a very low value (45N) when it should be around 3-4x the body weight (75kg).

Why are these values so low? Is our simulation wrong, and if so can you help us simulate proper single and both legged stance?

Last edited by Yogesh; 07-21-2017 at 09:57 PM.
Reply With Quote
  #2  
Old 07-27-2017, 01:32 PM
mkjung9980's Avatar
mkjung9980 mkjung9980 is offline
Senior Member
 
Join Date: Aug 2009
Posts: 860
Default

Hello,

1) For hip force analysis, I would say that the free posture move model is not the right choice.
First, that model has a kind of reaction forces at the pelvis and there are no acting forces at both feet. In this case, the hip reaction force is not what you want to analyze.

2) For doulbe-satnace model, I would recommend you to try with the 'StandingModel' example in the AMMR example folder.

3) I just attached my example for single leg stance model. I didn't develop this model for you. But you are very welcome to use this model for research purpose.
But it will take some time for you to understand this model completely because this is not made by you. So I would recommend you to spend enough time to understand how this model works.

Best regards,
Moon
Attached Files
File Type: zip SingleLegStance.zip (20.5 KB, 11 views)
__________________

Moon Ki Jung, Ph.D, Application Engineer, AnyBody Technology A/S.

※ AnyScript™ Reference Manual is the bible.
※ AnyScript™ wiki page is the best supplementary information(http://wiki.anyscript.org).
※ When you would upload your models, please write information about your AMS and AMMR versions.
※ If you want to get more intensive support, please update your information(profile, organization and signature).
Reply With Quote
  #3  
Old 07-28-2017, 08:23 PM
Yogesh Yogesh is offline
Junior Member
 
Join Date: Jun 2017
Posts: 15
Default

Hi Moon,

Thank you very much for this model I appreciate it!

Where can we change the motion for this model? We would like to do 90 degrees of knee flexion on this model.

As you know, in the free posture model we can't simulate double-legged stance properly and in the standing model we can't move anything. What do you suggest we do in order to simulate two legged stance?

Thank you,
Yogesh





Thank you,
Yogesh.

Last edited by Yogesh; 07-28-2017 at 08:32 PM.
Reply With Quote
  #4  
Old 08-01-2017, 11:13 AM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
 
Join Date: Feb 2009
Posts: 865
Default

Hi Yogesh,


To change the knee angle make changes in this section of the main file

Code:
 #ifndef ADL_SLS_ANGLE_KNEE_FLEX_MIN_DOMINANT
      #define ADL_SLS_ANGLE_KNEE_FLEX_MIN_DOMINANT 5
    #endif
    #ifndef ADL_SLS_ANGLE_KNEE_FLEX_MAX_DOMINANT
      #define ADL_SLS_ANGLE_KNEE_FLEX_MAX_DOMINANT 5
To do a two leg standing model i would use the standing model and not the free posture.

To change the posture of the standing model you can alter the mannequin.any file, the model will pick some of the angles from this file. So you can change the knee and hip angles in that way. Please also see the files RightLegDriver.any to learn more about how the values from the mannequin.any file is being used.

Best regards
Søren
__________________
TIP: How to save and load results.
http://wiki.anyscript.org/index.php/All_about_AnyBody_Modeling_System#Save_Load_and_Re play_Results

Subscribe to the forums, click the 'Forum Tools' link above the list of threads then select 'Subscribe to Forum'. You will then have the option to choose the subscription mode for this forum and get an email automatically.
Reply With Quote
  #5  
Old 08-04-2017, 09:44 PM
Yogesh Yogesh is offline
Junior Member
 
Join Date: Jun 2017
Posts: 15
Default

Hi Søren,

Thank you for the help, we have figured out how to change the knee flexion.

I have another question regarding the AnyOutputFile code. How can we export all muscle forces for a certain region, say the spine, to an excel sheet? For example would the Search function be used to find the correct output? How do we target the muscle group folder to print the values?


Lastly, in the standing model, how can we fix the hip joint in translations and rotations?

Sorry for asking many questions.

Thank you,
Yogesh

Last edited by Yogesh; 08-07-2017 at 09:24 PM. Reason: New question again
Reply With Quote
  #6  
Old 08-08-2017, 10:42 AM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
 
Join Date: Feb 2009
Posts: 865
Default

Hi Yogesh,


Please use code like below to save muscle forces into a file

Code:
AnyFolder MuscleOutput ={
  
  AnyOutputFile FileOutput =   {
    Header.ConstSectionSaveOptionsOnOff = Off;
    FileName = "TestOutput.csv";
    Search = {"Main.HumanModel.BodyModel.Trunk.MusclesSpineRight.ErectorSpinae.*.Ft","Main.HumanModel.BodyModel.Trunk.MusclesSpineRight.Multifidi.*.Ft"};
  };
  
};
When you say the pelvis is fixed i assume you are talking about the freeposture model, if you want a standing model please use the standing model as a starting point.


The standing model has the feet locked to the ground and the pelvis is indirectly driven by setting the joint angles, these can be changed in the mannequin.any file.

If you want the model to be dynamic you will have to introduce interpolation drivers like in the freeposturemove model.

Best regards
Søren
__________________
TIP: How to save and load results.
http://wiki.anyscript.org/index.php/All_about_AnyBody_Modeling_System#Save_Load_and_Re play_Results

Subscribe to the forums, click the 'Forum Tools' link above the list of threads then select 'Subscribe to Forum'. You will then have the option to choose the subscription mode for this forum and get an email automatically.
Reply With Quote
  #7  
Old 08-08-2017, 07:05 PM
Yogesh Yogesh is offline
Junior Member
 
Join Date: Jun 2017
Posts: 15
Default

Hi Søren,

Let me explain to you are situation in more detail.

We have an FE model created that is from T1 until the femur with the rib cage attached. In our model, the hip joints are constrained in all six degrees of freedom and attached to the femur. The distal part of each femur is fixed. No motion is allowed at the hip joint to simulate standing. We want to take the muscle forces from one of these models and add them to the FE model we have created. Which model would be best to use to find the muscle forces for the motion of the spine and sacroiliac joints when simulating only standing with spinal flexion/extension/bending/rotation?

Thank you for your help, we appreciate it,
Yogesh.
Reply With Quote
  #8  
Old 08-09-2017, 10:28 AM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
 
Join Date: Feb 2009
Posts: 865
Default

Hi Yogesh,

I would use a modified version of the standing model for this.
You can alter most of the angles using the manequin.any file.

Best regards
Søren
__________________
TIP: How to save and load results.
http://wiki.anyscript.org/index.php/All_about_AnyBody_Modeling_System#Save_Load_and_Re play_Results

Subscribe to the forums, click the 'Forum Tools' link above the list of threads then select 'Subscribe to Forum'. You will then have the option to choose the subscription mode for this forum and get an email automatically.
Reply With Quote
  #9  
Old 08-09-2017, 08:18 PM
Yogesh Yogesh is offline
Junior Member
 
Join Date: Jun 2017
Posts: 15
Default

Hi Søren,

The problem with the standing model in our case is that, for example, when we apply 40 degrees of thoracic flexion, the pelvis is translating backwards in the negative x direction. We want the pelvis to be completely constrained in both translation and rotational motions.

How can we constrain the pelvis in all degrees of freedom?

Sorry for any confusion.

Thank you,
Yogesh.
Reply With Quote
  #10  
Old 08-10-2017, 11:10 AM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
 
Join Date: Feb 2009
Posts: 865
Default

Hi Yogesh,

Ok i understand, but the reason why the pelvis is moving backwards is that otherwise the model would not be in static balance (it would tip on the nose), and this would give unrealistic muscles forces or a model which would fail to balance itself.

The balance driver has been implemented as a CoM driver which holds the center of masss above the ankle joints... look in the JointsAndDrivers.any file.

Please note that the forces you export out AnyBody can be given in any coordinate system you like ... so also pelvis... would it then matter that the pelvis is moving?

Best regards
Søren
__________________
TIP: How to save and load results.
http://wiki.anyscript.org/index.php/All_about_AnyBody_Modeling_System#Save_Load_and_Re play_Results

Subscribe to the forums, click the 'Forum Tools' link above the list of threads then select 'Subscribe to Forum'. You will then have the option to choose the subscription mode for this forum and get an email automatically.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:18 PM.