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 = 0
 ************************************************************
  Group 2. Time dependence
 STEADY = T
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 60
 XULAST =2.
 XFRAC(1)=0.016667 ;XFRAC(4)=0.066667
 XFRAC(7)=0.116667 ;XFRAC(10)=0.166667
 XFRAC(13)=0.216667 ;XFRAC(16)=0.266667
 XFRAC(19)=0.316667 ;XFRAC(22)=0.366667
 XFRAC(25)=0.416667 ;XFRAC(28)=0.466667
 XFRAC(31)=0.516667 ;XFRAC(34)=0.566667
 XFRAC(37)=0.616667 ;XFRAC(40)=0.666667
 XFRAC(43)=0.716667 ;XFRAC(46)=0.766667
 XFRAC(49)=0.816667 ;XFRAC(52)=0.866667
 XFRAC(55)=0.916667 ;XFRAC(58)=0.966667
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 60
 YVLAST =2.
 YFRAC(1)=0.016667 ;YFRAC(5)=0.083333
 YFRAC(9)=0.15 ;YFRAC(13)=0.216667
 YFRAC(17)=0.283333 ;YFRAC(21)=0.35
 YFRAC(25)=0.416667 ;YFRAC(29)=0.483333
 YFRAC(33)=0.55 ;YFRAC(37)=0.616667
 YFRAC(41)=0.683333 ;YFRAC(45)=0.75
 YFRAC(49)=0.816667 ;YFRAC(53)=0.883333
 YFRAC(57)=0.95
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 1
 ZWLAST =0.5
 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 =7800. ;TMP1 =0.
 EL1 =0.
 TSURR =0. ;TEMP0 =0.
 PRESS0 =0.
 DVO1DT =1.0E-05 ;DRH1DP =5.0E-12
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 ENUL =0.3 ;ENUT =0.
 PRNDTL(U1)=1. ;PRNDTL(V1)=1.
 PRT(U1)=1. ;PRT(V1)=1.
 CP1 =473. ;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.001E-10
 FIINIT(SXYT)=1.001E-10 ;FIINIT(SY/T)=1.001E-10
 FIINIT(SYTH)=1.001E-10 ;FIINIT(SX/T)=1.001E-10
 FIINIT(SXTH)=1.001E-10 ;FIINIT(TET7)=1.001E-10
 FIINIT(R7)=1.001E-10 ;FIINIT(EPSZ)=1.001E-10
 FIINIT(EPSX)=1.001E-10 ;FIINIT(EPSY)=1.001E-10
 FIINIT(STXY)=1.001E-10 ;FIINIT(STRZ)=1.001E-10
 FIINIT(STRY)=1.001E-10 ;FIINIT(STRX)=1.001E-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(DMN ,CELL , 1, 60, 1, 60, 1, 1, 1, 1)
 COVAL(DMN ,P1 , FIXVAL ,0. )
 
 PATCH(^LEFT ,WWALL , 1, 0, 0, 0, 0, 0, 1, 1)
 COVAL(^LEFT ,U1 ,1. ,0. )
 
 PATCH(^BOT ,SWALL , 2, 0, 0, 0, 0, 0, 1, 1)
 COVAL(^BOT ,V1 ,1. ,0. )
 
 PATCH(^INF1 ,NORTH , 3, 0, 0, 0, 0, 0, 1, 1)
 COVAL(^INF1 ,V1 ,In-Form:source - see Grp 19)
 
 PATCH(^INF2 ,NORTH , 4, 0, 0, 0, 0, 0, 1, 1)
 COVAL(^INF2 ,U1 ,In-Form:source - see Grp 19)
 
 PATCH(^INF3 ,EAST , 5, 0, 0, 0, 0, 0, 1, 1)
 COVAL(^INF3 ,U1 ,In-Form:source - see Grp 19)
 
 PATCH(^INF4 ,EAST , 6, 0, 0, 0, 0, 0, 1, 1)
 COVAL(^INF4 ,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,FALSDT,1.)
 RELAX(V1,FALSDT,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,DOMAIN,PHASE_1_MAT,I,160)
 SPEDAT(SET,DOMAIN,PROPS_FILE_1,C,Q1)
 SPEDAT(SET,MATERIAL,1,L,T)
 SPEDAT(SET,MATERIAL,160,L,T)
 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,INITIAL,PRPS,C,=1!IF(SQRT(XG^2+YG^2).LE.0.5))
 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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EDAT(SET,OBJNAM,^INF4,C,RIGHTV)
 SPEDAT(SET,OBJTYP,^INF4,C,USER_DEFINED)
 ************************************************************
  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 = 55 ;IYMON = 1 ;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