Forums Anyscript.org  

Go Back   Forums Anyscript.org > General Forum > AnyBody Modeling System

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-15-2017, 10:32 AM
victorwambugu victorwambugu is offline
Junior Member
 
Join Date: Jan 2017
Posts: 29
Default Standing lift model

Hello AnyBody,

I would like to generate an output file much like the one from the standinglift FEA main file in the tutorial to study. How do I do this with the standing human template? Is there a way of deleting the aquarium and using the standing lift model instead? I have tried this and get lots of error messages.
I just want to alter the joint angles and generate an output file of the forces on the L4,L5.

Regards,
Victor
Reply With Quote
  #2  
Old 08-15-2017, 12:05 PM
pgalibarov's Avatar
pgalibarov pgalibarov is offline
Senior Member
 
Join Date: Oct 2010
Posts: 946
Default

Hi Victor,

Normally you would just copy relevant blocks of code, insert into the new model, and adjust references/paths if they somehow differ.

Could you try doing it? If you get stuck you could post what your actual problem is.

Kind regards,
Pavel
Reply With Quote
  #3  
Old 08-16-2017, 07:31 AM
victorwambugu victorwambugu is offline
Junior Member
 
Join Date: Jan 2017
Posts: 29
Default

Hi Pavel,
Thank you for your response.

I did as you suggested (copied the relevant blocks of code) and was able to load the model. However, when I try to run the Inverse dynamic analysis I get an error in the study folder:

ERROR(OBJ.MCH.KIN2) : C:/U..s/w..g/D..s/A..y/F..l/s..n/standing human.main.any(40) : Study : Model is kinematically over-constrained : Position analysis failed : 8 unsolvable constraint(s) found

Regards,
Victor
Reply With Quote
  #4  
Old 08-16-2017, 12:07 PM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
 
Join Date: Feb 2009
Posts: 907
Default

Hi Victor,

The error indicates that you have 8 kinematics constraints too many.

So it looks to me like you have added 8 constraints to the standing model but you may not have removed any constraints?

Please explain exactly what you have done

1 basis model ?
2 Added coded?
3 Removed coded?


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-17-2017, 04:27 AM
victorwambugu victorwambugu is offline
Junior Member
 
Join Date: Jan 2017
Posts: 29
Default

Hello Soren,

I did 2 (added code). I copied the output generating code from the standing lift FEA model onto the standing human Study folder. I have put the section of code at the end of the text. Just in case.

My aim is to generate an output file from the standing human model for use in FEA. I did not change the other folders.

Regards,
Victor

AnyBodyStudy Study = {
AnyFolder &Model = .Model;
tEnd=1;
Gravity={0.0, -9.81, 0.0};
nStep = 1;
// #ifndef FEA_OUTPUT
// default values for the StandingLift example
// tEnd = 1.0;
//nStep = 30;
//#else
// single step for the StandingLiftFEA example
// tStart = 0.5;
// tEnd = 0.5;
//nStep = 1;
AnyMechOutputFileForceExport ForceOutput =
{
FileName = "Output/ForceL5.txt";
/*NumberFormat =
{
Digits = 15;
Width = 22;
Style = ScientificNumber;
FormatStr = "";
};*/
AllSegmentsInStudyOnOff = Off;
AnySeg &L5Seg = Main.HumanModel.BodyModel.Trunk.SegmentsLumbar.L5S eg;
};
// #endif

};

#include "Model\RunAppSequence.any"
Reply With Quote
  #6  
Old 08-28-2017, 04:45 PM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
 
Join Date: Feb 2009
Posts: 907
Default

Hi Victor,
Sorry for the slow reply,
I can not see why the code you have listed would cause a kinematic problem, in my view it must be something else which has been changed.

Please try to out-comment your added lines and verify that the model runs?

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 09-04-2017, 06:17 AM
victorwambugu victorwambugu is offline
Junior Member
 
Join Date: Jan 2017
Posts: 29
Default

Thanks Soren,

I will do as you have suggested

Regards,
Victor
Reply With Quote
  #8  
Old 05-12-2018, 02:24 PM
chamannii chamannii is offline
Junior Member
 
Join Date: Jan 2017
Posts: 9
Default output kinematics lifting

Hello,
when I run kinematics it has file.txt and this file is many numerical. I need to know that a numerical, what does it mean.
Thank you.
FullBody-lifting5kg-euler-trunk.txt
Reply With Quote
  #9  
Old 05-12-2018, 07:33 PM
pgalibarov's Avatar
pgalibarov pgalibarov is offline
Senior Member
 
Join Date: Oct 2010
Posts: 946
Default

The file is self-explaining - it contains data optimized kinematics of the trunk (positions of pelvis in XYZ, rotations wrt global ref. frame, thoracopelvic flexion/lat. bending/rotation, and the neck flexion). See this description copied from the file below:

Code:
Variables (Column# Name): 
col0  Main.Studies.KinematicStudyForParameterIdentification.t
col1  Main.Studies.KinematicStudyForParameterIdentification.JointAngleOutputs.OutputFile1.PelvisPosX
col2  Main.Studies.KinematicStudyForParameterIdentification.JointAngleOutputs.OutputFile1.PelvisPosY
col3  Main.Studies.KinematicStudyForParameterIdentification.JointAngleOutputs.OutputFile1.PelvisPosZ
col4  Main.Studies.KinematicStudyForParameterIdentification.JointAngleOutputs.OutputFile1.PelvisRotX
col5  Main.Studies.KinematicStudyForParameterIdentification.JointAngleOutputs.OutputFile1.PelvisRotY
col6  Main.Studies.KinematicStudyForParameterIdentification.JointAngleOutputs.OutputFile1.PelvisRotZ
col7  Main.Studies.KinematicStudyForParameterIdentification.JointAngleOutputs.OutputFile1.PelvisThoraxExtension
col8  Main.Studies.KinematicStudyForParameterIdentification.JointAngleOutputs.OutputFile1.PelvisThoraxLateralBending
col9  Main.Studies.KinematicStudyForParameterIdentification.JointAngleOutputs.OutputFile1.PelvisThoraxRotation
col10  Main.Studies.KinematicStudyForParameterIdentification.JointAngleOutputs.OutputFile1.NeckExtension
These curves will be used to drive the trunk. You don't need to do anything special about it.

Kind regards,
Pavel
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 03:43 AM.