```
TALK=F;RUN( 1, 1)

************************************************************
Q1 created by VDI menu, Version 2007, Date 16/01/07
CPVNAM=VDI;SPPNAM=Core
************************************************************
Echo DISPLAY / USE settings
DISPLAY
Stresses are considered in rotating disk with StrZ = 0:
Omega   - Angular velocity of the rotation,
DenBody - density,
RO      - radius of disk.
Exact solution (Timoshenko, paragraph 32):

V = DenBody*Omega^2*RO^3 * (1-P)/8/E * { R1*(3+P) -
R1^3*(1+P) },
R1 = R/RO

ENDDIS
PHOTON USE
p;;;;

set prop off
cl
msg PRPS field
gr ou z 1
con prps z 1  fi;1.0

pause
cl
msg x-displacement field
gr ou z 1
con DISX z 1  fi;.0001
SET VEC COMP - - -
SET VEC COMP DISX DISY -
VECT IZ 1 SH DASH 0

pause
cl
msg y-displacement field
gr ou z 1
con DISY z 1 fi;.0001

pause
cl
msg epsx field
gr ou z 1
con epsx z 1 fi;.0001

pause
cl
msg epsy field
gr ou z 1
con epsy z 1 fi;.0001

pause
cl
msg strx field
gr ou z 1
con strx z 1 fi;.0001

pause
cl
msg stry field
gr ou z 1
con stry z 1 fi;.0001

ENDUSE
************************************************************
IRUNN   =         1 ;LIBREF =       661
************************************************************
Group 1. Run Title
TEXT(Stress in a rotating 2D[x,y] disk; S661 )
************************************************************
Group 2. Transience
************************************************************
Groups 3, 4, 5  Grid Information
* Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
RSET(M,10,31,1,3.225810E-05)
* Cylindrical-polar grid
CARTES=F
************************************************************
Group 6. Body-Fitted coordinates
************************************************************
Group 7. Variables: STOREd,SOLVEd,NAMEd
ONEPHS  =    T
* Non-default variable names
NAME(137) =V1/T ; NAME(138) =V1TH
NAME(139) =EPSZ ; NAME(140) =EPSY
NAME(141) =STRY ; NAME(142) =EPSX
NAME(143) =STRX ; NAME(144) =DRH1
NAME(145) =DVO1 ; NAME(146) =ENUL
NAME(147) =DEN1 ; NAME(148) =PRPS
NAME(149) =DISY ; NAME(150) =DISX
* Solved variables list
SOLVE(DISY,DISX)
* Stored variables list
STORE(PRPS,DEN1,ENUL,DVO1,DRH1,STRX,EPSX,STRY)
STORE(EPSY,EPSZ,V1TH,V1/T)
* Additional solver options
SOLUTN(DISY,Y,Y,Y,N,N,Y)
SOLUTN(DISX,Y,Y,Y,N,N,Y)

************************************************************
Echo InForm settings for Group  7
inform7begin

REAL(DenBody,RO,OMEGA,POISSON,YOUNG)
DenBody = 7800
OMEGA =100 * 6.28
RO = 0.1
YOUNG   = 1/(0.5E-11) ! Young's modulus
POISSON=0.3           ! Poisson's ratio

real(FVY)
FVY = DenBody*Omega**2

REAL(CC0, CC1, CC2)
CC0 = FVY*RO**3*(1-POISSON)/YOUNG/8
CC1 = (3+POISSON)/RO
CC2 = (1+POISSON)/RO**3
char(formV)
formV=:CC0:*(RG*:CC1:-:CC2:*RG^3)
(STORED VAR V1TH IS :formV:)
(STORED VAR V1/T IS DISY/V1TH)
inform7end
************************************************************
Group 8. Terms & Devices
TERMS (DISY,N,N,Y,N,Y,N)
TERMS (DISX,N,N,Y,N,Y,N)
************************************************************
Group 9. Properties
* Domain material index is 160 signifying:
* NOTSET
SETPRPS(1,160,Q1)
ENUT    = 0.000000E+00
DRH1DP  = 5.000000E-12
DVO1DT  = 1.000000E-05
*  List of user-defined materials to be read by EARTH
MATFLG=T;IMAT=1
*  Name
*Ind. Dens.  Viscos.  Spec.heat  Conduct.  Expans.  Compr.
*
160 7800.0 0.3 473.0 43.0 1.0E-5 0.5E-11
************************************************************
Group 10.Inter-Phase Transfer Processes
************************************************************
Group 11.Initialise Var/Porosity Fields
FIINIT(V1/T) =  1.001000E-10 ;FIINIT(V1TH) =  1.001000E-10
FIINIT(EPSZ) =  1.001000E-10 ;FIINIT(EPSY) =  1.001000E-10
FIINIT(STRY) =  1.001000E-10 ;FIINIT(EPSX) =  1.001000E-10
FIINIT(STRX) =  1.001000E-10 ;FIINIT(DRH1) =  1.001000E-10
FIINIT(DVO1) =  1.001000E-10 ;FIINIT(ENUL) =  1.001000E-10
FIINIT(DEN1) =  1.001000E-10 ;FIINIT(PRPS) =  1.600000E+02
FIINIT(DISY) =  1.001000E-10 ;FIINIT(DISX) =  1.001000E-10
No PATCHes used for this Group

************************************************************
Group 12. Convection and diffusion adjustments
No PATCHes used for this Group
************************************************************
Group 13. Boundary & Special Sources

PATCH (LOWX    ,WWALL ,1,0,0,0,0,0,1,1)
COVAL (LOWX    ,DISX, 1.000000E+00, 0.000000E+00)

PATCH (HIGHX   ,EWALL ,2,0,0,0,0,0,1,1)
COVAL (HIGHX   ,DISX, 1.000000E+00, 0.000000E+00)

PATCH (BODY    ,VOLUME,0,0,0,0,0,0,1,1)

EGWF    =    T
************************************************************
Echo InForm settings for Group 13
INFORM13BEGIN
(SOURCE of DISY at BODY is COVAL(FIXFLU,:FVY:*RG))
INFORM13END
************************************************************
Group 14. Downstream Pressure For PARAB
************************************************************
Group 15. Terminate Sweeps
LSWEEP  =       100
RESFAC  = 1.000000E-07
************************************************************
Group 16. Terminate Iterations
************************************************************
Group 17. Relaxation
************************************************************
Group 18. Limits
************************************************************
Group 19. EARTH Calls To GROUND Station
USEGRD  =    T  ;USEGRX =    T
STRA    =    T
ASAP    =    T
PARSOL  =    T
CONWIZ  =    T
ISG21   =       100
ISG52   =         3
CSG10   ='q1'
************************************************************
Group 20. Preliminary Printout
ECHO    =    T
************************************************************
Group 21. Print-out of Variables
OUTPUT(DRH1,N,N,N,N,N,N)
OUTPUT(DVO1,N,N,N,N,N,N)
OUTPUT(ENUL,N,N,N,N,N,N)
OUTPUT(DEN1,N,N,N,N,N,N)
OUTPUT(PRPS,N,N,N,N,N,N)
************************************************************
Group 22. Monitor Print-Out
NPRMON  =    100000
NPRMNT  =         1
TSTSWP  =        -1
************************************************************
Group 23.Field Print-Out & Plot Control
NPRINT  =    100000
IYPRF   =         1 ;IYPRL  =        31
ISWPRF  =         1 ;ISWPRL =    100000
No PATCHes used for this Group
************************************************************
Group 24. Dumps For Restarts

GVIEW(P,0.000000E+00,0.000000E+00,1.000000E+00)
GVIEW(UP,0.000000E+00,1.000000E+00,0.000000E+00)

> DOM,    SIZE,        1.000000E+00, 1.000000E-01, 1.000000E-01
> DOM,    MONIT,       5.000000E-02, 1.612900E-03, 5.000000E-02
> DOM,    SCALE,       1.000000E+00, 1.000000E+00, 1.000000E+00
> DOM,    SNAPSIZE,    1.000000E-02
> GRID,   RSET_X_1,     10, 1.000000E+00
> GRID,   RSET_Y_1,     31, 1.000000E+00
> GRID,   RSET_Z_1,      1, 1.000000E+00

> OBJ,    NAME,        LOWX
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 1.000000E-01, 1.000000E-01
> OBJ,    GEOMETRY,    poldef
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED

> OBJ,    NAME,        HIGHX
> OBJ,    POSITION,    1.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 1.000000E-01, 1.000000E-01
> OBJ,    GEOMETRY,    poldef
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
************************************************************
STOP
```