How to define/set Dreps 2/Deqatn in ordewr to achieve design objective and design constraints

prasad jadhav
prasad jadhav Altair Community Member
edited March 2022 in Community Q&A

I want to optimize H and W keeping following objective and constraints . How can I use Dres2 or Deqatn for defining one of the design variables.

image

Answers

  • Adriano A. Koga
    Adriano A. Koga
    Altair Employee
    edited March 2022

    You will need:

    - define design variables for each of your box dimensions H, W, T1 and T2 (by using PBEAML or PBARL the dimensions are easier to transform in a Design Variable). (create design variables, and assign them to each field in the PBEAML using the DVPREL)

    - create DESVAR LINKS (DLINK) to make sure the Ti = Ci*MasterDimension/ You will have 2 desvar links

    - create a design equation (DEQTN) and write down your formula  F(W,H,T1,T2) = W*H - (H-2*T2)**W-2*T1). Pay attention in the arguments (W,H,T1,T2) order.

    - once you have your equation, go to Responses and create a 'function' response, adding your equation to it. Then click 'edit'. Inside the edit panel, you will need to define your equation arguments IN THE EXACT order as your equation shows. (turn on DESVAR, and pick in the exact order)

    image

    - once you finish, hit create and your new 'Area' response will be created

    - add a Design Constraint to it, defining the bounds for it.

     

  • prasad jadhav
    prasad jadhav Altair Community Member
    edited March 2022

    You will need:

    - define design variables for each of your box dimensions H, W, T1 and T2 (by using PBEAML or PBARL the dimensions are easier to transform in a Design Variable). (create design variables, and assign them to each field in the PBEAML using the DVPREL)

    - create DESVAR LINKS (DLINK) to make sure the Ti = Ci*MasterDimension/ You will have 2 desvar links

    - create a design equation (DEQTN) and write down your formula  F(W,H,T1,T2) = W*H - (H-2*T2)**W-2*T1). Pay attention in the arguments (W,H,T1,T2) order.

    - once you have your equation, go to Responses and create a 'function' response, adding your equation to it. Then click 'edit'. Inside the edit panel, you will need to define your equation arguments IN THE EXACT order as your equation shows. (turn on DESVAR, and pick in the exact order)

    image

    - once you finish, hit create and your new 'Area' response will be created

    - add a Design Constraint to it, defining the bounds for it.

     

    Thanks a lot. I will work on this. It is quite helpful.

  • prasad jadhav
    prasad jadhav Altair Community Member
    edited March 2022

    Thanks a lot . It is working. In addition to above, I wanted to add one more condition.

    Instead of fixed inner area for all beams, if i want to keep maximum of all inner  areas same for all beams , can i add any condition in optimization.