error 557 while trying to execute a multiobjective optimization with the dresp2 "function" card

Altair Forum User
Altair Forum User
Altair Employee
edited October 2023 in Community Q&A

Hello,

 

i was trying to make a multi-objective optimization by combining a 'massfrac' and a 'compliance' response in the dresp2 'function' card. Unfortunately I always get the following error message:

 

  A fatal error has been detected during input processing:

  *** ERROR # 557 ***
  DRESP2 3 is not referenced above the first SUBCASE.
  This type of response must be specified above the first
  SUBCASE.
  This error occurs in DESOBJ 3.

 

I don't understand how I'm supposed to reference the dresp2 above the first subcase. The Hyperworks Help does not specify how to reference it above the subcase only that in some cases it is necessary. I tried to create the responses before creating the loadstep but that didn't solve it. I also tried to just cut+paste the objective section from the subcase information in the .fem-file infront of the loadstep section. But running the edited .fem-file from the command prompt didn't work either. Am I missing something here?

 

The .fem-file is (hopefully) attached. Thanks for any helpful tip!

 

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited September 2016

    Hi Sebroop,

     

    In Dequation you have two variables. X1 and X2. Can you please tell me what they refer to?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2023

    Hi Sebroop,

     

    Try the attached deck:

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2023

    Hello Prakash,

     

    When I tried to run the optimization. I face below error

    *** ERROR # 557 ***
     DRESP1 1 is not referenced from within a linear heat transfer SUBCASE.
     This type of response must be specified from within a linear heat transfer
     SUBCASE.
     This error occurs in DESOBJ 1.

     

    I have attached the fem file for reference can you please help to understand where I am doing mistake

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2023
  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2017

    Hello Prakash,

     

    Can you please show me how you moved them to subcase.

     

    thanks.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2017

    Hi @Darshan

    Compare the old and new file in text editor and you will notice thar DesObj lines are different. 

    <?xml version="1.0" encoding="UTF-8"?>Desobj.PNG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2023

    Hello Prakash,

     

    How you are able to fix the error. I tried with different model but I keep on getting the same error. I tried to create load step after objective but still same the error. Can you please explain in few steps how you fixed it. Attached is the file I am working on to fix the issue.

     

    Thanks,

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    Hi Darshan,

     

    Open the .fem file in any text editor and move objective function below the subcase. 

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2019

    Hello, I found the same error:


     *** ERROR # 557 ***
     DRESP1 2 is not referenced above the first SUBCASE.
     This type of response must be specified above the first 
     SUBCASE.
     This error occurs in DESSUB 2.

     

    I read the topic but I didn't understand how to fix the problem.

    Could you kindly help me understand?

    Thanks in advance.


    Alberto

  • Divan.46
    Divan.46 Altair Community Member
    edited October 2023

    Hello good people,

    I am getting the same error.

    *** ERROR # 557 ***
      DRESP2 3 is not referenced above the first SUBCASE.
      This type of response must be specified above the first
      SUBCASE.
      This error occurs in DESOBJ 3.

    can you please tell me how to fix this from the solver graphics window?

    I am attaching my FEM file

  • D_21643
    D_21643 Altair Community Member
    edited July 2023

    Hi Darshan,

     

    Open the .fem file in any text editor and move objective function below the subcase. 

    Thanks, this worked for me. I don't understand why though as the error suggests that the Obj should be above the subcase...

    "DRESP2 3 is not referenced above the first SUBCASE.
      This type of response must be specified above the first SUBCASE."