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 thin Beam (Plate).
   1. Comparison - a analytical solution (Timoshenko, Paragraph 108)
   2. Bottom of the beam is fixed (U1=V1=W1 = 0),
      Top - set tangential stress TauYZ for V1.
 
  ENDDIS
 ************************************************************
 IRUNN   =         1 ;LIBREF =       705
 ************************************************************
  Group 1. Run Title
 TEXT(3D TORSION of thin Beam; s705           )
 ************************************************************
  Group 2. Transience
 STEADY  =    T
 ************************************************************
  Groups 3, 4, 5  Grid Information
    * Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
 RSET(M,6,8,12,1.000000E-05)
 ************************************************************
  Group 6. Body-Fitted coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS  =    T
    * Non-default variable names
 NAME(132) =V1/T ; NAME(133) =U1/T
 NAME(134) =V1T  ; NAME(135) =U1T
 NAME(136) =EPSZ ; NAME(137) =EPSX
 NAME(138) =EPSY ; NAME(139) =STYZ
 NAME(140) =STXZ ; NAME(141) =STXY
 NAME(142) =STRZ ; NAME(143) =STRY
 NAME(144) =STRX ; NAME(145) =VISL
 NAME(146) =DRH1 ; NAME(147) =PRPS
 NAME(148) =DISZ ; NAME(149) =DISY
 NAME(150) =DISX
    * Solved variables list
 SOLVE(DISZ,DISY,DISX)
    * 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(DISZ,Y,Y,Y,N,N,Y)
 SOLUTN(DISY,Y,Y,Y,N,N,Y)
 SOLUTN(DISX,Y,Y,Y,N,N,Y)
 
 ************************************************************
  Echo InForm settings for Group  7
  INFORM7BEGIN
REAL(LX,LY,LZ,POISSON,YOUNG)
REAL(Momnt,TAUZ,GG,SHRYZ)
LX=2.e-3
LZ=50.e-3
LY=10.e-3
 
YOUNG   = 1/0.5E-11   ! Young's modulus
POISSON=0.3           ! Poisson's ratio
GG = YOUNG/(2.0*(1.0+POISSON))
Momnt = 10.0 * LX
 
TAUZ= 3*Momnt/LY/(LX**3)/GG
SHRYZ = 2*GG*TAUZ
  ******* plus  SHRXZ (see Timoshenko, Paragraph 108 !)
SHRYZ = 2*SHRYZ
 
char(FormU,FormV)
FormU=-:TAUZ:*ZG*(YG-0.5*:LY:)
FormV=:TAUZ:*ZG*(XG-0.5*:LX:)
 
(STORED VAR U1T IS :FormU:)
(STORED VAR V1T IS :FormV:)
(STORED VAR U1/T IS DISX/(U1T+1.e-20))
(STORED VAR V1/T IS DISY/(V1T+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(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) =  1.600000E+02
 FIINIT(DISZ) =  0.000000E+00 ;FIINIT(DISY) =  0.000000E+00
 FIINIT(DISX) =  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   ,LWALL ,1,0,0,0,0,0,1,1)
 COVAL (DOWNZ   ,DISZ, 1.000000E+00, 0.000000E+00)
 
 PATCH (DOWNXY  ,CELL  ,2,1,0,0,0,0,1,1)
 
 PATCH (UP      ,HIGH  ,3,0,0,0,0,0,1,1)
 
 EGWF    =    T
 ************************************************************
  Echo InForm settings for Group 13
  INFORM13BEGIN
(SOURCE of DISX at DOWNXY is COVAL(FIXVAL,:FormU:))
(SOURCE of DISY at DOWNXY is COVAL(FIXVAL,:FormV:))
(SOURCE of DISY at UP is COVAL(FIXFLU,:SHRYZ:*(XG-0.5*:LX:)))
  INFORM13END
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP  =      4500
 RESFAC  = 1.000000E-03
 ************************************************************
  Group 16. Terminate Iterations
 ************************************************************
  Group 17. Relaxation
 ************************************************************
  Group 18. Limits
 ************************************************************
  Group 19. EARTH Calls To GROUND Station
 USEGRD  =    T  ;USEGRX =    T
 STRA    =    T
 ASAP    =    T
 PARSOL  =    F
 ISG21   =      4500
 ISG52   =         3
 CSG10   ='q1'
 ************************************************************
  Group 20. Preliminary Printout
 ECHO    =    T
 ************************************************************
  Group 21. Print-out of Variables
 OUTPUT(V1T ,N,N,N,N,N,N)
 OUTPUT(U1T ,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   =         4 ;IYMON  =         2 ;IZMON  =        10
 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
 
 GVIEW(P,5.773503E-01,5.773503E-01,5.773503E-01)
 GVIEW(UP,-4.082483E-01,8.164966E-01,-4.082483E-01)
 
> DOM,    SIZE,        2.000000E-03, 1.000000E-02, 5.000000E-02
> DOM,    MONIT,       1.166667E-03, 1.875000E-03, 3.958334E-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,      6, 1.000000E+00
  > GRID,   RSET_Y_1,      8, 1.000000E+00
  > GRID,   RSET_Z_1,     12, 1.000000E+00
 
> OBJ,    NAME,        DOWNZ
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        2.000000E-03, 1.000000E-02, 0.000000E+00
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        DOWNXY
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        2.000000E-03, 1.000000E-02, 4.166667E-03
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        UP
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 5.000000E-02
> OBJ,    SIZE,        2.000000E-03, 1.000000E-02, 0.000000E+00
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 ************************************************************
STOP