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
  Problem: Vertical prismatic (0.3x03x2.5 m) bar & gravity force
           -Rho*g.
           At the upper end - a uniform normal stress equal to
           total weight of the bar Rho*g*LZ.
   1. Comparison - a analytical solution:
      U = -P*Rho*g*x*z/E,
      V = -P*Rho*g*z*y/E,
      W = Rho*g/E/2*[ (z^2 - LZ^2) + P*(x^2+y^2)]
 
  ENDDIS
 ************************************************************
 IRUNN   =         1 ;LIBREF =       301
 ************************************************************
  Group 1. Run Title
 TEXT(3D Prismatic bar & gravity force        )
 ************************************************************
  Group 2. Transience
 STEADY  =    T
 ************************************************************
  Groups 3, 4, 5  Grid Information
    * Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
 RSET(M,7,7,8,1.500000E-04)
 ************************************************************
  Group 6. Body-Fitted coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS  =    T
    * Non-default variable names
 NAME(139) =W1/T ; NAME(140) =V1/T
 NAME(141) =U1/T ; NAME(142) =W1T
 NAME(143) =V1T  ; NAME(144) =U1T
 NAME(145) =EPSZ ; NAME(146) =EPSX
 NAME(147) =EPSY ; NAME(148) =VISL
 NAME(149) =DRH1 ; NAME(150) =PRPS
    * Solved variables list
 SOLVE(P1  ,U1  ,V1  ,W1  )
    * Stored variables list
 STORE(PRPS,DRH1,VISL,EPSY,EPSX,EPSZ,U1T ,V1T )
 STORE(W1T ,U1/T,V1/T,W1/T)
    * Additional solver options
 SOLUTN(P1  ,Y,Y,Y,N,N,N)
 SOLUTN(U1  ,Y,Y,Y,N,N,Y)
 SOLUTN(V1  ,Y,Y,Y,N,N,Y)
 SOLUTN(W1  ,Y,Y,Y,N,N,Y)
 
 ************************************************************
  Echo InForm settings for Group  7
  INFORM7BEGIN
REAL(Rho,GF,FZ,LX,LY,LZ,POISSON,YOUNG)
Rho = 1.e4
GF=9.8
FZ= Rho*GF
LX=0.15
LZ=2.5
LY=0.15
YOUNG   = 1/0.5E-11   ! Young's modulus
POISSON=0.3           ! Poisson's ratio
 
 
real(CX,CZ,CZ05)
CX = FZ/YOUNG*POISSON
CZ = FZ/YOUNG
CZ05 = CZ/2
char(Frm1,Frm2,FRM3)
Frm1 = :CZ05:*((ZW-0.01*:LZ:)^2 - :LZ:^2)+
Frm2 = :CX:/2*((XG-0.01*:LX:)^2+(YG-0.01*:LY:)^2)
Frm3=*(ZG-0.01*:LZ:)
   **** CALCULATE analytical solution ***
(STORED VAR W1T IS :Frm1::Frm2: with imat>100)
 
(STORED VAR U1T IS -:CX:*(XU-0.01*:LX:):frm3: with imat>100)
(STORED VAR V1T IS -:CX:*(YV-0.01*:LY:):frm3: with imat>100)
 
(STORED VAR U1/T IS U1/(U1T+1.e-20) with imat>100)
(STORED VAR V1/T IS V1/(V1T+1.e-20) with imat>100)
(STORED VAR W1/T IS W1/(W1T+1.e-20) with imat>100)
 
real(C00)
C00 = FZ/YOUNG*POISSON/2
char(Frm00)
Frm00 = :C00:*(XG^2 + YG^2)
 
  INFORM7END
 ************************************************************
  Group 8. Terms & Devices
 ************************************************************
  Group 9. Properties
 RHO1    = 1.000000E+00
 ENUL    = 1.000000E-05
 CP1     = 1.000000E+00
 ENUT    = 0.000000E+00
 DVO1DT  = 3.410000E-03
   *  List of user-defined materials to be read by EARTH
    MATFLG=T;IMAT=1
   *  Name
   *Ind. Dens.  Viscos.  Spec.heat  Conduct.  Expans.  Compr.
   *  
    160 1000.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(V1  ) =  0.000000E+00 ;FIINIT(W1  ) =  0.000000E+00
 FIINIT(W1/T) =  1.001000E-10 ;FIINIT(V1/T) =  1.001000E-10
 FIINIT(U1/T) =  1.001000E-10 ;FIINIT(W1T ) =  1.001000E-10
 FIINIT(V1T ) =  1.001000E-10 ;FIINIT(U1T ) =  1.001000E-10
 FIINIT(EPSZ) =  1.001000E-10 ;FIINIT(EPSX) =  1.001000E-10
 FIINIT(EPSY) =  1.001000E-10 ;FIINIT(VISL) =  1.001000E-10
 FIINIT(DRH1) =  1.001000E-10 ;FIINIT(PRPS) = -1.000000E+00
   No PATCHes used for this Group
 
 
 INIADD  =    F
 ************************************************************
  Group 12. Convection and diffusion adjustments
   No PATCHes used for this Group
 ************************************************************
  Group 13. Boundary & Special Sources
 
 PATCH (FORC01  ,HIGH  ,2,0,0,0,0,0,1,1)
 COVAL (FORC01  ,W1  , FIXFLU      , 2.450000E+05)
 
 PATCH (FORCGRA ,VOLUME,3,0,0,0,0,0,1,1)
 COVAL (FORCGRA ,W1  , FIXFLU      ,-9.800000E+04)
 
 PATCH (ONEP    ,CELL  ,4,0,0,0,0,0,1,1)
 
 PATCH (AXESXX  ,EAST  ,5,0,0,0,0,0,1,1)
 COVAL (AXESXX  ,U1  , FIXVAL      , 0.000000E+00)
 
 PATCH (AXESYY  ,NORTH ,6,0,0,0,0,0,1,1)
 COVAL (AXESYY  ,V1  , FIXVAL      , 0.000000E+00)
 
 EGWF    =    T
 ************************************************************
  Echo InForm settings for Group 13
  INFORM13BEGIN
