Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

How to combine different output sets in the Case Control?

Status
Not open for further replies.

Francesco Bro

Aerospace
Jan 31, 2021
24
0
0
AR
I have different sets defined in the Case Control. My understanding is that output request variables are limited to only one SET, so my question is how can I combine multiple sets into a single one, and then reference this later one in the output variable?

For instance:

$* CASE CONTROL
SET 1 = ...
SET 2 = ...
SET 10 = ...
SET 11 = ...
SET 1000 = ...
SET 1001 = ...
$*
ECHO = NONE
OUTPUT
DISPLACEMENT(PLOT,REAL) = ...(A set that merges SET 1 and SET 2)...
FORCE(PLOT,REAL,CENTER) = ...(A set that merges SET 10 and SET 11)...
STRESS(PLOT,REAL,VONMISES,CENTER) = ...(A set that merges SET 10, 11, 1000, 1001)...
 
Replies continue below

Recommended for you

You can use command ALL if some redundant results are acceptable.

DISPLACEMENT(PLOT) = ALL
SPCFORCE(PLOT) = ALL
FORCE(PLOT,CORNER) = ALL
STRESS(PLOT,CORNER) = ALL

UPD. Or you can combine entity list from all sets.
Inset coma to the last entity in list in SET 1. Then paste entity list from SET2 from the new line. Insert coma after last entity in list and repeat.
Image_3_gyqx0l.png
 
Yeah, I think the solution is copy & paste. Tried requesting multiple copies of an output, like

SET 1=10 THRU 20
SET 2=50 THRU 60
DISP = 1
DISP = 2

and Nastran ignores all but the last. Depending on what you're interested in, you could maybe do a separate subcase for each request, maybe combine them in a post processor. That's ugly, though. Seems like the least clunky thing to do is just create a new set, copy and paste from the sets you want to combine. Luckily, Nastran doesn't mind having repeated values in a set, it's perfectly happy with the following:

SET 1=10 THRU 20
SET 2=15 THRU 25
SET 3=10 THRU 20,15 THRU 25
DISP = 3

So copy/paste gets the job done.
 
Status
Not open for further replies.
Back
Top