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: Torsion of the long square beam.
   1. Bottom of the beam is fixed (U1=V1=W1 = 0), Top - for U1 
      and V1 is used exact decision: U(Y),V(X).
   2. Comparison - a analytical solution (Timoshenko, Paragraph 104)
   3. Used Boundary Flow-layers
 
 
  ENDDIS
 ************************************************************
 IRUNN   =         1 ;LIBREF =       304
 ************************************************************
  Group 1. Run Title
 TEXT(3D TORSION of beam; s304                )
 ************************************************************
  Group 2. Transience
 STEADY  =    T
 ************************************************************
  Groups 3, 4, 5  Grid Information
    * Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
 RSET(M,10,10,10,9.999983E-06)
 ************************************************************
  Group 6. Body-Fitted coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS  =    T
    * Non-default variable names
 NAME(135) =V1/T ; NAME(136) =U1/T
 NAME(137) =V1T  ; NAME(138) =U1T
 NAME(139) =EPSZ ; NAME(140) =EPSX
 NAME(141) =EPSY ; NAME(142) =STYZ
 NAME(143) =STXZ ; NAME(144) =STXY
 NAME(145) =STRZ ; NAME(146) =STRY
 NAME(147) =STRX ; NAME(148) =VISL
 NAME(149) =DRH1 ; NAME(150) =PRPS
    * Solved variables list
 SOLVE(P1  ,U1  ,V1  ,W1  )
    * Stored variables list
 STORE(PRPS,DRH1,VISL,STRX,STRY,STRZ,STXY,STXZ)
 STORE(STYZ,EPSY,EPSX,EPSZ,U1T ,V1T ,U1/T,V1/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(LX,LY,LZ,POISSON,YOUNG)
REAL(SHEARZ,TAUZ)
LX=10.e-3
LZ=100.e-3
LY=LX
 
TAUZ= 1.0/180*3.14
TAUZ
 
YOUNG   = 1/0.5E-11   ! Young's modulus
POISSON=0.3           ! Poisson's ratio
 
char(FormU,FormV)
FormU=-:TAUZ:*(ZG-0.01*:LZ:)*(YV-0.51*:LY:)
FormV=:TAUZ:*(ZG-0.01*:LZ:)*(XU-0.51*:LX:)
 
   **** CALCULATE analytical solution ***
(STORED VAR U1T IS :FormU:)
(STORED VAR V1T IS :FormV:)
(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)
  INFORM7END
  
 ************************************************************
  Group 8. Terms & Devices
 ************************************************************
  Group 9. Properties
    * Domain material index is   0 signifying:
    * Air at 20 deg C, 1 atm, treated as incompressible
 SETPRPS(1, 0,Q1)
 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 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(V1  ) =  0.000000E+00 ;FIINIT(W1  ) =  0.000000E+00
 FIINIT(V1/T) =  1.001000E-10 ;FIINIT(U1/T) =  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(STYZ) =  1.001000E-10
 FIINIT(STXZ) =  1.001000E-10 ;FIINIT(STXY) =  1.001000E-10
 FIINIT(STRZ) =  1.001000E-10 ;FIINIT(STRY) =  1.001000E-10
 FIINIT(STRX) =  1.001000E-10 ;FIINIT(VISL) =  1.001000E-10
 FIINIT(DRH1) =  1.001000E-10 ;FIINIT(PRPS) =  0.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 (DOWNZ   ,HIGH  ,2,0,0,0,0,0,1,1)
 COVAL (DOWNZ   ,W1  , FIXVAL      , 0.000000E+00)
 
 PATCH (DOWN0X  ,CELL  ,3,0,0,0,0,0,1,1)
 
 PATCH (DOWN0Y  ,CELL  ,4,0,0,0,0,0,1,1)
 
 PATCH (UP0X    ,CELL  ,5,0,0,0,0,0,1,1)
 
 PATCH (UP0Y    ,CELL  ,6,0,0,0,0,0,1,1)
 
 PATCH (PRESS   ,CELL  ,0,0,0,0,0,0,1,1)
 COVAL (PRESS   ,P1  , FIXVAL      , 0.000000E+00)
 
 EGWF    =    T
 ************************************************************
  Echo InForm settings for Group 13
  SAVE13BEGIN
(SOURCE of U1 at DOWN0X is COVAL(FIXVAL,:FormU:))
(SOURCE of V1 at DOWN0Y is COVAL(FIXVAL,:FormV:))
(SOURCE of U1 at UP0X is COVAL(FIXVAL,:FormU:))
(SOURCE of V1 at UP0Y is COVAL(FIXVAL,:FormV:))
 
 
  SAVE13END
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP  =       600
 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   =       600
 ISG52   =         1
 CSG10   ='Q1'
 ************************************************************
  Group 20. Preliminary Printout
 ECHO    =    T
 ************************************************************
  Group 21. Print-out of Variables
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON   =         8 ;IYMON  =         2 ;IZMON  =         8
 NPRMON  =    100000
 NPRMNT  =         1
 TSTSWP  =        -1
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT  =    100000
 NXPRIN  =         1
 NYPRIN  =         1
 NZPRIN  =         1
 ISWPRF  =         1 ;ISWPRL =    100000
   No PATCHes used for this Group
 ************************************************************
  Group 24. Dumps For Restarts
 TAUZ    = 1.744444E-02
 
 GVIEW(P,5.773503E-01,5.773503E-01,5.773503E-01)
 GVIEW(UP,-4.082483E-01,8.164966E-01,-4.082483E-01)
 
> DOM,    SIZE,        1.020000E-02, 1.020000E-02, 1.020000E-01
> DOM,    MONIT,       8.225000E-03, 7.250000E-04, 8.225000E-02
> 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,      8, 1.000000E+00
> GRID,   RSET_X_3,      1, 1.000000E+00
> GRID,   RSET_Y_1,      1, 1.000000E+00
> GRID,   RSET_Y_2,      8, 1.000000E+00
> GRID,   RSET_Y_3,      1, 1.000000E+00
> GRID,   RSET_Z_1,      1, 1.000000E+00
> GRID,   RSET_Z_2,      8, 1.000000E+00
> GRID,   RSET_Z_3,      1, 1.000000E+00
 
> OBJ,    NAME,        BODY
> OBJ,    POSITION,    1.000000E-04, 1.000000E-04, 1.000000E-03
> OBJ,    SIZE,        1.000000E-02, 1.000000E-02, 1.000000E-01
> OBJ,    GEOMETRY,    cube14
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    MATERIAL,    160,NOTSET
 
> OBJ,    NAME,        DOWNZ
> OBJ,    POSITION,    1.000000E-04, 1.000000E-04, 1.000000E-03
> OBJ,    SIZE,        1.000000E-02, 1.000000E-02, 0.000000E+00
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    GRID,        NO
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        DOWN0X
> OBJ,    POSITION,    0.000000E+00, 1.000000E-04, 1.000000E-03
> OBJ,    SIZE,        1.010000E-02, 1.000000E-02, 1.250000E-02
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    GRID,        NO
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        DOWN0Y
> OBJ,    POSITION,    1.000000E-04, 0.000000E+00, 1.000000E-03
> OBJ,    SIZE,        1.000000E-02, 1.010000E-02, 1.250000E-02
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    GRID,        NO
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        UP0X
> OBJ,    POSITION,    0.000000E+00, 1.000000E-04, 8.850000E-02
> OBJ,    SIZE,        1.010000E-02, 1.000000E-02, 1.250000E-02
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    GRID,        NO
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        UP0Y
> OBJ,    POSITION,    1.000000E-04, 0.000000E+00, 8.850000E-02
> OBJ,    SIZE,        1.000000E-02, 1.010000E-02, 1.250000E-02
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    GRID,        NO
> OBJ,    TYPE,        USER_DEFINED
 ************************************************************
STOP