Error 557 DRESP2 15 is not referenced above the first SUBCASE. This type of response must be specified above the first SUBCASE.

Nicolò Lodini_21379
Nicolò Lodini_21379 New Altair Community Member
edited October 2023 in Community Q&A

Hello, I'm trying to set a single objective multiweighted topology optimization but I get this error, what can I do to fix it ?

 

DRESP2 15 is not referenced above the first SUBCASE.
 This type of response must be specified above the first 
 SUBCASE.
 This error occurs in DESOBJ 4.
   IN ADDITION    200 MB RAMDISK AREA WAS ALLOCATED IN MEMORY
 MAXIMUM DISK SPACE USED 

Answers

  • Johan Dahlberg_20306
    Johan Dahlberg_20306
    Altair Employee
    edited October 2023

    Hi Nicolo
    Below is changes to your deck that will make simulation to run (edited in text editor since it seems to be hard to get all cards correct via GUI) 

    So, dresp20 calls for dresp1 #id2 for subcase 3 , which in turn is used in dresp2 #id 15

    I have not looked at the optimisation set-up as such!

    Good luck with trying it out!

    /johan

    ***************

    DESGLB        2

    DESOBJ(MIN)=15
    $
    $
    $HMNAME LOADSTEP               3"LoadStep"       1
    $
    SUBCASE        3
      LABEL LoadStep
    ANALYSIS STATICS
      SPC =        1
      LOAD =        4
    $$--------------------------------------------------------------
    $$ HYPERMESH TAGS 
    $$--------------------------------------------------------------
    $$BEGIN TAGS
    $$END TAGS
    $
    BEGIN BULK
    $$
    $$  Stacking Information for Ply-Based Composite Definition
    $$

     

    $HMNAME DESVARS        1design_prop
    DTPL    1       PSOLID  2       
    $$
    $$  OPTIRESPONSES Data
    $$
    DRESP1  2       disp1   DISP                        TXYZ            2699
    DRESP1  6       Vol_fracVOLFRAC                                 
    DRESP1  14      mass    MASS    PSOLID                                 2
    DRESP2  20      DISPsub AVG
    +       DRESP1L 2       3

    DRESP2  15      media_pe       1        
    +       DRESP1        14

    +       DRESP2        20
    $
    $HMNAME DEQUATIONS       1Media_pesata_obiettivi
    $
    DEQATN  1       f(x,y)=0.1*x+0.9*y
    $
    $$  OPTICONSTRAINTS Data