Restart Nastran
Restart Nastran
Restart Nastran
Todays Agenda
Introduction to restarts Structure of the MSC.Nastran input file User Interface for a restart. Restart in Static analysis Restart in Dynamic analysis
What is a restart?
A restart is an MSC Nastran run that makes use of already-stored-in-the-database info (instead of re-calculating the exact same set of data. Again. And again) Restarts are fairly intelligent
Make use of data stored in MASTER/DBALL files Evaluates what has changed in the input deck Removes any existing matrices/tables that would be affected by those changes (if any) Retains any that are not Re-calculates only what is necessary No user directions required
MASTER/ DBALL
Better
Faster
Cheaper
5
Of these steps, #4 is the most costly (wall-clock time, CPU resources, & license checkout duration)
Anywhere ~after #4 makes sense (non-SE run) Almost anytime if only a few SE are changing
Modal Response
(MASTER) (DBALL)
Knows where everything is stored (index) Where all the 1s and 0s are stored
2. The Bulk
3. The Fleeting
(SCRATCH)
10
MASTER/ DBALL
Restart run:
FMS:
Reference existing database via ASSIGN statement Add RESTART command
Coldstart run
ASSIGN MASTER='Ex_01.MASTER', DELETE $ Remove old ASSIGN DBALL='Ex_01.DBALL', DELETE $ databases :
Restart Run
ASSIGN MASTER='Ex_01.MASTER', OLD ASSIGN DBALL='Ex_01.DBALL', OLD RESTART : $ Insure old $ (OPTIONAL) $ Required!!!
11
Coldstart
SOL 101 CEND LOAD = 100 SPC = 200
Restart
SOL 101 CEND $ $ LOAD = 100 SPC = 200
BEGIN BULK :
BEGIN BULK :
12
Remove items via the slash entry /,n1,n2 to remove sorted bulk data entries n1 through n2
Common technique is to remove all lines ( /,1,99999) and then reinclude entire bulk data deck Convenient, not necessarily efficient
13
Ex01_CS_00.dat Ex01_RS_01.dat
Coldstart run
ASSIGN MASTER='Ex_01.MASTER', DELETE $ Remove old ASSIGN DBALL='Ex_01.DBALL', DELETE $ databases $ $ SOL 101 CEND TITLE=Restart Example 01 - COLDSTART RUN LOAD = 100 DISP = ALL $ $ $ BEGIN BULK CELAS2, 10, 1.E5, 2000 SLOAD, 100, 2000, 535. ENDDATA
Restart Run
ASSIGN MASTER='Ex_01.MASTER', OLD $ Insure old ASSIGN DBALL='Ex_01.DBALL', OLD $ (OPTIONAL) RESTART $ Required!!! $ SOL 101 CEND TITLE=Restart Example 01 - Data Recovery Restart LOAD = 100 $ Load did not change so keep it $ DISP = ALL $ This IS a change $ FORCE=ALL $ New request $ BEGIN BULK $ Nothing changed in Bulk Data, so nothing $ needs to be in bulk data ENDDATA
14
3 M O D E L S U M M A R Y NUMBER OF CELAS2 ELEMENTS = 1 ________________________________________________________________________________________________________________________ RESTART EXAMPLE 01 - DATA RECOVERY RESTART MAY 5, 2010 MD NASTRAN 5/ 9/08 PAGE 5 ________________________________________________________________________________________________________________________ RESTART EXAMPLE 01 - DATA RECOVERY RESTART MAY 5, 2010 MD NASTRAN 5/ 9/08 PAGE 6
F O R C E S I N S C A L A R S P R I N G S ( C E L A S 2 ) ELEMENT FORCE ELEMENT FORCE ELEMENT FORCE ELEMENT FORCE ID. ID. ID. ID. 10 5.350000E+02 ________________________________________________________________________________________________________________________ RESTART EXAMPLE 01 - DATA RECOVERY RESTART MAY 5, 2010 MD NASTRAN 5/ 9/08 PAGE 7 . . . . . . ________________________________________________________________________________________________________________________ * * * END OF JOB * * *
TOTAL COUNT=
15
16
How do I use one? Example 2 Read Only STATIC - Data Recovery case
Data Recovery Read Only Restart Example
Nothing new to solve Only difference is output request No Bulk Data required (!)
Coldstart run
ASSIGN MASTER='Ex_01.MASTER', DELETE $ Remove old ASSIGN DBALL='Ex_01.DBALL', DELETE $ databases $ $ SOL 101 CEND TITLE=Restart Example 01 - COLDSTART RUN LOAD = 100 DISP = ALL $ $ $ BEGIN BULK CELAS2, 10, 1.E5, 2000 SLOAD, 100, 2000, 535. ENDDATA
Restart Run
ASSIGN STATIC ='Ex_01.MASTER', OLD $ Insure old
RESTART LOGICAL = STATIC $ Required!!! $ SOL 101 CEND TITLE=Restart Example 01 - Data Recovery Restart LOAD = 100 $ Load did not change so keep it $ DISP = ALL $ This IS a change $ FORCE=ALL $ New request $ BEGIN BULK $ Nothing changed in Bulk Data, so nothing $ needs to be in bulk data ENDDATA
17
$$$
Size dependency
If job only takes 3 minutes to run, why bother?
18
Record FORCE
:Entry :
:Item :CID
: 1 1 1 1
0.0 PHASE0 1409 RESTART END 0.0 PHASE0 1410 IF BEGN 0.0 PHASE0 1415 ENDIF BEGN 0.0 PHASE0 1416 RESTART BEGN DB-Data Block or P-Parameter or VP-Virtual Parameter : Count): PG :DB: 1 PGGRV :DB: 1 PSS :DB: 1 PA :DB: 1 PAGRV :DB: 1 PCHNG :P : 1 CRX :DB: 1 EPSSEX :DB: 1 LOADGENX:P : 1 VGFD :DB: 1 FREQDEPS:P : 1 SLT :DB: 1 0.0 PHASE0 1416 RESTART END
19
Ex03_CS_00.dat Ex03_RS_01.dat
Restart Run
INIT MASTER(S) $ SCRATCH run! ASSIGN MODES='modes.MASTER', old $ Reference $ $ RESTART LOGICAL=MODES $ Note $ SOL 111 $ Modal Frequency Response CEND $ TITLE = Restart Ex 2 - Modal Freq Response $ DISPL(PLOT)=ALL ACCEL(PLOT)=ALL $ METHOD = 10301 $ Do NOT change this! $ SDAMP = 11101 DLOAD = 11102 FREQ = 11103 OUTPUT(XYPLOT) $ 21 XYPUNCH ACCE /111(T3RM), 211(T3RM) BEGIN BULK
Ex04_run1.dat Ex04_run2.dat
Coldstart run
$ Harmonic Load, Output Frequencies, and Damping PARAMs
2000. 1.
3000. 0.
99999. 0.
ENDT
param,wtmass,.00259
conm2,999,99,,1.e8 suport,99,123
freq1,604,50.,50.,30
$ Followed by Grid and Element data ENDDATA
22
Ex04_run1.dat Ex04_run2.dat
Restart run
11108
ENDDATA
23
Ex05_run1.dat Ex05_run2.dat
Coldstart run
$ Large masses that are used in the enforced motion CONM2, 1017, 17, , 1.0E6 CONM2, 1071, 71, , 1.0E6 $ $ Followed by Grid and Element data ENDDATA
24
Ex05_run1.dat Ex05_run2.dat
Restart run
XYPUNCH ACCEL/5(T3) XYPUNCH ACCEL/95(T3)
25
Coldstart run
SOL 106 CEND $ data recovery requests STRESS(PLOT,SORT1,REAL,VONMISES,BILIN)=ALL NLSTRESS(PLOT)=ALL $ This constraint will apply to all subcases... so put above SPC = 2 SUBCASE 10 SUBTITLE=25% of load NLPARM = 10 LOAD = 100 $ BEGIN BULK PARAM POST 0 PARAM $ NLPARM 10
Coldstart run
LGDISP 1 PARAM,NOCOMPS,-1
10
$ Nodal Forces of Load Set : force-a FORCE FORCE 1 1 61 62 0 0 10000. 0. 10000. 0. 0. 0. -1. -1.
FORCE
63
10000. 0.
0.
-1.
*** USER INFORMATION MESSAGE 6186 (NCONVG) *** SOLUTION HAS CONVERGED *** SUBID 1 LOOPID 13 LOAD STEP 1.000 LOAD FACTOR 1.00000000
^^^ USER INFORMATION MESSAGE 9005 (NLSTATIC) ^^^ THE SOLUTION FOR LOOPID= 13 ^^^ ^^^ USER INFORMATION MESSAGE 9052 (NLSTATIC) ^^^ NONLINEAR STATIC ANALYSIS COMPLETED. ^^^ 1 SAMPLE NONLINEAR READ-ONLY RSTART SERIES... RUN1, THE COLD START JULY 31, 2008 MSC.NASTRAN 4/ 3/07 PAGE 46 IS SAVED FOR RESTART
47
Restart Run
$ first subcase with a percentage of the loading (controlled by scale factor on load card)
$
SOL 106 TIME 600 CEND TITLE = sample nonlinear read-only rstart series... run2, first restart ECHO = sorted $ data recovery requests STRESS(PLOT,SORT1,REAL,VONMISES,BILIN)=ALL NLSTRESS(PLOT)=ALL $ This constraint will apply to all subcases... so put above SPC = 2 $ define which loopid from the .f06 file to restart from $ and which subcase to restart into... in this case the second PARAM,LOOPID,13 PARAM,SUBID,2
NLPARM = 20
LOAD = 200 BEGIN BULK $ only NEW information is in the bulkdata... everything else is removed. NLPARM 20 5
$ new load card with scale factor of .5 applied to the same forces as in run1 LOAD 200 1. .50 1
ENDDATA
Restart Run
assign run3 ='a129.MASTER' restart logical=run3 SOL 129 $ NonLinear Transient Response
DISPL=ALL
STRESS=ALL SUBCASE 12901 $ Nonlinear Transient Response LoadSet = 199 DLOAD = 12901 TSTEPNL = 12902
CEND
DISPL=ALL STRESS=ALL param,loopid,1 param,stime,0.05 SUBCASE 12901 $ Nonlinear Transient Response
BEGIN BULK
TLOAD1 12901 12903 TSTEPNL 12902 5 lseq,199,12903,99 PARAM,LGDISP,+1 PARAM W3 PARAM G 1000. .08 .01 0 1 12904
LoadSet = 199
DLOAD = 12901 TSTEPNL = 12902 SUBCASE 12902 $ Nonlinear Transient Response TSTEPNL = 12903 BEGIN BULK TSTEPNL 12903 5 ENDDATA .01 1
Hot Line Support http://support.mscsoftware.com/servicerequest/ Visit SimCompanion to find answers fast and leverage all technical support resources. http://simcompanion.mscsoftware.com Attend a training course to help improve productivity. http://www.mscsoftware.com/training Leverage engineering services to accelerate the benefits of virtual product development with confidence. http://www.mscsoftware.com/services
34
35