TALK=T;RUN(1,1)
  DISPLAY
  A rectangular plate with a centrally-placed CIRCULAR hole is
  extended by uniform equal forces on its left and right
  surfaces, which are allowed to distort.
  By reason of symmetry, only one quarter of the plate is analysed.

  Comparison - a analytical solution (Timoshenko and Goodier).
  See also: I. Demirdzic, S. Musafija
  "Finite Volume method for stress analysis in Complex Domains"
  Int. J. for numerical methods in engineering",
  v. 37, 3751-3756 (1994).)

  ENDDIS
  PHOTON USE
  p;;;;


  set prop off
  msg
  msg PRPS contours
  msg
  cont PRPS z 1 fil;.0001
  gr Z 1
  pause

  cl
  msg
  msg V1 contours
  msg
  cont V1 z 1 fil;.0001
  vec z 1 col 0
  pause

  cl
  msg
  msg U1 contours
  msg
  cont U1 z 1 fil;.0001
  vec z 1 col 0
  pause

  cl
  msg
  msg STRX contours
  msg
  cont STRX z 1 fil;.0001
  pause

  cl
  msg
  msg SXTH contours
  msg
  cont SXTH z 1 fil;.0001
  pause

  cl
  msg
  msg SX/T contours
  msg
  cont SX/T z 1 fil;.0001
  pause

  cl
  msg
  msg STRY contours
  msg
  cont STRY z 1 fil;.0001
  pause

  cl
  msg
  msg SYTH contours
  msg
  cont SYTH z 1 fil;.0001
  pause

  cl
  msg
  msg SY/T contours
  msg
  cont SY/T z 1 fil;.0001
  pause

  cl
  msg
  msg STXY contours
  msg
  cont STXY z 1 fil;.0001
  pause

  cl
  msg
  msg SXYT contours
  msg
  cont SXYT z 1 fil;.0001
  pause

  cl
  msg
  msg XY/T contours
  msg
  cont XY/T z 1 fil;.0001
  pause

  ENDUSE
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(2D xy Plate with CIRCULAR hole; s202    )
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 3
 ************************************************************
  Group 2. Time dependence
 STEADY = T
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 60
 XULAST =2.
 XFRAC(1)=9.166667E-03 ;XFRAC(4)=0.036667
 XFRAC(7)=0.064167 ;XFRAC(10)=0.091667
 XFRAC(13)=0.119167 ;XFRAC(16)=0.146667
 XFRAC(19)=0.174167 ;XFRAC(22)=0.201667
 XFRAC(25)=0.229167 ;XFRAC(28)=0.256667
 XFRAC(31)=0.2814 ;XFRAC(34)=0.303839
 XFRAC(37)=0.332105 ;XFRAC(40)=0.367712
 XFRAC(43)=0.412567 ;XFRAC(46)=0.469072
 XFRAC(49)=0.540251 ;XFRAC(52)=0.629917
 XFRAC(55)=0.74287 ;XFRAC(58)=0.885158
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 60
 YVLAST =2.
 YFRAC(1)=9.166667E-03 ;YFRAC(5)=0.045833
 YFRAC(9)=0.0825 ;YFRAC(13)=0.119167
 YFRAC(17)=0.155833 ;YFRAC(21)=0.1925
 YFRAC(25)=0.229167 ;YFRAC(29)=0.265833
 YFRAC(33)=0.295777 ;YFRAC(37)=0.332105
 YFRAC(41)=0.381529 ;YFRAC(45)=0.44877
 YFRAC(49)=0.540251 ;YFRAC(53)=0.66471
 YFRAC(57)=0.834035
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 1
 ZWLAST =1.0E-03
 ZFRAC(1)=1.
 ************************************************************
  Group 6. Body-Fitted Coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS = T
 NAME(1)=P1 ;NAME(3)=U1
 NAME(5)=V1 ;NAME(135)=XY/T
 NAME(136)=SXYT ;NAME(137)=SY/T
 NAME(138)=SYTH ;NAME(139)=SX/T
 NAME(140)=SXTH ;NAME(141)=TET7
 NAME(142)=R7 ;NAME(143)=EPSZ
 NAME(144)=EPSX ;NAME(145)=EPSY
 NAME(146)=STXY ;NAME(147)=STRZ
 NAME(148)=STRY ;NAME(149)=STRX
 NAME(150)=PRPS
    * Y in SOLUTN argument list denotes:
    * 1-stored 2-solved 3-whole-field
    * 4-point-by-point 5-explicit 6-harmonic averaging 
 SOLUTN(P1,Y,Y,N,N,N,Y)
 SOLUTN(U1,Y,Y,N,N,N,Y)
 SOLUTN(V1,Y,Y,N,N,N,Y)
 SOLUTN(XY/T,Y,N,N,N,N,Y)
 SOLUTN(SXYT,Y,N,N,N,N,Y)
 SOLUTN(SY/T,Y,N,N,N,N,Y)
 SOLUTN(SYTH,Y,N,N,N,N,Y)
 SOLUTN(SX/T,Y,N,N,N,N,Y)
 SOLUTN(SXTH,Y,N,N,N,N,Y)
 SOLUTN(TET7,Y,N,N,N,N,Y)
 SOLUTN(R7,Y,N,N,N,N,Y)
 SOLUTN(EPSZ,Y,N,N,N,N,Y)
 SOLUTN(EPSX,Y,N,N,N,N,Y)
 SOLUTN(EPSY,Y,N,N,N,N,Y)
 SOLUTN(STXY,Y,N,N,N,N,Y)
 SOLUTN(STRZ,Y,N,N,N,N,Y)
 SOLUTN(STRY,Y,N,N,N,N,Y)
 SOLUTN(STRX,Y,N,N,N,N,Y)
 SOLUTN(PRPS,Y,N,N,N,N,Y)
 PRPS = 150
 ************************************************************
  Group 8. Terms & Devices
    * Y in TERMS argument list denotes:
    * 1-built-in source 2-convection 3-diffusion 4-transient
    * 5-first phase variable 6-interphase transport         
 TERMS(P1,Y,Y,Y,N,Y,Y)
 TERMS(U1,Y,Y,Y,Y,Y,Y)
 TERMS(V1,Y,Y,Y,Y,Y,Y)
 DIFCUT =0.5 ;ZDIFAC =1.
 GALA = F ;ADDDIF = F
 ISOLX = -1 ;ISOLY = -1 ;ISOLZ = -1
 ************************************************************
  Group 9. Properties used if PRPS is not
  stored, and where PRPS = -1.0 if it is!
 RHO1 =1. ;TMP1 =0. ;EL1 =0.
 TSURR =0. ;TEMP0 =0. ;PRESS0 =0.
 DVO1DT =0. ;DRH1DP =0.
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 ENUL =1.0E-05 ;ENUT =0.
 PRNDTL(U1)=1. ;PRNDTL(V1)=1.
 PRT(U1)=1. ;PRT(V1)=1.
 CP1 =1. ;CP2 =1.
   *  List of user-defined materials to be read by EARTH
    MATFLG=T;IMAT=2   
   *  Name
   *Ind. Dens.  Viscos.  Spec.heat  Conduct.  Expans.  Compr.
   *  
    1 7800.0 0.3 473.0 43.0 1.0E-5 1.0E-7
   *  
    160 7800.0 0.3 473.0 43.0 1.0E-5 1.0E-7
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(P1)=0. ;FIINIT(U1)=0.
 FIINIT(V1)=0. ;FIINIT(XY/T)=1.0E-10
 FIINIT(SXYT)=1.0E-10 ;FIINIT(SY/T)=1.0E-10
 FIINIT(SYTH)=1.0E-10 ;FIINIT(SX/T)=1.0E-10
 FIINIT(SXTH)=1.0E-10 ;FIINIT(TET7)=1.0E-10
 FIINIT(R7)=1.0E-10 ;FIINIT(EPSZ)=1.0E-10
 FIINIT(EPSX)=1.0E-10 ;FIINIT(EPSY)=1.0E-10
 FIINIT(STXY)=1.0E-10 ;FIINIT(STRZ)=1.0E-10
 FIINIT(STRY)=1.0E-10 ;FIINIT(STRX)=1.0E-10
 FIINIT(PRPS)=160.
   No PATCHes yet used for this Group
 INIADD = F
 FSWEEP = 1
 NAMFI =CHAM
 ************************************************************
  Group 12. Patchwise adjustment of terms
  Patches for this group are printed with those
  for Group 13.
  Their names begin either with GP12 or &
 ************************************************************
  Group 13. Boundary & Special Sources
 
 PATCH(LEFT ,WWALL , 1, 1, 1, 60, 1, 1, 1, 1)
 COVAL(LEFT ,U1 ,1. ,0. )
 
 PATCH(BOT ,SWALL , 1, 60, 1, 1, 1, 1, 1, 1)
 COVAL(BOT ,V1 ,1. ,0. )
 
 PATCH(DMN ,CELL , 1, 60, 1, 60, 1, 1, 1, 1)
 COVAL(DMN ,P1 , FIXVAL ,0. )
 
 PATCH(TOPV ,NORTH , 1, 60, 60, 60, 1, 1, 1, 1)
 COVAL(TOPV ,V1 ,In-Form:source - see Grp 19)
 
 PATCH(TOPU ,NORTH , 1, 59, 60, 60, 1, 1, 1, 1)
 COVAL(TOPU ,U1 ,In-Form:source - see Grp 19)
 
 PATCH(RIGHTU ,EAST , 60, 60, 1, 60, 1, 1, 1, 1)
 COVAL(RIGHTU ,U1 ,In-Form:source - see Grp 19)
 
 PATCH(RIGHTV ,EAST , 60, 60, 1, 59, 1, 1, 1, 1)
 COVAL(RIGHTV ,V1 ,In-Form:source - see Grp 19)
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 400 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 SELREF = T
 RESFAC =1.0E-07
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=20 ;LITER(U1)=50
 LITER(V1)=50
 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03
 ENDIT(V1)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,1.)
 RELAX(U1,LINRLX,1.)
 RELAX(V1,LINRLX,1.)
 RELAX(XY/T,LINRLX,1.)
 RELAX(SXYT,LINRLX,1.)
 RELAX(SY/T,LINRLX,1.)
 RELAX(SYTH,LINRLX,1.)
 RELAX(SX/T,LINRLX,1.)
 RELAX(SXTH,LINRLX,1.)
 RELAX(TET7,LINRLX,1.)
 RELAX(R7,LINRLX,1.)
 RELAX(EPSZ,LINRLX,1.)
 RELAX(EPSX,LINRLX,1.)
 RELAX(EPSY,LINRLX,1.)
 RELAX(STXY,LINRLX,1.)
 RELAX(STRZ,LINRLX,1.)
 RELAX(STRY,LINRLX,1.)
 RELAX(STRX,LINRLX,1.)
 RELAX(PRPS,LINRLX,1.)
 OVRRLX =0.
 EXPERT = F ;NNORSL = F
 ************************************************************
  Group 18. Limits
 VARMAX(P1)=1.0E+10 ;VARMIN(P1)=-1.0E+10
 VARMAX(U1)=1.0E+06 ;VARMIN(U1)=-1.0E+06
 VARMAX(V1)=1.0E+06 ;VARMIN(V1)=-1.0E+06
 VARMAX(XY/T)=1.0E+10 ;VARMIN(XY/T)=-1.0E+10
 VARMAX(SXYT)=1.0E+10 ;VARMIN(SXYT)=-1.0E+10
 VARMAX(SY/T)=1.0E+10 ;VARMIN(SY/T)=-1.0E+10
 VARMAX(SYTH)=1.0E+10 ;VARMIN(SYTH)=-1.0E+10
 VARMAX(SX/T)=1.0E+10 ;VARMIN(SX/T)=-1.0E+10
 VARMAX(SXTH)=1.0E+10 ;VARMIN(SXTH)=-1.0E+10
 VARMAX(TET7)=1.0E+10 ;VARMIN(TET7)=-1.0E+10
 VARMAX(R7)=1.0E+10 ;VARMIN(R7)=-1.0E+10
 VARMAX(EPSZ)=1.0E+10 ;VARMIN(EPSZ)=-1.0E+10
 VARMAX(EPSX)=1.0E+10 ;VARMIN(EPSX)=-1.0E+10
 VARMAX(EPSY)=1.0E+10 ;VARMIN(EPSY)=-1.0E+10
 VARMAX(STXY)=1.0E+10 ;VARMIN(STXY)=-1.0E+10
 VARMAX(STRZ)=1.0E+10 ;VARMIN(STRZ)=-1.0E+10
 VARMAX(STRY)=1.0E+10 ;VARMIN(STRY)=-1.0E+10
 VARMAX(STRX)=1.0E+10 ;VARMIN(STRX)=-1.0E+10
 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 STRA = T
 PARSOL = F
 ISG21 = 400
 ISG50 = 1
 ISG52 = 1
 ISG62 = 1
 CSG10   ='Q1'
 SPEDAT(SET,INITIAL,PRPS,C,=1!IF(SQRT(XG^2+YG^2).LE.0.5))
 SPEDAT(SET,MATERIAL,1,L,T)
 SPEDAT(SET,SOURCE,V1!TOPV,C,=COVAL(2.0E-10&1.0E+04*(-(0.25/(2.^2+$)
 SPEDAT(SET,SOURCE,V1!TOPV,C,XG^2))*(0.5*COS(2*ATAN(2./XG))-COS(4*$)
 SPEDAT(SET,SOURCE,V1!TOPV,C,ATAN(2./XG)))-1.5*(0.25/(2.^2+XG^2))^$)
 SPEDAT(SET,SOURCE,V1!TOPV,C,2*COS(4*ATAN(2./XG)))))
 SPEDAT(SET,SOURCE,U1!TOPU,C,=COVAL(2.0E-10&1.0E+04*(-(0.25/(2.^2+$)
 SPEDAT(SET,SOURCE,U1!TOPU,C,XU^2))*(0.5*SIN(2*ATAN(2./XU))+SIN(4*$)
 SPEDAT(SET,SOURCE,U1!TOPU,C,ATAN(2./XU)))+1.5*(0.25/(2.^2+XU^2))^$)
 SPEDAT(SET,SOURCE,U1!TOPU,C,2*SIN(4*ATAN(2./XU)))))
 SPEDAT(SET,SOURCE,U1!RIGHTU,C,=COVAL(2.0E-10&1.0E+04*(1-(0.25/(2.$)
 SPEDAT(SET,SOURCE,U1!RIGHTU,C,^2+YG^2))*(1.5*COS(2*ATAN(YG/2.))+C$)
 SPEDAT(SET,SOURCE,U1!RIGHTU,C,OS(4*ATAN(YG/2.)))+1.5*(0.25/(2.^2+$)
 SPEDAT(SET,SOURCE,U1!RIGHTU,C,YG^2))^2*COS(4*ATAN(YG/2.)))))
 SPEDAT(SET,SOURCE,V1!RIGHTV,C,=COVAL(2.0E-10&1.0E+04*(-(0.25/(2.^$)
 SPEDAT(SET,SOURCE,V1!RIGHTV,C,2+YV^2))*(0.5*SIN(2*ATAN(YV/2.))+SI$)
 SPEDAT(SET,SOURCE,V1!RIGHTV,C,N(4*ATAN(YV/2.)))+1.5*(0.25/(2.^2+Y$)
 SPEDAT(SET,SOURCE,V1!RIGHTV,C,V^2))^2*SIN(4*ATAN(YV/2.)))))
 SPEDAT(SET,LONGNAME,P1,C,pressure_or_dilatation)
 SPEDAT(SET,LONGNAME,PTH,C,dilatation_theoretical)
 SPEDAT(SET,LONGNAME,ENUL,C,viscosity_or__LAME's_G*1.E11)
 SPEDAT(SET,LONGNAME,VISL,C,viscosity_or__LAME's_G*1.E11)
 SPEDAT(SET,LONGNAME,DRH1,C,compressibility_or_LAME's_L+G*1.E11)
 SPEDAT(SET,LONGNAME,DVO1,C,th.exp.co_r_or_H*1.E11)
 SPEDAT(SET,LONGNAME,U1,C,x-direction_velocity_or_displacement)
 SPEDAT(SET,LONGNAME,EPSX,C,x-direction_strain)
 SPEDAT(SET,LONGNAME,EXTH,C,x-direction_strain_theoretical)
 SPEDAT(SET,LONGNAME,STRX,C,x-direction_stress)
 SPEDAT(SET,LONGNAME,SXTH,C,x-direction_stress_theoretical)
 SPEDAT(SET,LONGNAME,V1,C,y-direction_velocity_or_displacement)
 SPEDAT(SET,LONGNAME,EPSY,C,y-direction_strain)
 SPEDAT(SET,LONGNAME,EYTH,C,y-direction_strain_theoretical)
 SPEDAT(SET,LONGNAME,STRY,C,y-direction_stress)
 SPEDAT(SET,LONGNAME,SYTH,C,y-direction_stress_theoretical)
 SPEDAT(SET,LONGNAME,W1,C,z-direction_velocity_or_displacement)
 SPEDAT(SET,LONGNAME,EPSZ,C,z-direction_strain)
 SPEDAT(SET,LONGNAME,STRZ,C,z-direction_stress)
 SPEDAT(SET,LONGNAME,EZTH,C,z-direction_strain_theoretical)
 SPEDAT(SET,LONGNAME,SZTH,C,z-direction_stress_theoretical)
 SPEDAT(SET,LONGNAME,EPST,C,linearthermalexpansion)
 SPEDAT(SET,STORED,R7,C,=SQRT(XG^2+YG^2)!ZSLFIN)
 SPEDAT(SET,STORED,TET7,C,=ATAN(YG/(XG+1.E-10))!ZSLFIN)
 SPEDAT(SET,STORED,SXTH,C,=1.0E+04*(1.0-(0.5/R7)^2*(1.5*COS(2*TET7$)
 SPEDAT(SET,STORED,SXTH,C,)+COS(4*TET7))+1.5*(0.5/R7)^4*COS(4*TET7$)
 SPEDAT(SET,STORED,SXTH,C,))!IMAT>100!ZSLFIN)
 SPEDAT(SET,STORED,SX/T,C,=STRX/SXTH!IMAT>100!ZSLFIN)
 SPEDAT(SET,STORED,SYTH,C,=1.0E+04*(-(0.5/R7)^2*(0.5*COS(2*TET7)-C$)
 SPEDAT(SET,STORED,SYTH,C,OS(4*TET7))-1.5*(0.5/R7)^4*COS(4*TET7))!$)
 SPEDAT(SET,STORED,SYTH,C,IMAT>100!ZSLFIN)
 SPEDAT(SET,STORED,SY/T,C,=STRY/SYTH!IMAT>100!ZSLFIN)
 SPEDAT(SET,STORED,SXYT,C,=1.0E+04*(-(0.25/(YV^2+XU^2))*(0.5*SIN(2$)
 SPEDAT(SET,STORED,SXYT,C,*ATAN(YV/XU))+SIN(4*ATAN(YV/XU)))+1.5*(0$)
 SPEDAT(SET,STORED,SXYT,C,.25/(YV^2+XU^2))^2*SIN(4*ATAN(YV/XU)))!I$)
 SPEDAT(SET,STORED,SXYT,C,MAT>100!ZSLFIN)
 SPEDAT(SET,STORED,XY/T,C,=STXY/SXYT!IMAT>100!ZSLFIN)
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 SPEDAT(SET,MATERIAL,160,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 ************************************************************
  Group 21. Print-out of Variables
 INIFLD = F ;SUBWGR = F
    * Y in OUTPUT argument list denotes:
    * 1-field 2-correction-eq. monitor 3-selective dumping      
    * 4-whole-field residual 5-spot-value table 6-residual table
 OUTPUT(P1,Y,N,Y,Y,Y,Y)
 OUTPUT(U1,Y,N,Y,Y,Y,Y)
 OUTPUT(V1,Y,N,Y,Y,Y,Y)
 OUTPUT(XY/T,Y,N,Y,N,N,N)
 OUTPUT(SXYT,Y,N,Y,N,N,N)
 OUTPUT(SY/T,Y,N,Y,N,N,N)
 OUTPUT(SYTH,Y,N,Y,N,N,N)
 OUTPUT(SX/T,Y,N,Y,N,N,N)
 OUTPUT(SXTH,Y,N,Y,N,N,N)
 OUTPUT(TET7,Y,N,Y,N,N,N)
 OUTPUT(R7,Y,N,Y,N,N,N)
 OUTPUT(EPSZ,Y,N,Y,N,N,N)
 OUTPUT(EPSX,Y,N,Y,N,N,N)
 OUTPUT(EPSY,Y,N,Y,N,N,N)
 OUTPUT(STXY,Y,N,Y,N,N,N)
 OUTPUT(STRZ,Y,N,Y,N,N,N)
 OUTPUT(STRY,Y,N,Y,N,N,N)
 OUTPUT(STRX,Y,N,Y,N,N,N)
 OUTPUT(PRPS,Y,N,Y,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 58 ;IYMON = 2 ;IZMON = 1
 NPRMON = 100000 ;NPRMNT = 1 ;TSTSWP = -1
 UWATCH = T ;USTEER = T
 HIGHLO = F
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000 ;NUMCLS = 5
 NXPRIN = 3 ;IXPRF = 1 ;IXPRL = 10000
 NYPRIN = 4 ;IYPRF = 1 ;IYPRL = 10000
 IPLTF = 1 ;IPLTL = -1 ;NPLT = -1
 ISWPRF = 1 ;ISWPRL = 100000
 ITABL = 3 ;IPROF = 1
 ABSIZ =0.5 ;ORSIZ =0.4
 NTZPRF = 1 ;NCOLPF = 50
 ICHR = 2 ;NCOLCO = 45 ;NROWCO = 20
   No PATCHes yet used for this Group
 ************************************************************
  Group 24. Dumps For Restarts
 SAVE = T ;NOWIPE = F
 NSAVE =CHAM
STOP