TALK=F;RUN( 1, 1)
 
 ************************************************************
   Q1 created by VDI menu, Version 2009, Date 17/02/09
 CPVNAM=VDI;SPPNAM=Core
 ************************************************************
  Echo DISPLAY / USE settings
  DISPLAY
  Thin cylinder with central hole in cartesian system
  and TEM(R):
  1) R_I - inner radius, R_O - outer radius
  2) Plane-Stress 2d problem : STRZ=0
  3) Temperature equation: TEM(R_I) = 10, TEM(R_O) = 0
  4) Stress equation STRY(R_I) = STRY(R_O) = 0
 
  The text-book solution may be found in section 151 of
  Timoshenko.
  ENDDIS
 ************************************************************
 IRUNN = 1 ;LIBREF = 506
 ************************************************************
  Group 1. Run Title
 TEXT(USP: Cooled long cylinder               )
 ************************************************************
  Group 2. Transience
 STEADY = T
 ************************************************************
  Groups 3, 4, 5  Grid Information
    * Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
 RSET(M,10,10,1,1.0E-05)
 ************************************************************
  Group 6. Body-Fitted coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
    * Non-default variable names

    * Solved variables list
 SOLVE(DISY,DISX)
    * Stored variables list
 STORE(PRPS,STRX,STRY,STRZ,EPSY,EPSX,EPSZ,EPST)
 STORE(DEN1,ENUL,DVO1,DRH1,V1TH,KOND,I_RG,DISR)
 STORE(T1TH,TEM1,V1/T)
    * Additional solver options
 SOLUTN(DISY,Y,Y,Y,N,N,Y)
 SOLUTN(DISX,Y,Y,Y,N,N,Y)
 
 ************************************************************
  Echo save-block settings for Group  7
  SAVE7BEGIN
 
 REAL(TII,TOO,R_I,R_O,POISSON,YOUNG,ALFAT)
TII=10.0 ! inner TEM1
TOO=0.0  ! outer TEM1
 
R_I=0.2   ! inner radius
R_O=0.8   ! outer radius
 
YOUNG   = 1/(0.5E-11) ! Young's modulus
POISSON=0.3           ! Poisson's ratio
ALFAT=1.0E-5
   ======================================
REAL(BSS)
BSS=R_O/R_I
BSS = LOG(BSS)
 
(STORED VAR V1/T IS DISR/V1TH WITH IMAT>100)
 
SPEDAT(BOUNDARY,ZCONST,R,0.0)         ! z contraction allowed

   =============== VTH ====================
real(VSS,VS_1,VS_2,VS_3,I_B)
VSS = ALFAT*TII*(1+POISSON)/BSS
I_B = 0.25*(R_O**2-R_I**2) - 0.5*R_I**2*BSS
VS_1 = I_B*(1-POISSON)/(1+POISSON)/(R_O**2-R_I**2)
VS_2 = I_B*R_I**2/(R_O**2-R_I**2)
VS_3 = 0.5*R_I**2*(BSS+0.5)
 
char(RRR)
RRR=(SQRT(XG^2+YG^2))
 
(STORED VAR I_RG IS 0.5*:RRR:^2*(LOGE(:R_O:/:RRR:)+0.5)-:VS_3:)
(STORED VAR V1TH IS :VSS:/:RRR:*(I_RG + :VS_1:*:RRR:^2+:VS_2:))
(STORED VAR DISR IS SQRT(DISX^2+DISY^2))
 
