In Inverse dynamics,
I would like to define about external forces on 1500 nodes
and then I added codes as below in FreePostureMove model.
AnyFolder Force_1 = {
AnySeg &Trunk =Main.Model.HumanModel.Trunk.SegmentsLumbar.PelvisSeg;
AnySeg ReactionNodes = {
Mass=0;
Jii={0.0,0.0,0.0};
AnyRefNode node = {
sRel={0.0,0.0,0.0};
AnyDrawNode drw={ScaleXYZ={0.015,0.015,0.015}; RGB={1,0,0};};
};
};
AnyKinLinear Lin={
AnySeg &ref1=.Trunk;
AnySeg &ref2=.ReactionNodes;
Ref=0;
};
AnyKinRotational Rot={
AnySeg &ref1=.Trunk;
AnySeg &ref2=.ReactionNodes;
Type=RotAxesAngles;
};
AnyKinEqInterPolDriver LinDriver = { // move node linearly
Type = PiecewiseLinear ;
FileName = “Marker/Marker_lin/marker_1.txt”;
AnyKinMeasure &ref = .Lin;
Reaction.Type={Off,Off,Off};
};
AnyKinEqInterPolDriver RotDriver = { // move node rotationaly
Type = PiecewiseLinear ;
FileName = “Marker/Marker_rot/marker_1.txt”;
AnyKinMeasure &ref = .Rot;
Reaction.Type={Off,Off,Off};
};
AnyReacForce Force_1={
Type={On,On,On,On,On,On};
AnyKinLinear Lin={
AnySeg &ref1=…Trunk;
AnySeg &ref2=…ReactionNodes;
Ref=0; // local system
};
AnyKinRotational Rot={
AnySeg &ref1=…Trunk;
AnySeg &ref2=…ReactionNodes;
Type=RotAxesAngles; // local system
};
};
AnyForce3D Force_1 ={ // apply force
AnyFunInterpol load ={
Type=PiecewiseLinear;
FileName = “Marker/force/marker_force_1.txt”;
};
AnySeg &ref=.ReactionNodes;
F= load(t); // F is global direction, Flocal is local direction
};
};
Actually, I added this code for 1500 nodes.
So, when I loaded files, I got the error below.
ERROR(SYS1) : Memory Allocation Error - Model is likely too large or has too many timesteps : Unknown error
-
How should I deal with this Error?
I think this error is caused by lack of PC-memory… -
Is it possible to increase the amount of memory available for the calculation?If possible, please tell me how to increase the memory.
I use AMMRV1.4.1 repository and AnyBody 5.1.0,
and my PC is Windows7(64bit) and 16GByte-memory.
Many thanks,
Takahiro