NEW Optimization desvar without relationship
Hi Guys,
i define not the Function, i want to define desvar b und h, the 2 variable have no relationship,
b =: 2, 4, 6,21,33,44:
h =: 7, 9, 4,20,40,80;
if b = 21 -> h= 40
if b = 33 -> h= 20
if b = 44 -> h= 88
if b = 2 -> h= 9
if b = 4 -> h= 4
if b = 6 -> h= 7
How can i define this Typ Parameter in HW, (from excel import ???)
Thanks VeryMuch!
Leslie
Answers
-
Hi Leslie,
Maybe you can achieve this using Dequation.
Please refer to Dequation in OptiStruct help on how to use it.
0 -
at first i define not the Function, i want to define desvar b und h, the 2 variable have no relationship,
something is impossible, but not easy
b =: 2, 4, 6,21,33,44:
h =: 7, 9, 4,20,40,80;
if b = 21 -> h= 40
if b = 33 -> h= 20
if b = 44 -> h= 88
if b = 2 -> h= 9
if b = 4 -> h= 4
if b = 6 -> h= 7
0 -
Hi,
Yes you are right. from the values I can see that B and H are not proportionate.
in such case, I doubt if it is possible to give such conditions in OptiStruct.
0 -
with optiSlang/iSight/ i can import excel-datei for this Typ desvar (of course solver is ansys ^ ^)
0