TALK=F;RUN( 1, 1)
 
 ************************************************************
   Q1 created by VDI menu, Version 2007, Date 26/09/07
 CPVNAM=VDI;SPPNAM=Core
 ************************************************************
  Echo DISPLAY / USE settings
  DISPLAY
  A rectangular plate of dimensions LX * LZ is 
  1. held fixed along its high and west edges
  2. subjected to uniform tension along its low edge
  3. allowed to contract freely along its east edge
  4. in case 1 (plane stress) allowed to contract freely in the 
     y-direction
  5. in case 2 (plane strain) prevented from contracting in the 
     y-direction.
  The distributions of displacement in the xz plane are computed,
  and also the corresponding stresses and strains in all three 
  directions.
  A uniform cartesian grid is used.
  The computed results are compared with the analytically-derived
  values.  
    
  ENDDIS
  
  PHOTON USE
  p;;;;
  
  

  set prop off
  cl
  msg x-displacement fields
  gr ou y 1
  cont U1 y 1 fil;.0001
  pause
  cl
  msg z-displacement fields
  gr ou y 1
  cont W1 y 1 fil;.0001

  ENDUSE
  
 ************************************************************
 IRUNN   =         1 ;LIBREF =       205
 ************************************************************
  Group 1. Run Title
 TEXT(2D xz plate in z-direction tension; s205)
 ************************************************************
  Group 2. Transience
 STEADY  =    T
 ************************************************************
  Groups 3, 4, 5  Grid Information
    * Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
 RSET(M,10,1,10,1.000000E-05)
 ************************************************************
  Group 6. Body-Fitted coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS  =    T
    * Solved variables list
 SOLVE(P1  ,U1  ,W1  )
    * Stored variables list
 STORE(PRPS,STRX,STRY,STRZ,STXZ,EPSY,EPSX,EPSZ)
 STORE(U1T ,W1T ,U1/T,W1/T,DEN1,ENUL,SPH1,KOND,DRH1)
    * Additional solver options
 SOLUTN(P1  ,Y,Y,Y,N,N,N)
 SOLUTN(U1  ,Y,Y,Y,N,N,Y)
 SOLUTN(W1  ,Y,Y,Y,N,N,Y)
 
 ************************************************************
  Echo InForm settings for Group  7
  inform7begin
 
  ***** SELECT CASENO ******
 integer(caseno)
    caseno = 1  : y free
    caseno = 2  : y fixed
 
  ***** CASENO ******
 caseno=2
  ***** CASENO ******
 
real(CEPSX,CEPSZ,CEPS)
REAL(FZ,POISSON,YOUNG)
YOUNG   = 1/0.5E-11   ! Young's modulus used for exact solutions
POISSON=0.3           ! Poisson's ratio used for exact solutions
                      ! The above must correspond to the data
                      ! below MATFLG
REAL(LX,LZ)
LX=90.e-3
LZ=120.e-3
 
FZ= -40.0e6  ! H/m^2 = 40 N/mm^2
IF(CASENO.EQ.2) THEN
 CEPSX = FZ/YOUNG*(1+POISSON)*POISSON
 CEPSZ =  -FZ/YOUNG*(1-POISSON**2)
ELSE
 CEPSX = FZ/YOUNG*POISSON
 CEPSZ =  -FZ/YOUNG
ENDIF
 
   **** CALCULATE analytical solution ***
(STORED VAR U1T IS :CEPSX:*XU)
(STORED VAR W1T IS :CEPSZ:*(ZW -:LZ:))
 
