TALK=T;RUN(1,1) Q1
```
TALK=T;RUN( 1, 1)

************************************************************
Q1 created by VDI menu, Version 2007, Date 26/09/07
CPVNAM=VDI;SPPNAM=Core
************************************************************
Notes by dbs 16-17.01.13
Library case s630, somehwhat upgraded and parameterised for
instructional purposes.
It can usefully be combined with case s624, which concerns a
similar geometry, but in the y-z plane, so as to make a single
SimScene

Thin cylinder with central hole and TEM(R):
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.

************************************************************
IRUNN   =         1 ;LIBREF =       630
************************************************************
Group 1. Run Title
TEXT(Cooled long cylinder [polar]
************************************************************
Group 2. Transience
************************************************************
Groups 3, 4, 5  Grid Information
* Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
RSET(M,20,30,1,8.000020E-04)
RSET(M,2,6,1,8.000020E-04)
xulast=3.14159
* Cylindrical-polar grid
CARTES=F;RINNER=2.000000E-01 ! rinner re-set below
************************************************************
Group 6. Body-Fitted coordinates
************************************************************
Group 7. Variables: STOREd,SOLVEd,NAMEd
ONEPHS  =    T
* Solved variables list
SOLVE(DISX,DISY,TEM1)
* Stored variables list
STORE(PRPS,DEN1,ENUL,DVO1,DRH1,STRX,SXTH,EPSX)
STORE(STRY,SYTH,EPSY,EPSZ,EPST,V1TH,I_RG)
SOLUTN(DISX,Y,Y,Y,N,N,Y)
SOLUTN(DISY,Y,Y,Y,N,N,Y)

************************************************************
Echo InForm settings for Group  7
SAVE7BEGIN
REAL(TII,TOO,R_I,R_O,POISSON,YOUNG,ALFAT)
TII=10.0 ! inner TEM1
TOO=100.  ! outer TEM1
TOO=0.  ! outer TEM1
Note that the zero setting of TOO to zero had been tacitly
adopted in the exact-solution expressions introduced below.
Relacement of TII in these by TII-TOO restores the
correctness of all terms but V1TH, which incidentally is not
to be found in Timoshenko. Presumably it is incorrect in some
way not yet evident.

rinner=r_i
YOUNG   = 1/(0.5E-11) ! Young's modulus
POISSON=0.3           ! Poisson's ratio
ALFAT=1.0E-5
integer(caseno)

Length-constraint settings:
caseno=1 : expansion in z allowed (Plane-Stress)
caseno=2 : expansion in z not allowed  (Plane-Strain)
=========== V1TH is TRUE for CaseNo=1 ===========================
caseno = 1
======================================

======================================
REAL(ASS, BSS, CSX, CSY, CSZ)
BSS=R_O/R_I
BSS = LOG(BSS)
IF(CASENO.EQ.2) THEN
ASS = ALFAT*YOUNG*(TII-TOO)/2/(1-POISSON)/BSS
ELSE
ASS = ALFAT*YOUNG*(TII-TOO)/2/BSS
ENDIF
CSY = R_I**2/(R_O**2 - R_I**2)*BSS
CSX = R_I**2/(R_O**2 - R_I**2)*BSS
======================================
(STORED VAR SYTH IS :ASS:*(-LOGE(:R_O:/Rg)-:CSY:*(1-(:R_O:/Rg)^2)))
(STORED VAR SXTH IS :ASS:*(1-LOGE(:R_O:/Rg)-:CSX:*(1+(:R_O:/Rg)^2)))
======================================
(STORED VAR TETH IS (:TII:-:TOO:)*LOGE(:R_O:/Rg)/:BSS:)
======================================

(STORED VAR SX/T IS STRX/SXTH)
Note that, where sxth passes throught xero, sgnificant
differences from unity are acceptable.
(STORED VAR SY/T IS STRY/SYTH)
(STORED VAR TE/T IS (TEM1-:too:)/TETH)
(STORED VAR V1/T IS DISY/V1TH)

IF(CASENO.EQ.2) THEN
SPEDAT(BOUNDARY,ZCONST,R,1.e20)       ! z contraction prevented
ELSE
SPEDAT(BOUNDARY,ZCONST,R,0.0)         ! z contraction allowed
ENDIF

=============== VTH ====================
real(VSS,VS_1,VS_2,VS_3,I_B)
VSS = ALFAT*(TII-TOO)*(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)
(STORED VAR I_RG IS 0.5*Rg^2*(LOGE(:R_O:/Rg)+0.5)-:VS_3:)
(STORED VAR V1TH IS :VSS:/Rg*(I_RG + :VS_1:*Rg^2+:VS_2:))

SAVE7END
************************************************************
Group 8. Terms & Devices
TERMS (DISX,N,N,Y,N,Y,N)
TERMS (DISY,N,N,Y,N,Y,N)
************************************************************
Group 9. Properties
RHO1    = 1.000000E+00
ENUL    = 1.000000E-05
CP1     = 1.000000E+00
ENUT    = 0.000000E+00
DVO1DT  = 3.410000E-03
PRNDTL(TEM1) = -2.580000E-02
*  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(EPSY) =  1.001000E-10
FIINIT(SYTH) =  1.001000E-10
FIINIT(STRY) =  1.001000E-10 ;FIINIT(EPSX) =  1.001000E-10
FIINIT(SXTH) =  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.000000E+00 ;FIINIT(DISX) =  1.001000E-10
FIINIT(DISY) =  1.001000E-10 ;FIINIT(TEM1) =  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 (INNER   ,SWALL ,1,0,0,0,0,0,1,1)
COVAL (INNER   ,TEM1, 1.000000E+00, TII)

PATCH (OUTER   ,NWALL ,2,0,0,0,0,0,1,1)
COVAL (OUTER   ,DISY, 0.000000E+00, 0.000000E+00)
COVAL (OUTER   ,TEM1, 1.000000E+00, TOO)

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

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

EGWF    =    T
************************************************************
Group 14. Downstream Pressure For PARAB
************************************************************
Group 15. Terminate Sweeps
LSWEEP  =       100
RESFAC  = 1.000000E-03
************************************************************
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'
SPEDAT(SET,BOUNDARY,ZCONST,R,1.00000E+20)
************************************************************
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)
************************************************************
Group 22. Monitor Print-Out
IXMON   =         5 ;IYMON  =        30 ;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.042898E-02,4.181040E-02,9.978518E-01)
GVIEW(UP,-7.321773E-02,9.962800E-01,-4.544477E-02)

> DOM,    SIZE,        xulast, 6.000000E-01, 2.000000E-01
> DOM,    MONIT,       9.000000E-02, 5.900000E-01, 1.000000E-01
> DOM,    SCALE,       1.000000E+00, 1.000000E+00, 1.000000E+00
> DOM,    INCREMENT,   1.000000E-03, 1.000000E-03, 1.000000E-02
> GRID,   RSET_X_1,     10, 1.000000E+00
> GRID,   RSET_Y_1,     30, 0.000000E+00,G
> GRID,   RSET_Z_1,      1, 1.000000E+00

> OBJ,    NAME,        INNER
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        xulast, 0.000000E+00, 2.000000E-01
> OBJ,    GEOMETRY,    poldef
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED

> OBJ,    NAME,        OUTER
> OBJ,    POSITION,    0.000000E+00, 6.000000E-01, 0.000000E+00
> OBJ,    SIZE,        xulast, 0.000000E+00, 2.000000E-01
> OBJ,    GEOMETRY,    poldef
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED

> OBJ,    NAME,        CYLINDER
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        xulast, 6.000000E-01, 2.000000E-01
> OBJ,    GEOMETRY,    polcu8
> OBJ,    ROTATION24,        1
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    MATERIAL,    160,NOTSET

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

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