```
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)
ENDDIS
************************************************************
IRUNN   =         1 ;LIBREF =       704
************************************************************
Group 1. Run Title
TEXT(3D TORSION of beam; s704                )
************************************************************
Group 2. Transience
************************************************************
Groups 3, 4, 5  Grid Information
* Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
RSET(M,8,8,8,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

Declarations and settings
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

YOUNG   = 1/0.5E-11   ! Young's modulus
POISSON=0.3           ! Poisson's ratio

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

************************************************************
Group 12. Convection and diffusion adjustments
No PATCHes used for this Group
************************************************************
Group 13. Boundary & Special Sources

PATCH (DOWN    ,LWALL ,1,0,0,0,0,0,1,1)
COVAL (DOWN    ,DISZ, 1.000000E+00, 0.000000E+00)

PATCH (DOWNXY  ,CELL  ,2,1,0,0,0,0,1,1)

PATCH (UP      ,CELL  ,3,1,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 DISX at UP is COVAL(FIXVAL,:FormU:))
(SOURCE of DISY at UP is COVAL(FIXVAL,:FormV:))
INFORM13END
************************************************************
Group 14. Downstream Pressure For PARAB
************************************************************
Group 15. Terminate Sweeps
LSWEEP  =      1000
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   =      1000
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   =         6 ;IYMON  =         2 ;IZMON  =         6
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,        1.000000E-02, 1.000000E-02, 1.000000E-01
> DOM,    MONIT,       6.875000E-03, 1.875000E-03, 6.875000E-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,      8, 1.000000E+00
> GRID,   RSET_Y_1,      8, 1.000000E+00
> GRID,   RSET_Z_1,      1, 1.000000E+00
> GRID,   RSET_Z_2,      6, 1.000000E+00
> GRID,   RSET_Z_3,      1, 1.000000E+00

> OBJ,    NAME,        DOWN
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        1.000000E-02, 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,        1.000000E-02, 1.000000E-02, 1.250000E-02
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED

> OBJ,    NAME,        UP
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 8.750000E-02
> OBJ,    SIZE,        1.000000E-02, 1.000000E-02, 1.250000E-02
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
************************************************************
STOP
```