(STORED VAR U1/T IS U1/(U1T+1.e-20))
(STORED VAR W1/T IS W1/(W1T+1.e-20))
 
  inform7end
 ************************************************************
  Group 8. Terms & Devices
 ************************************************************
  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(P1  ) =  0.000000E+00 ;FIINIT(U1  ) =  0.000000E+00
 FIINIT(W1  ) =  0.000000E+00 ;FIINIT(W1/T) =  1.001000E-10
 FIINIT(U1/T) =  1.001000E-10 ;FIINIT(W1T ) =  1.001000E-10
 FIINIT(U1T ) =  1.001000E-10 ;FIINIT(EPSZ) =  1.001000E-10
 FIINIT(EPSX) =  1.001000E-10 ;FIINIT(EPSY) =  1.001000E-10
 FIINIT(STXZ) =  1.001000E-10 ;FIINIT(STRZ) =  1.001000E-10
 FIINIT(STRY) =  1.001000E-10 ;FIINIT(STRX) =  1.001000E-10
 FIINIT(PRPS) =  1.600000E+02
   No PATCHes used for this Group
 
  INFORM11BEGIN

  INFORM11END
 
 INIADD  =    F
 ************************************************************
  Group 12. Convection and diffusion adjustments
   No PATCHes used for this Group
 ************************************************************
  Group 13. Boundary & Special Sources
 
 PATCH (UP      ,HWALL ,1,0,0,0,0,0,1,1)
 COVAL (UP      ,W1  , 1.000000E+00, 0.000000E+00)
 
 PATCH (FORS01  ,HIGH ,2,0,0,0,0,0,1,1)
 COVAL (FORS01  ,W1  , FIXFLU      ,-4.000000E+07)
 
 PATCH (AXESZZ  ,WWALL ,3,0,0,0,0,0,1,1)
 COVAL (AXESZZ  ,U1  , 1.000000E+00, 0.000000E+00)
 
 EGWF    =    T
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP  =       100
 RESREF(U1  ) =  0.000000E+00 ;RESREF(W1  ) =  0.000000E+00
 RESFAC  = 1.000000E-07
 ************************************************************
  Group 16. Terminate Iterations
 LITER (P1  ) =       50 ;LITER (W1  ) =       50
 LITER (V1  ) =       50
 ************************************************************
  Group 17. Relaxation
 RELAX(P1  ,LINRLX, 1.000000E+00)
 ************************************************************
  Group 18. Limits
 VARMAX(U1  ) = 1.000000E+06 ;VARMIN(U1  ) =-1.000000E+06
 VARMAX(W1  ) = 1.000000E+06 ;VARMIN(W1  ) =-1.000000E+06
 ************************************************************
  Group 19. EARTH Calls To GROUND Station
 USEGRD  =    T  ;USEGRX =    T
 STRA    =    T
 ASAP    =    T
 PARSOL  =    F
 ISG21   =       100
 ISG52   =         3
 CSG10   ='q1'
 SPEDAT(SET,BOUNDARY,YCONST,R,0.00000E+00)
 ************************************************************
  Echo InForm settings for Group 19
  inform19begin
IF(CASENO.EQ.2) THEN
SPEDAT(BOUNDARY,YCONST,R,1.e20)       ! z contraction prevented
ELSE
SPEDAT(BOUNDARY,YCONST,R,0.0)         ! z contraction allowed
ENDIF
  inform19end
 ************************************************************
  Group 20. Preliminary Printout
 ECHO    =    T
 ************************************************************
  Group 21. Print-out of Variables
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON   =        5 ;IYMON  =         1 ;IZMON  =         9
 NPRMON  =    100000
 NPRMNT  =         1
 TSTSWP  =        -1
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT  =    100000
 NXPRIN  =         2
 NYPRIN  =         2
 ISWPRF  =         1 ;ISWPRL =    100000
   No PATCHes used for this Group
 ************************************************************
  Group 24. Dumps For Restarts
 
 GVIEW(P,1.045111E-01,9.940540E-01,-3.054951E-02)
 GVIEW(UP,9.901477E-01,-1.068809E-01,-9.046394E-02)
  
> DOM,    SIZE,        9.000000E-02, 1.000000E-03, 1.200000E-01
> DOM,    MONIT,       4.781250E-02, 5.000000E-04, 7.875001E-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,      1, 1.000000E+00
  > GRID,   RSET_Z_1,     10, 1.000000E+00
 
> OBJ,    NAME,        UP
> OBJ,    POSITION,    0.000000E+00, 0.000000E 00, 1.200000E-01
> OBJ,    SIZE,        9.000000E-02, 1.000000E-03, 0.000000E 00
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        FORS01
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        9.000000E-02, 1.000000E-03, 0.000000E+00
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        AXESZZ
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 1.000000E-03, 1.200000E-01
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 ************************************************************
STOP