(source of W1 at ONEP is COVAL(1,:FRM00:))
  INFORM13END
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP  =       700
 RESREF(U1  ) =  0.000000E+00 ;RESREF(V1  ) =  0.000000E+00
 RESREF(W1  ) =  0.000000E+00
 RESFAC  = 1.000000E-07
 ************************************************************
  Group 16. Terminate Iterations
 LITER (P1  ) =       50 ;LITER (U1  ) =       50
 LITER (V1  ) =       50 ;LITER (W1  ) =       50
 ************************************************************
  Group 17. Relaxation
 RELAX(P1  ,LINRLX, 1.000000E+00)
 ************************************************************
  Group 18. Limits
 VARMAX(U1  ) = 1.000000E+06 ;VARMIN(U1  ) =-1.000000E+06
 VARMAX(V1  ) = 1.000000E+06 ;VARMIN(V1  ) =-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   =       700
 ISG52   =         3
 CSG10   ='Q1'
 ************************************************************
  Group 20. Preliminary Printout
 ECHO    =    T
 ************************************************************
  Group 21. Print-out of Variables
 OUTPUT(EPSZ,N,N,N,N,N,N)
 OUTPUT(VISL,N,N,N,N,N,N)
 OUTPUT(DRH1,N,N,N,N,N,N)
 OUTPUT(PRPS,N,N,N,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON   =         5 ;IYMON  =         5 ;IZMON  =         6
 NPRMON  =    100000
 NPRMNT  =         1
 TSTSWP  =        -1
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT  =    100000
 NZPRIN  =         1
 ISWPRF  =         1 ;ISWPRL =    100000
   No PATCHes used for this Group
 ************************************************************
  Group 24. Dumps For Restarts
 
 GVIEW(P,9.481798E-01,3.174610E-01,1.317008E-02)
 GVIEW(UP,-2.925978E-01,8.885762E-01,-3.532971E-01)
 
> DOM,    SIZE,        1.530000E-01, 1.530000E-01, 2.550000E+00
> DOM,    MONIT,       1.065000E-01, 1.065000E-01, 1.825000E+00
> DOM,    SCALE,       1.000000E+00, 1.000000E+00, 1.000000E+00
> DOM,    INCREMENT,   1.000000E-02, 1.000000E-02, 1.000000E-02
> GRID,   RSET_X_1,      1, 1.000000E+00
> GRID,   RSET_X_2,      5, 1.000000E+00
> GRID,   RSET_X_3,      1, 1.000000E+00
> GRID,   RSET_Y_1,      1, 1.000000E+00
> GRID,   RSET_Y_2,      5, 1.000000E+00
> GRID,   RSET_Y_3,      1, 1.000000E+00
> GRID,   RSET_Z_1,      1, 1.000000E+00
> GRID,   RSET_Z_2,      5, 1.000000E+00
> GRID,   RSET_Z_3,      1, 1.000000E+00
  > GRID,   RSET_Z_4,      1, 1.000000E+00
 
> OBJ,    NAME,        BODY
> OBJ,    POSITION,    1.500000E-03, 1.500000E-03, 2.500000E-02
> OBJ,    SIZE,        1.500000E-01, 1.500000E-01, 2.500000E+00
> OBJ,    GEOMETRY,    cube14
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    MATERIAL,    160,NOTSET
 
> OBJ,    NAME,        FORC01
> OBJ,    POSITION,    1.500000E-03, 1.500000E-03, 2.525000E+00
> OBJ,    SIZE,        1.500000E-01, 1.500000E-01, 0.000000E+00
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        FORCGRA
> OBJ,    POSITION,    1.500000E-03, 1.500000E-03, 0.000000E+00
> OBJ,    SIZE,        1.500000E-01, 1.500000E-01, 2.525000E+00
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        ONEP
> OBJ,    POSITION,    1.500000E-03, 1.500000E-03, 2.025000E+00
> OBJ,    SIZE,        1.500000E-01, 1.500000E-01, 5.000000E-01
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        AXESXX
> OBJ,    POSITION,    1.500000E-03, 1.500000E-03, 2.500000E-02
> OBJ,    SIZE,        0.000000E+00, 1.500000E-01, 2.500000E+00
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        AXESYY
> OBJ,    POSITION,    1.500000E-03, 1.500000E-03, 2.500000E-02
> OBJ,    SIZE,        1.500000E-01, 0.000000E+00, 2.500000E+00
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 ************************************************************
STOP