real(TSS)
TSS = TII/BSS
(STORED VAR TEM1 IS :TSS:*LOGE(:R_O:/:RRR:)!SWPSTR)
 
 
  SAVE7END
 ************************************************************
  Group 8. Terms & Devices
 USP = T ; USPDBG= F
 UTCPLT = T ; USPIMB= F
 UAUTO = T ; UGTGRD= F
 USPVTK = T ; USPTER= F
 USCANX = T ; USCANY= T
 USCANZ = T
 MXLEV = 0 ;MYLEV = 0 ;MZLEV = 0
 DOMAT = -1
 CELLST = 10 ; FACEST= 10
 MINPRP = -1 ; MAXPRP= 250
 UMXLEV = 3 ; UMXCLS= 10000
 UNOLAY = 2 ; UIOLEV= 1
 UWALEV = 2 ; UGRITR= 2
 UMXCRS = 16
 USPREL =0.7 ; UMNCEL=1.
 UDVREL =1.
 ************************************************************
  Group 9. Properties
    * Domain material index is 198 signifying:
    * Solid with smooth-wall friction
 SETPRPS(1,198,Q1)
 ENUT =0.
   *  List of user-defined materials to be read by EARTH
    MATFLG=T;IMAT=3
   *  Name
   *Ind. Dens.  Viscos.  Spec.heat  Conduct.  Expans.  Compr.
   *  
    0 1.189 1.544E-05 1005.0 0.0258 3.41E-3 0.0
   *  
    5 1.189 1.544E-05 1005.0 0.0258 3.41E-3 0.0
   *  
    160 7800.0 0.3 473.0 0.0258 1.0E-5 0.5E-11
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initialise Var/Porosity Fields
 FIINIT(EPSZ)=1.001E-10 ;FIINIT(EPSX)=1.001E-10
 FIINIT(EPSY)=1.001E-10 ;FIINIT(STRZ)=1.001E-10
 FIINIT(STRY)=1.001E-10 ;FIINIT(STRX)=1.001E-10
 FIINIT(PRPS)=198. ;FIINIT(DISY)=0.
 FIINIT(DISX)=0.
   No PATCHes used for this Group
 
 
 INIADD = F
 ************************************************************
  Echo save-block settings for Group 11
  SAVE11BEGIN
 
  SAVE11END
 ************************************************************
  Group 12. Convection and diffusion adjustments
   No PATCHes used for this Group
 ************************************************************
  Group 13. Boundary & Special Sources
   No PATCHes used for this Group
 
 EGWF = T
 ************************************************************
  Echo save-block settings for Group 13
   SAVE13BEGIN
 (source of DISX at LEFT is COVAL(1,0)!VOLU)
 (source of DISY at BOTTOM is COVAL(1,0)!VOLU)
   SAVE13END
  ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 400
 RESFAC =1.0E-07
 ************************************************************
  Group 16. Terminate Iterations
 ************************************************************
  Group 17. Relaxation
 RELAX(DISY,LINRLX,1. )
 RELAX(DISX,LINRLX,1. )
 ************************************************************
  Group 18. Limits
 ************************************************************
  Group 19. EARTH Calls To GROUND Station
 STRA = T
 PARSOL = F
 ISG21 = 4500
       ISG50 = 1
 ISG52 = 3
 CSG10   ='Q1'
 SPEDAT(SET,BOUNDARY,ZCONST,R,1.0E+20)
 ************************************************************
  Group 20. Preliminary Printout
 ************************************************************
  Group 21. Print-out of Variables
 DISTIL=T
 EX(DISY)=   1.236E-05
 EX(DISX)=   1.236E-05
 EX(T1TH)=   1.000E-10
 EX(DISR)=   2.070E-05
 EX(I_RG)=   8.906E-02
 EX(V1TH)=   2.085E-05
 EX(EPST)=   2.845E-05
 EX(EPSZ)=   3.220E-05
 EX(EPSX)=   2.973E-05
 EX(EPSY)=   2.973E-05
 EX(STRZ)=   6.097E+06
 EX(STRY)=   6.183E+06
 EX(STRX)=   6.183E+06
 EX(TEM1)=   2.845E+00
 EX(V1/T)=   9.908E-01

 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 6 ;IYMON = 6 ;IZMON = 1
 NPRMON = 100000
 NPRMNT = 1
 TSTSWP = -1
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000
 ISWPRF = 1 ;ISWPRL = 100000
   No PATCHes used for this Group
 ************************************************************
  Group 24. Dumps For Restarts
 
 GVIEW(P,5.939464E-03,-0.073532,0.997274)
 GVIEW(UP,-0.472349,0.878814,0.067611)
 
> DOM,    SIZE,        8.000000E-01, 8.000000E-01, 2.000000E-01
> DOM,    MONIT,       4.400000E-01, 4.400000E-01, 1.000000E-01
> DOM,    SCALE,       1.000000E+00, 1.000000E+00, 1.000000E+00
> DOM,    INCREMENT,   1.000000E-02, 1.000000E-02, 1.000000E-03
  > GRID,   RSET_X_1,     10, 1.000000E+00
  > GRID,   RSET_Y_1,     10, 1.000000E+00
  > GRID,   RSET_Z_1,      1, 1.000000E+00
 
> OBJ,    NAME,        LEFT
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 8.000000E-01, 2.000000E-01
> OBJ,    GEOMETRY,    cube11
> OBJ,    TYPE,        PLATE
 
> OBJ,    NAME,        BOTTOM
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        8.000000E-01, 0.000000E+00, 2.000000E-01
> OBJ,    GEOMETRY,    cube11
> OBJ,    TYPE,        PLATE
 
> OBJ,    NAME,        BODY
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        8.000000E-01, 8.000000E-01, 2.000000E-01
> OBJ,    GEOMETRY,    quarter-cylinder
> OBJ,    GRID,        NO
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  USER
> OBJ,    COLOR-VAL,   13
> OBJ,    MATERIAL,    160,NOTSET
 
> OBJ,    NAME,        INNER
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        2.000000E-01, 2.000000E-01, 2.000000E-01
> OBJ,    GEOMETRY,    quarter-cylinder
> OBJ,    VISIBLE,     NO
> OBJ,    GRID,        NO
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  USER
> OBJ,    COLOR-VAL,   15
> OBJ,    MATERIAL,    198,Solid with smooth-wall friction
 ************************************************************
STOP