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
   Transient 2DXY Piezoelectric + Flow Water.
  ENDDIS
  PHOTON USE
  p;parphi
  1 1 0.01
 
 
  clear
  set prop off
  gr ou z 2
  VECT IZ 2 SH DASH 0
 
  gr ou z 4
  VECT IZ 4 SH DASH 0
 
  gr ou z 9
  VECT IZ 9 SH DASH 0
 
  msg Velocity vector
  pause
 
  clear
  gr ou z 2
  SET VEC COMP - - -
  SET VEC COMP DISX DISY -
  VECT IZ 2 SH DASH 0
 
  gr ou z 4
  VECT IZ 4 SH DASH 0
 
  gr ou z 9
  VECT IZ 9 SH DASH 0
 
  msg Displacement vector
  pause
 
 
 
  autoplot
  FILE
  parphi 5
 
  clear
  data 1
  DISY X 1 Y 16 Z 1 m
  colA 1
  scale
  plot 1
  msg DISY(Time) for X=0 and Bottom Membrane
  pause
 
  clear
  data 1
  VPO1 X 1 Y 15 Z 1 m
  colA 1
  scale
  plot 1
  msg (1-VPOR)(Time) for X=0 and Bottom Membrane
  pause
 
  clear
  data 1
  V1 X 1 Y 1 Z 1 m
  colA 1
  scale
  plot 1
  msg V1(Time) for X=0 and Bottom Bore
  pause
 
 
  ENDUSE
 ************************************************************
 IRUNN   =         1 ;LIBREF =       903
 ************************************************************
  Group 1. Run Title
 TEXT(Transient 2DXY Piezoelectric; S903      )
 ************************************************************
  Group 2. Transience
 STEADY=F
    * Set overall time and no. of steps
 RSET(U,0.000000E+00,5.000000E-03,10)
    * Modify regions
 RSET(T,1,10,1.000000E+00)
 ************************************************************
  Groups 3, 4, 5  Grid Information
    * Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
 RSET(M,16,21,1,1.875000E-08)
 ************************************************************
  Group 6. Body-Fitted coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS  =    T
    * Non-default variable names
 NAME(134) =VPO1 ; NAME(135) =NPOR
 NAME(136) =EPOR ; NAME(137) =VPOR
 NAME(138) =STRX ; NAME(139) =EPSZ
 NAME(140) =EPSX ; NAME(141) =EPSY
 NAME(142) =DRH1 ; NAME(143) =DVO1
 NAME(144) =ENUL ; NAME(145) =DEN1
 NAME(146) =PRPS ; NAME(147) =VDSX
 NAME(148) =VDSY ; NAME(149) =DISX
 NAME(150) =DISY
    * Solved variables list
 SOLVE(P1  ,U1  ,V1  ,DISX,DISY)
    * Stored variables list
 STORE(VDSY,VDSX,PRPS,DEN1,ENUL,DVO1,DRH1,EPSY)
 STORE(EPSX,EPSZ,STRX,VPOR,EPOR,NPOR,VPO1)
 
 ************************************************************
  Echo InForm settings for Group  7
  inform7begin
 
