Hi,
I’m doing parameter study from my previous analysis model.
I know that usual parameter study is possible by defining a AnyOutputFun class in the existing AnyBodyStudy and by creating a new AnyParamStudy class which includes an AnyDesMeasure from the defined AnyOutputFun class.
What I try is to use an estimated force from conditional contact as the value of AnyOutputFun and thus as an AnyDesMeasure for AnyParamStudy.
For example, assuming that I want to see how GRF (at a contact node) is changed when some variables varies, I may use a normal force of GRF (from conditional contact) as the design measure of parameter study;
AnyBodyStudy Study = {
AnyFolder &Model = .Model;
...
AnyOutputFun GRF =
{
Val = Main.Model.ModelEnvironmentConnection.Drivers.ConditionalContact.RightFootSupport.Contac1.Push.NormalForceScalar;
};
}; // End of study
AnyParamStudy ParamStudy = {
Analysis =
{
Settings =
{
Echo = On;
ModelSceneUpdate = On;
};
AnyOperation &Operation = ..Study.InverseDynamics;
};
AnyDesVar var1 = { ... };
AnyDesVar var2 = { ... };
AnyDesMeasure GRF =
{
Val = min(..Study.GRF());
};
nStep = ... ;
};
But I could not make it with this code, showing these error messages;
‘Val’ : Expression evaluation failed at moment ‘OutputVar’ :
NormalForceScalar : argument will not be ready for evaluation until moment ‘RuntimeVar’
Is there any way to use conditional contact force as design measure for a parameter study?
Thanks in advance.
Sincerely yours,
Dong-Pyoung.