NEW Optimization desvar without relationship

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

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

 

 

 

 

 

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi Leslie,

     

    Maybe you can achieve this using Dequation.

     

    Please refer to Dequation in OptiStruct help on how to use it.

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Prakash Pagadala

     

    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

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    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.

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Prakash Pagadala

    with optiSlang/iSight/  i can import excel-datei for  this Typ desvar (of course solver is ansys ^ ^)