error 557 while trying to execute a multiobjective optimization with the dresp2 "function" card
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
-
Hi Sebroop,
In Dequation you have two variables. X1 and X2. Can you please tell me what they refer to?
0 -
-
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
0 -
-
Hello Prakash,
Can you please show me how you moved them to subcase.
thanks.
0 -
Hi @Darshan
Compare the old and new file in text editor and you will notice thar DesObj lines are different.
0 -
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,
0 -
Hi Darshan,
Open the .fem file in any text editor and move objective function below the subcase.
1 -
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.
Alberto0 -
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 file0 -
Altair Forum User said:
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."0