hi
I need your usefull help about varying velocity study in drivers.
how can I do that?
how can i change the velocity value variably? e.g how can i use the value of the velocity in drivers in variable value?
Hi Sharafataddi,
if you insert for example the AnyKinDriver template you will get the following:
AnyKinDriver <ObjectName>=
{
//MeasureOrganizer = {};
//CType = ;
//WeightFun = {};
//DriverPos0 = {};
//DriverVel0 = {};
//DriverAcc0 = {};
//AnyKinMeasure &<Insert name0> = <Insert object reference (or full object definition)>; You can make any number of these objects!
//AnyParamFun &<Insert name0> = <Insert object reference (or full object definition)>; You can make any number of these objects!
};
The velocity can then be modified with the DriverVel0 parameter. There are similar velocity parameters for the other drivers. Use the template or look into the reference manual for the specifics.
If you use a variable at this point you can start a parameter study to vary the value of this variable:
AnyParamStudy <ObjectName>=
{
//LogFile = “”;
/Analysis =
{
Settings =
{
Echo = On;
ModelSceneUpdate = On;
};
//AnyOperation &<Insert name0> = <Insert object reference (or full object definition)>; You can make any number of these objects!
};/
nStep={};
AnyDesVar &<Insertname0>=<Insertobjectreference(orfullobjectdefinition)>;
//AnyDesVar &<Insert name1> = <Insert object reference (or full object definition)>; You can make any number of these objects!
AnyDesMeasure &<Insertname0>=<Insertobjectreference(orfullobjectdefinition)>;
//AnyDesMeasure &<Insert name1> = <Insert object reference (or full object definition)>; You can make any number of these objects!
};
There is a tutorial on the usage of paramter studies, just have a look here:
http://www.anybodytech.com/fileadmin/AnyBody/Docs/Tutorials/chap12_Parameter_studies_and_optimization/intro.html
I hope this answers your question.
Regards
Patrick
Just to supplement Patrick’s detailed answer: The AnyKinEqSimpleDriver can drive to constant position, with constant velocity or with constant acceleration. The latter is of course a varying velocity, but it may not be exactly the variation you are looking for.
If you are looking for a different type of velocity variation, then you may have to use one of the more general drivers, for instance the polynomial driver, the Fourier driver or the interpolation driver. With those types you can create any movement you want.
Best regards,
John