Dear Sir
When I run the model given below I am not getting the export loads of a segment in an xml file
#include “…/libdef.any”
// Switch to use the detail neck model
#define UseDetailNeckModel 0
// Switch to include Arms
#define UseUpperExtremities 1
// Prefix for the output file names
// to distinguish the full body and the lower body models
#define OutputFileNamePrefix “FullBody-”
// Switch to save all results in output folder
#ifndef AutoSaveOption
#define AutoSaveOption 0
#endif
// Detailed description can be found at:
#include “Model/Description.any”
//Set this to 1 if you want to run the motion and Parameter Optimization identification
//**************************************************
#ifndef MotionAndParameterOptimizationModel
#define MotionAndParameterOptimizationModel 0
#endif
//Set this to 1 if you want to run the inverse dynamic analysis
#ifndef InverseDynamicModel
#define InverseDynamicModel 1
#endif
//Usually only have one of the two switches active so set the inactive analysis to 0
//**************************************************
// Following will include several predefined classes to generate markers and environments
// Usually, there is no need to make changes in this file:
#include “Model/Classes.any”
Main = {
// This file controls most of the Settings of your Model, the following items are defined here:
// 1. Marker Names
// 2. Marker locations
#include “Model/ModelSetup.any”
// Define the Environment around the human
#include “Model/Environment.any”
// This file controls most of the Trial Specific setup, the following items are defined here:
// 1. C3D file Name
// 2. Start and End Frame
// 3. Subject Anthropometric data
// 4. Initial guess on position
// If you want to run the model on your own data this is the place to start:
#include “Input/TrialSpecificData.any”
AnyFolder Studies ={
// Usually, there is no need to make changes in the following files. PLease be aware. that
// changes in the Kinematics and InverseDynamics may lead to model failure and/or unrealistic results:
#if MotionAndParameterOptimizationModel
#include “Model/Kinematics.any”
#endif
#if InverseDynamicModel
#include "Model/InverseDynamics.any"
#endif
AnyMechOutputFileForceExport FE_out =
{
FileName = “Output highload.xml”;
UseRefFrameOnOff = On;
AnyRefFrame & ref1 = Main.Studies.HumanModel.BodyModel.Right.Leg.Seg.Thigh;
AllSegmentsInStudyOnOff = Off;
XMLformatOnOff = On;
//AllSegmentsInStudyOnOff = Off;
AnySeg &thigh = Main.Studies.HumanModel.BodyModel.Right.Leg.Seg.Thigh;
};
AnyOperationShellExec ConvertToAbq={
Show=On;
FileName = "Output\AnyFE2Abq\AnyFE2Abq.exe";
Arguments = "-i .\Output highload.xml -o .\Output\output.inp -m .\Output\implant.inp";
WorkDir=".\ ";
};
};
}; //Main
And if I use this program
#include “…/libdef.any”
// Switch to use the detail neck model
#define UseDetailNeckModel 0
// Switch to include Arms
#define UseUpperExtremities 1
// Prefix for the output file names
// to distinguish the full body and the lower body models
#define OutputFileNamePrefix “FullBody-”
// Switch to save all results in output folder
#ifndef AutoSaveOption
#define AutoSaveOption 0
#endif
// Detailed description can be found at:
#include “Model/Description.any”
//Set this to 1 if you want to run the motion and Parameter Optimization identification
//**************************************************
#ifndef MotionAndParameterOptimizationModel
#define MotionAndParameterOptimizationModel 0
#endif
//Set this to 1 if you want to run the inverse dynamic analysis
#ifndef InverseDynamicModel
#define InverseDynamicModel 1
#endif
//Usually only have one of the two switches active so set the inactive analysis to 0
//**************************************************
// Following will include several predefined classes to generate markers and environments
// Usually, there is no need to make changes in this file:
#include “Model/Classes.any”
Main = {
// This file controls most of the Settings of your Model, the following items are defined here:
// 1. Marker Names
// 2. Marker locations
#include “Model/ModelSetup.any”
// Define the Environment around the human
#include “Model/Environment.any”
// This file controls most of the Trial Specific setup, the following items are defined here:
// 1. C3D file Name
// 2. Start and End Frame
// 3. Subject Anthropometric data
// 4. Initial guess on position
// If you want to run the model on your own data this is the place to start:
#include “Input/TrialSpecificData.any”
AnyFolder Studies ={
// Usually, there is no need to make changes in the following files. PLease be aware. that
// changes in the Kinematics and InverseDynamics may lead to model failure and/or unrealistic results:
#if MotionAndParameterOptimizationModel
#include “Model/Kinematics.any”
#endif
#if InverseDynamicModel
#include "Model/InverseDynamics.any"
#endif
AnyMechOutputFileForceExport FE_out =
{
FileName = “Output highload.xml”;
UseRefFrameOnOff = On;
AnyRefFrame & ref1 = Main.Studies.HumanModel.BodyModel.Right.Leg.Seg.Thigh;
AllSegmentsInStudyOnOff = Off;
XMLformatOnOff = On;
//AllSegmentsInStudyOnOff = Off;
AnySeg &thigh = Main.Studies.HumanModel.BodyModel.Right.Leg.Seg.Thigh;
};
AnyOperationShellExec ConvertToAbq={
Show=On;
FileName = "Output\AnyFE2Abq\AnyFE2Abq.exe";
Arguments = "-i .\Output highload.xml -o .\Output\output.inp -m .\Output\implant.inp";
WorkDir=".\ ";
};
};
AnyBodyStudy Study = {
AnyFolder &Model = .Model;
tEnd = 10.0;
Gravity = {0.0, -9.81, 0.0};
nStep = 5;
}; //Main
I get this error
ERROR(OBJ1) : C:/U…s/csio/A…a/R…g/A…y/A…x/A…o/A…n/E…s/M…l/M…l/JointsAndDriversOptimized.any(12) : JntDriverTrunk : Time, ‘t’, has an invalid value for this interpolation
Model loading skipped
Please help to find the error
Thanks & regards
Mithun