DRESP2



Your Ad Here

Bulk Data Entry

DRESP2 – Design Response via equations for design optimization

Description

When a desired response is not directly available from OptiStruct, it may be calculated using DRESP2.  This response can be a functional combination of any set of responses that are the result of a design analysis iteration.  These responses can be used as a design objective or as design constraints.  The DRESP2 card identifies the equation to use for the response relationship and the input values to evaluate the response function.  DRESP1 and DRESP1L cards cannot both exist in a DRESP2 definition.

Format

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

DRESP2

ID

LABEL

EQID
or
FUNC

REGION

 

 

 

 

 

 

DESVAR

DVID1

DVID2

DVDID3

DVDID4

DVDID5

DVDID6

DVDID7

 

 

 

DVDID8

 …

 

 

 

 

 

DTABLE

LABL1

LABL2

LABL3

LABL4

LABL5

LABL6

LABL7

 

 

 

LABL8

 …

 

 

 

 

 

DRESP1

NR1

NR2

NR3

NR4

NR5

NR6

NR7

 

 

 

NR8

 

 

 

 

 

DRESP1L

NR1

LIDR1

NR2

LIDR2

NR3

LIDR3

 

 

 

 

NR4

LIDR4

 

 

 

 

 

DGRID

G1

C1

G2

C2

G3

C3

 

 

 

 

G4

C4

 

 

 

 

 

DVPREL1

DPIP1

DPIP2

DPIP3

DPIP4

DPIP5

DPIP6

DPIP7

 

 

 

DPIP8

 

 

 

 

 

 

 

Example 1

DRESP2, 10, Sum, 999

$ Response #10 references equation #999

+, DESVAR, 11

$ DESVAR #11 is the first variable in equation #999

+, DTABLE, PI

$ Value of DTABLE entry PI is the second variable in equation #999

+, DRESP1, 1

$ DRESP1 #1 is the third variable in equation #999

+, DGRID, 11, 2

$ Y location of grid #11

+, DVPREL1, 22

$ DVPREL1 #22 is the fourth variable in equation #999

Example 2 Define a response that is the weighted average of 2 displacements

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

DRESP2

3

AVDIS

7

2

 

 

 

 

 

 

DRESP1

9

2

 

 

 

 

 

 

Associated Cards

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

DRESP1

 9

TOPN

DISP

1

 

3

 

4668

 

DRESP1

2

BOTN

DISP

1

 

3

 

5432

 

DEQATN

7

y(x1, x2) = (x1*1.5+ x2*4.0)/2

 

Field

Contents

ID

Response identity Each DRESP2 card must have a unique ID.

(Unique integer > 0)

LABEL

User defined name for the response.

(Character)

EQID

DEQATN identifier that defines the response relationship.

(Integer > 0)

FUNC

Function to be applied to the arguments.  See comment 14.  

(Character)

Region

Region identifier.  See comment 4.

(Integer > 0 or blank)

DESVAR

DESVAR flag indicating DESVAR ID numbers follow.

DVIDi

DESVAR IDs.

(Integer > 0)

DTABLE

DTABLE flag indicating DTABLE label numbers follow.

LABLi

Constant label in DTABLE data.

(Character)

DRESP1

DRESP1 flag indicating DRESP1 ID numbers follow.

Nri

DRESP1 IDs.  See comment 11.

(Integer > 0)

DRESP1L

DRESP1L flag indicating DRESP1 ID numbers and SUBCASE IDs follow.

LIDRi

SUBCASE IDs.

(Integer > 0)

DVPREL1

DVPREL1 flag indicating DVPREL1 ID numbers follow.

DPIPi

DVPREL1 IDs.

(Integer > 0)

DGRID

DGRID flag indicating Grid ID numbers and components follow.

Gi

Grid IDs.

(Integer > 0)

Ci

Component IDs (1, 2, or 3).

 Comments

  1. DRESP1 entries reference responses in the subcase defined by the associated DESOBJ, DESSUB, or DESGBL.  

  2. DRESP2 entries must have unique identification numbers with respect to DRESP1 and DRESP3 entries.

  3. DRESP1L defines a response defined with a DRESP1 and a SUBCASE.  The SUBCASE number 0 should be used for global responses.  

  4. Responses with the same region identifier are grouped together into the same region.  If the region identifier is blank or 0, then a separate region is formed for each DRESP2 definition.  The RTYPE EQUA on the DSCREEN definition refers to DRESP2 responses.  It is important to ensure that responses with the same region identifier reference similar equations.  Please read the User's Guide section Constraint Screening for a more detailed explanation.  

  5. The DESVAR/DTABLE/DRESP1(L)/DGRID/DVPREL1 cards must be defined in the order shown.  Any card may be deleted if not required but at least one must exist.

  6. The entries on the DRESP2 cards are assigned to the variable on the DEQATN card in the order that they occur.  For example 2 above x1 is the displacement response defined by the DRESP1 card with ID=9 and x2 is the displacement response defined by the DRESP1 card with ID=2.

  7. DRESP1 and DRESP1L cards cannot both exist in one DRESP2 definition.

  8. If DRESP1L is used for a constrained DRESP2, DESGLB must be used to identify the DRESP2.

  9. If DRESP1L is used in a DRESP2 objective function, then the DESOBJ that references the DRESP2 must be defined before the first Subcase.

  10. If the DRESP2 data is referenced by DESOBJ data, the DESOBJ data must be above the first SUBCASE if; 1) the DRESP2 contains DRESP1L data, 2) the DRESP2 contains no DRESP1 or DRESP1L data or, 3) the DRESP2 contains DRESP1 global responses.  The DESOBJ data must be in the correct static or eigenvalue SUBCASE if the DRESP2 contains static or eigenvalue DRESP1 responses.  

  11. DRESP1 of RTYPE = WCOMP, WFREQ, COMB, and BEADFRAC cannot be referenced by DRESP2 data.  

  12. DRESP1 of RTYPE = MASS, VOLUME, and COMP that uses ATTB = SUM cannot be referenced by DRESP2 data.  

  13. LABEL must begin with an alphabetical character.  

  14. The following functions can be used instead of an EQID.  If FUNC is used, the DEQATN entry is no longer needed.  The functions are applied to all arguments on the DRESP2 regardless of their type.  

Function

Description

Formula

SUM

Sum of arguments

 

AVG

Average of arguments

SSQ

Sum of square of arguments

RSS

Square root of sum of squares of arguments

MAX

Maximum of arguments

 

MIN

Minimum of arguments

 

SUMABS

Sum of absolute value of arguments

AVGABS

Average of absolute value of arguments

MAXABS

Maximum of absolute arguments

 

MINABS

Minimum of absolute value of arguments

 

Go To

Bulk Data Section

Guidelines for Bulk Data Entries

Alphabetical List of Bulk Data Entries

The Input File

 

Return to Altair HyperWorks Index