next up previous contents
Next: Model Size Limitations Up: Sample GRID and Q1 Previous: A Monoblock Example

A Multiblock Example

The files produced for a two block `FEMGEN' model `CUBES' are `Q1', `G1' and `G2'.

Grid File, `G1'

    5    5    5
 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00
 2.500000E-01 2.500000E-01 2.500000E-01 2.500000E-01 2.500000E-01
 5.000000E-01 5.000000E-01 5.000000E-01 5.000000E-01 5.000000E-01
 7.500000E-01 7.500000E-01 7.500000E-01 7.500000E-01 7.500000E-01
 1.000000E+00 1.000000E+00 1.000000E+00 1.000000E+00 1.000000E+00
 0.000000E+00 2.500000E-01 5.000000E-01 7.500000E-01 1.000000E+00
 0.000000E+00 2.500000E-01 5.000000E-01 7.500000E-01 1.000000E+00

     .             .           .            .            .
     .             .           .            .            .
     .             .           .            .            .
     .             .           .            .            .

 0.000000E+00 2.500000E-01 5.000000E-01 7.500000E-01 1.000000E+00
 0.000000E+00 2.500000E-01 5.000000E-01 7.500000E-01 1.000000E+00
 1.000000E+00 1.000000E+00 1.000000E+00 1.000000E+00 1.000000E+00
 1.000000E+00 1.000000E+00 1.000000E+00 1.000000E+00 1.000000E+00
 1.000000E+00 1.000000E+00 1.000000E+00 1.000000E+00 1.000000E+00
 1.000000E+00 1.000000E+00 1.000000E+00 1.000000E+00 1.000000E+00
 1.000000E+00 1.000000E+00 1.000000E+00 1.000000E+00 1.000000E+00

Grid File, `G1'

    5    5    5
 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00
 1.250000E-01 1.250000E-01 1.250000E-01 1.250000E-01 1.250000E-01
 2.500000E-01 2.500000E-01 2.500000E-01 2.500000E-01 2.500000E-01
 3.750000E-01 3.750000E-01 3.750000E-01 3.750000E-01 3.750000E-01
 5.000000E-01 5.000000E-01 5.000000E-01 5.000000E-01 5.000000E-01
 0.000000E+00 1.250000E-01 2.500000E-01 3.750000E-01 5.000000E-01
 0.000000E+00 1.250000E-01 2.500000E-01 3.750000E-01 5.000000E-01
 0.000000E+00 1.250000E-01 2.500000E-01 3.750000E-01 5.000000E-01

     .             .           .            .            .
     .             .           .            .            .
     .             .           .            .            .
     .             .           .            .            .

 0.000000E+00 1.250000E-01 2.500000E-01 3.750000E-01 5.000000E-01
 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00
 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00
 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00
 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00
 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00

The Q1 file, `boxes.Q1'

 TALK=T;RUN(1,1)
 NUMBLK =    2
 BFC = T
 READCO(G+)
 MBLINK(           1,LOW  ,           2,HIGH )
 MPATCH(  2,BFCS9   ,SOUTH ,    1,    4,    1,    1,    1,    4,1,1)
 MPATCH(  1,S5      ,NORTH ,    1,    4,    4,    4,    1,    4,1,1)
     GROUP 1. Run title and other preliminaries
TEXT(Data from FEMGEN model BLOCKS  )
     GROUP 2. Transience; time-step specification
     GROUP 3. X-direction grid specification
     GROUP 4. Y-direction grid specification
     GROUP 5. Z-direction grid specification
     GROUP 6. Body fitted coordinates or grid distortion
     GROUP 7. Variables stored,solved and named
 SOLVE(P1,UC1,VC1,WC1)
 SOLUTN(P1,P,P,Y,P,P,P)
 SOLUTN(UC1,P,P,Y,P,P,P)
 SOLUTN(VC1,P,P,Y,P,P,P)
 SOLUTN(WC1,P,P,Y,P,P,P)
 SOLVE(U1,V1,W1)
 STORE(DEN1,PRPS)
 STORE(VPOR)
     GROUP 8. Terms and devices
 TERMS(U1,N,N,N,N,N,N)
 TERMS(V1,N,N,N,N,N,N)
 TERMS(W1,N,N,N,N,N,N)
     GROUP 9. Properties of the medium
 RHO1=GRND10; ENUL=GRND10
 PRESS0=1.0E+05
     GROUP 10. Interphase transfer processes
     GROUP 11. Initialization of variables
 INIADD=F
     GROUP 12. Patchwise adjustment of terms
     GROUP 13. Boundary conditions
COVAL(BFCS9   ,P1,FIXFLU,GRND2)
COVAL(BFCS9   ,UC1,ONLYMS,GRND2)
COVAL(BFCS9   ,VC1,ONLYMS,GRND2)
COVAL(BFCS9   ,WC1,ONLYMS,GRND2)
COVAL(S5      ,P1,1E3,  0.00000E+00)
COVAL(   S5   ,UC1,ONLYMS,0.0)
COVAL(   S5   ,VC1,ONLYMS,0.0)
COVAL(   S5   ,WC1,ONLYMS,0.0)
 EGWF=T
     GROUP 14. Down stream pressures
     GROUP 15. Termination of sweeps
     GROUP 16. Termination of iterations
 SELREF=T; RESFAC=0.01
     GROUP 17. Under relaxation devices
     GROUP 18. Limits on variables or increments
     GROUP 19. Data from satellite to GROUND
 USOLVE=T; UDIFF=T; UCONV=T; CSG3=LCRU
 ICNGRC=50; LSG3=T; LSG4=T
     GROUP 20. Preliminary print-out
     GROUP 21. Print out of variables
     GROUP 22. Spot-value print-out
 TSTSWP=-1
     GROUP 23. Field print-out and plot control
     GROUP 24. Dumps for restarts
 STOP



Femsys Limited
8/18/1999