(STORED VAR VPO1 IS (1.0-VPOR))
 
 
  inform7end
 ************************************************************
  Group 8. Terms & Devices
 TERMS (DISX,N,N,Y,Y,Y,N)
 TERMS (DISY,N,N,Y,Y,Y,N)
 ************************************************************
  Group 9. Properties
    * Domain material index is  67 signifying:
    * NOTSET
 SETPRPS(1, 67,Q1)
 ENUT    = 0.000000E+00
 DVO1DT  = 1.180000E-04
   *  List of user-defined materials to be read by EARTH
    MATFLG=T;IMAT=4
   *  Name
   *Ind. Dens.  Viscos.  Spec.heat  Conduct.  Expans.  Compr.
   *  
    67 998.23 1.006E-6 4181.8 0.597 1.18E-4
   *  
    101 7500.0 0.29 473.0 43.0 1.0E-5 1.65E-11
   *  
    120 8900.0 0.35 473.0 43.0 1.0E-5 13.3E-11
   *  
    160 1000.0 0.30 473.0 43.0 1.0E-5 0.91E-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(VPO1) =  1.001000E-10
 FIINIT(NPOR) =  1.000000E+00 ;FIINIT(EPOR) =  1.000000E+00
 FIINIT(VPOR) =  1.000000E+00 ;FIINIT(STRX) =  1.001000E-10
 FIINIT(EPSZ) =  1.001000E-10 ;FIINIT(EPSX) =  1.001000E-10
 FIINIT(EPSY) =  1.001000E-10 ;FIINIT(DRH1) =  1.001000E-10
 FIINIT(DVO1) =  1.001000E-10 ;FIINIT(ENUL) =  1.001000E-10
 FIINIT(DEN1) =  1.001000E-10 ;FIINIT(PRPS) = -1.000000E+00
 FIINIT(VDSX) =  0.000000E+00 ;FIINIT(VDSY) =  0.000000E+00
 FIINIT(DISX) =  0.000000E+00 ;FIINIT(DISY) =  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 (LEFTS   ,WWALL ,3,0,0,0,0,0,1,10)
 COVAL (LEFTS   ,DISX, 1.000000E+00, 0.000000E+00)
 
 PATCH (RIGHTS1 ,CELL  ,5,1,0,0,0,0,1,10)
 COVAL (RIGHTS1 ,DISX, FIXVAL      , 0.000000E+00)
 COVAL (RIGHTS1 ,DISY, FIXVAL      , 0.000000E+00)
 
 PATCH (RIGHTS2 ,EWALL ,6,0,0,0,0,0,1,10)
 COVAL (RIGHTS2 ,DISX, 1.000000E+00, 0.000000E+00)
 COVAL (RIGHTS2 ,DISY, 1.000000E+00, 0.000000E+00)
 
 PATCH (FORCER  ,EAST  ,8,0,0,0,0,0,1,10)
 
 PATCH (FSI#1   ,SOUTH ,9,0,0,0,0,0,1,10)
 
 EGWF    =    T
 ************************************************************
  Echo InForm settings for Group 13
  inform13begin
real(StrXR, E21, V0, EY0 ,StrXL,LYPZT1)
E21 =  6.75      ! Cuol/m**2
LYPZT1=4.75e-6
V0  = -6.7    ! Volt
EY0 = V0/LYPZT1
StrXR = E21*EY0
StrXL = -StrXR
 
real(TimMax1,TimCO)
TimMax1 = 1.0/50.0/4.0
TimCO = 6.28*50     ! 50 Hz
(SOURCE of DISX at FORCER is COVAL(FIXFLU,:StrXR:*SIN(:TimCO:*TIM)))
  inform13end
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP  =       800
 RESFAC  = 1.000000E-03
 ************************************************************
  Group 16. Terminate Iterations
 ************************************************************
  Group 17. Relaxation
 RELAX(P1  ,LINRLX, 1.000000E+00)
 RELAX(DISX,LINRLX, 1.000000E+00)
 RELAX(DISY,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
 ************************************************************
  Group 19. EARTH Calls To GROUND Station
 USEGRD  =    T  ;USEGRX =    T
 STRA    =    T
 ASAP    =    T
 PARSOL  =    F
 ISG21   =       800
 ISG52   =         3
 CSG10   ='q1'
 ************************************************************
  Group 20. Preliminary Printout
 ECHO    =    T
 ************************************************************
  Group 21. Print-out of Variables
 INIFLD  =    T
 ************************************************************
  Group 22. Monitor Print-Out
 NPRMON  =    100000
 NPRMNT  =         1
 TSTSWP  =        -1
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT  =    100000
 NTPRIN  =    100000 ;ISTPRF =         1 ;ISTPRL =     10000
 NYPRIN  =         1
 ISWPRF  =         1 ;ISWPRL =    100000
   No PATCHes used for this Group
 ************************************************************
  Group 24. Dumps For Restarts
 IDISPA  =         1 ;IDISPB =         0 ;IDISPC =         0
 
 GVIEW(P,-4.632893E-02,3.269605E-01,9.439016E-01)
 GVIEW(UP,-6.321301E-02,9.420626E-01,-3.294260E-01)
 
> DOM,    SIZE,        3.000000E-05, 8.475000E-05, 1.000000E-03
> DOM,    MONIT,       7.500000E-07, 5.000000E-06, 5.000000E-04
> DOM,    SCALE,       1.000000E+00, 1.000000E+00, 1.000000E-02
> DOM,    SNAPSIZE,    1.000000E-02
> GRID,   RSET_X_1,      5, 1.000000E+00
> GRID,   RSET_X_2,     11, 1.000000E+00
> GRID,   RSET_Y_1,      5, 1.000000E+00
> GRID,   RSET_Y_2,     10, 1.000000E+00
> GRID,   RSET_Y_3,      6, 1.000000E+00
  > GRID,   RSET_Z_1,      1, 1.000000E+00
 
> OBJ,    NAME,        PZT1
> OBJ,    POSITION,    0.000000E+00, 8.000000E-05, 0.000000E+00
> OBJ,    SIZE,        3.000001E-05, 4.750000E-06, 1.000000E-03
> OBJ,    GEOMETRY,    cube14
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  USER
> OBJ,    COLOR-VAL,         15
> OBJ,    MATERIAL,    101,NOTSET
> OBJ,    TIME_LIMITS,   ALWAYS_ACTIVE
 
> OBJ,    NAME,        PO1
> OBJ,    POSITION,    7.500000E-06, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        2.250001E-05, 5.000000E-05, 1.000000E-03
> OBJ,    GEOMETRY,    cube14
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  USER
> OBJ,    COLOR-VAL,         11
> OBJ,    MATERIAL,    120,NOTSET
> OBJ,    TIME_LIMITS,   ALWAYS_ACTIVE
 
> OBJ,    NAME,        LEFTS
> OBJ,    POSITION,    0.000000E+00, 8.000000E-05, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 4.750000E-06, 1.000000E-03
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        LEFTF
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 8.000000E-05, 1.000000E-03
> OBJ,    GEOMETRY,    cube11
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        PLATE
> OBJ,    TIME_LIMITS,   ALWAYS_ACTIVE
 
> OBJ,    NAME,        RIGHTS1
> OBJ,    POSITION,    2.795455E-05, 8.000000E-05, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 7.916240E-07, 1.000000E-03
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        CELLTYPE
 
> OBJ,    NAME,        RIGHTS2
> OBJ,    POSITION,    3.000000E-05, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 5.000000E-05, 1.000000E-03
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        RIGHTF
> OBJ,    POSITION,    3.000000E-05, 5.000000E-05, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 3.000000E-05, 1.000000E-03
> OBJ,    GEOMETRY,    cube11
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        PLATE
> OBJ,    TIME_LIMITS,   ALWAYS_ACTIVE
 
> OBJ,    NAME,        FORCER
> OBJ,    POSITION,    3.000000E-05, 8.000000E-05, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 4.750000E-06, 1.000000E-03
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        FSI#1
> OBJ,    POSITION,    0.000000E+00, 8.000000E-05, 0.000000E+00
> OBJ,    SIZE,        3.000000E-05, 0.000000E+00, 1.000000E-03
> OBJ,    GEOMETRY,    default
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        USER_DEFINED
 
> OBJ,    NAME,        BORE
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        7.500001E-06, 0.000000E+00, 1.000000E-03
> OBJ,    GEOMETRY,    cube12t
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        OUTLET
> OBJ,    PRESSURE,     0.000000E+00
> OBJ,    TEMPERATURE,  SAME
> OBJ,    COEFFICIENT,  1.000000E+03
> OBJ,    TIME_LIMITS,   ALWAYS_ACTIVE
 ************************************************************
STOP