TALK=T;RUN( 1, 1)
 
 ************************************************************
   Q1 created by VDI menu, Version 2025, Date 17/06/25
 CPVNAM=VDI; SPPNAM=Core
 ************************************************************
  Echo DISPLAY / USE settings
  DISPLAY
   This case is the same as library case 959, with
   convection in the melt modelled.
 
   The case considered is the transient, three-dimensional
   solidification of a phase-change material (PCM) in a
   rectangular heat storage unit 34 mm wide, 990 mm high
   and 570mm long.
 
   The PCM is calcium cloride hexahydrate contained in a
   casing of 1mm wall (glass), on either side of which
   cooling water flows with an inlet temperature of
   40 degC.
 
   The solution domain consists of one PCM panel 12 mm wide,
   with two half-size panels on either side.
 
 
              |W|         |W|
              |W|         |W|
              |W|         |W|
              |W|         |W|
         PCM  |W|   PCM   |W|  PCM
        (6mm) |W| (12mm)  |W|  (6mm)
              |W|         |W|
              |W|         |W|
              |W|         |W|
 
       W = water
       | = glass
 
 
   The PCM has a liquidus temperature of 48 degC, and a
   solidus temperature of 43 degC.
 
   The initial temperature throughout the entire system is
   50 degC. The sides of the entire system are adiabatic.
 
   A linear phase change is employed whereby the evolution
   of latent heat is expressed as a linear function of
   temperature. The IN-FORM facility of PHOENICS is used to
   to implement the enthalpy-porosity phase-change algorithm
   of Prakash & Voller by means of an effective specific-
   heat capacity. The convection in the melt is modelled
   with the flow resistance modelled by means of the Kozeny-
   Carmen equation, and buoyancy forces modelled by using
   the Buossinesq approximation.
 
   In the simulations, the PCM phase densities are taken as
   1000 kg/m^3, and the phase specific-heat capacity as
   2200 (liquid) or 1400 J/kgK (solid). The conductvity
   is taken as 0.50 W/mK (liquid) and 1.1 W/mK (solid),
   the kinematic viscosity as 9.6-E6 m^2/s,
   and the latent heat of fusion as 200 kJ/kg.
 
   The properties of the glass casing are taken as follows:
   density = 2700 kg/m^3, specific heat = 840 J/kgK; and
   thermal conductivity = 0.78 W/mK.
 
   For a period of 1 hour, heat is removed through the
   sides of the unit, and a transient simulation of the
   solidification process is performed by solving
   conservation equations for mass continuity, momentum and
   energy. The computations employ a time step of 12s.
 
   The INFORM facility is used to create an output file
   called MONTAB.CSV which contains for a specified monitor
   point the temporal history of average PCM temperature &
   solid fraction, the heat transfer rate into the water
   channels the water exit temperatures.
  ENDDIS
 ************************************************************
 IRUNN = 1 ;LIBREF = 0
 ************************************************************
  Group 1. Run Title
 TEXT(3d PCM Solidification                   )
 ************************************************************
  Echo save-block settings for Group  1
  save1begin
  *************************************************************
  *         EFFECTIVE-SPECIFIC PHASE-CHANGE   MODEL           *
  *-----------------------------------------------------------*
  *                                                           *
  * Definition of Specific Enthalpy, h, at temperature, T:    *
  *                                                           *
  *        T                                                  *
  *       (                                                   *
  *  h =  | Cp dT + (1 - fs) L                                *
  *       )                                                   *
  *       0                                                   *
  *                                                           *
  * where: L  is the latent heat of the material;             *
  *        fs is the solid fraction; and                      *
  *        Cp is the specific heat capacity,                  *
  *                                                           *
  * given by:                                                 *
  *                                                           *
  *  Cp = fs Cps + (1 - fs) cpl                               *
  *                                                           *
  * where Cps is the solid-phase specific heat capacity; and  *
  *       Cpl is the liquid-phase specific heat capacity.     *
  *                                                           *
  * Definition of solid fraction, fs, at temperature, T,      *
  * according to the Sheil equation:                          *
  *                                                           *
  *  T <= TS     : fs = 1.0                                   *
  *                                m                          *
  *                     ( TL - T  )                           *
  *  TS < T < TL : fs = ( ------- )                           *
  *                     ( TL - TS )                           *
  *                                                           *
  *  T >= TL     : fs = 0.0                                   *
  *                                                           *
  * where: TS is the solidus temperature; and                 *
  *        TL is the liquidus temperature.                    *
  *                                                           *
  *************************************************************
  *************************************************************
  *   FLOW RESISTANCE TERMS IN THE MOMENTUM EQUATIONS         *
  *-----------------------------------------------------------*
  *                                                           *
  * The partially solidified region is treated as a porous    *
  * medium, and the porosity in each mesh cell is defined in  *
  * terms of the solid fraction fs, which is equal to unity   *
  * in fully-solidified regions. A flow resistance term is    *
  * introduced into the momentum equations so as to reduce    *
  * the velocities in partially-solidified regions, and to    *
  * extinguish the velocities in fully-solid regions. The     *
  * resistance term is based on the Kozeny-Carman equation    *
  * for a porous medium, and takes the following form:        *
  *                                                           *
  *                     2               3                     *
  *    Smom = - rho*C*fs *Ui/[ E +(1-fs) ]                    *
  *                                                           *
  * where Smom is the momentum volumetric force vector        *
  *       rho  is the fluid density                           *
  *       fs   is the solid fraction                          *
  *       Ui   is the velocity vector   6                     *
  *       C    is a constant equal to 10 which controls the   *
  *            degree of the velocity damping. ; and          *
  *       E    is a small number equal to 0.001 to prevent    *
  *            division by zero.                              *
  *                                                           *
  *************************************************************
  save1end
 ************************************************************
  Group 2. Transience
 STEADY=F
    * Set overall time and no. of steps
 RSET(U,0.,3600.,300)
    * Modify regions
 RSET(T,1,300,1.)
 ************************************************************
  Groups 3, 4, 5  Grid Information
    * Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
 RSET(M,10,36,40,1.0E-04)
 ************************************************************
  Group 6. Body-Fitted coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
    * Non-default variable names
 NAME(137)=VABS ;NAME(138)=#TCO
 NAME(139)=#TRE ;NAME(140)=#TDC
 NAME(141)=ENUL ;NAME(142)=KOND
 NAME(143)=TSUP ;NAME(144)=PRPS
 NAME(145)=SPH1 ;NAME(146)=TEM1
 NAME(147)=TPCM ;NAME(148)=DEN1
 NAME(149)=ENTH ;NAME(150)=FSOL
    * Solved variables list
 SOLVE(P1,U1,V1,W1,TEM1)
    * Stored variables list
 STORE(FSOL,ENTH,DEN1,TPCM,SPH1,PRPS,TSUP,KOND)
 STORE(ENUL,#TDC,#TRE,#TCO,VABS)
    * Additional solver options
 SOLUTN(P1,Y,Y,Y,N,N,Y)
 SOLUTN(TEM1,Y,Y,Y,N,N,Y)
 
 ************************************************************
  Echo save-block settings for Group  7
  save7begin
   ** Temperature in degC (1st character # denotes calculation
      will also take place in the aluminium solid material)
(stored of #TDC is TEM1)
   ** Temperature of PCM in degC
(stored of TPCM is TEM1 with imat=-1)
   ** Degree of superheat, i.e (T-Tliquidus)
real(tliqc)
tliqc=48.0
(stored of TSUP is TPCM-:tliqc: with IMAT < 100)
 
(stored of #TCO is CORR(TEM1))
(stored of #TRE is RESI(TEM1))
  save7end
 ************************************************************
  Group 8. Terms & Devices
 ************************************************************
  Group 9. Properties
 PRESS0 =1.01325E+05
    * Domain material index is  67 signifying:
    * WATER at 20. deg C
 SETPRPS(1, 67)
 RHO1 =1000.
 ENUL =9.6E-06
 CP1 =2500.
 ENUT =0.
 DVO1DT =1.0E-04
 PRNDTL(TEM1)=-0.5
 ************************************************************
  Echo save-block settings for Group  9
  save9begin
real(hlat,tsol,tliq,mndx,cps,cpl)
   *** Latent heat of solidification (J/kg)
hlat=200.e3
   *** Solidus temperature (K)
    tsol=43.0+273.0
tsol=43.0
   *** Liquidus temperature (K)
       tliq=tliqc+273.0
tliq=tliqc
  * Solidification index (dimensionless):
mndx = 1.0
  * Specific heat capacity of solid phase (J/kg/K):
cps  = 1400.
  * Specific heat capacity of liquid phase (J/kg/K):
cpl  = 2200.
  * Compute Enthalpy of PCM
      * pure-solid regime
(stored of enth is cps*tem1 with if(tem1.lt.:tsol:)!imat.eq.-1)
      * pure-liquid regime
(stored of enth is (cpl*tem1+(cps-cpl)*tsol+hlat+(cps-cpl)*(tliq-tsol)/(mndx+1)) with if(tem1.ge.:tliq:)!imat.eq.-1)
      * phase-transition regime
(stored of enth is (cpl*tem1+(cps-cpl)*tsol+(1.-fsol)*hlat+(cps-cpl)/(mndx+1)*(tliq-tsol-fsol*(tliq-tem1))) with if(tem1.gt.:tsol:.and.tem1.lt.:tliq:)!imat.eq.-1)
 
  ** Compute effective Cp for use in energy transport equation
(property sph1 is enth/tem1 with imat.eq.-1)
 
  ** Compute solid fraction
(stored fsol is 1 with if(tem1.le.:tsol:)!imat.eq.-1)
(stored fsol is 0 with if(tem1.ge.:tliq:)!imat.eq.-1)
(stored fsol is ((tliq-tem1)/(tliq-tsol))^mndx with if(tem1.gt.:tsol:.and.tem1.lt.:tliq:)!imat.eq.-1)
 
   ** Thermal conductivity of the pcm
real(conds,condl);conds=1.1;condl=0.5
(property PRNDTL(TEM1) is -(conds*fsol+condl*(1.-fsol))!imat.eq.-1)
  save9END
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initialise Var/Porosity Fields
 FIINIT(PRPS)=-1. ;FIINIT(TEM1)=50.
 FIINIT(ENTH)=2.736E+05 ;FIINIT(FSOL)=0.
   No PATCHes used for this Group
 
 
 INIADD = F
 ************************************************************
  Echo save-block settings for Group 11
  save11begin
real(enth0,t0)
  *** Initial temperature 50.0 degC
     t0=50.0+273.0
t0=50.0
  *** Initial enthalpy
enth0=cpl*t0+(cps-cpl)*tsol+hlat+(cps-cpl)*(tliq-tsol)/(mndx+1)
cpl
cps
t0
hlat
enth0
 FIINIT(TEM1)=t0 ;FIINIT(ENTH)=enth0
 FIINIT(FSOL)=0.
  save11END
 ************************************************************
  Group 12. Convection and diffusion adjustments
   No PATCHes used for this Group
 ************************************************************
  Group 13. Boundary & Special Sources
 
   This patch is attached to object RES
 PATCH(DRES, PHASEM, -1, 0, 0, 0, 0, 0, 1, 10000)
 COVAL(DRES, #TCO, 0., 0.)
 
   This patch is attached to object RES-S
 PATCH(VP1, PHASEM, -1, 0, 0, 0, 0, 0, 1, 10000)
 COVAL(VP1, #TCO, 0., 0.)
 
   This patch is attached to object RES-N
 PATCH(VP2, PHASEM, -1, 0, 0, 0, 0, 0, 1, 10000)
 COVAL(VP2, #TCO, 0., 0.)
 
   This patch is attached to object BUOYS
 PATCH(BUOYS, PHASEM, -1, 0, 0, 0, 0, 0, 1, 10000)
 COVAL(BUOYS, U1, FIXFLU, GRND3)
 COVAL(BUOYS, V1, FIXFLU, GRND3)
 COVAL(BUOYS, W1, FIXFLU, GRND3)
 
   This patch is attached to object BUOYN
 PATCH(BUOYN, PHASEM, -1, 0, 0, 0, 0, 0, 1, 10000)
 COVAL(BUOYN, U1, FIXFLU, GRND3)
 COVAL(BUOYN, V1, FIXFLU, GRND3)
 COVAL(BUOYN, W1, FIXFLU, GRND3)
 
   This patch is attached to object BUOY
 PATCH(BUOY, PHASEM, -1, 0, 0, 0, 0, 0, 1, 10000)
 COVAL(BUOY, U1, FIXFLU, GRND3)
 COVAL(BUOY, V1, FIXFLU, GRND3)
 COVAL(BUOY, W1, FIXFLU, GRND3)
 
 BUOYA =0. ; BUOYB =0. ; BUOYC =-9.81
 BUOYE =38.
 EGWF = T
 ************************************************************
  Echo save-block settings for Group 13
  save13begin
   Flow resistance resistance force = - rho*vol*const*B(FSOL)*Ui
real(cdr,edr)
char(bdr)
cdr=1.e6
edr=1.e-3
bdr=cdr*FSOL^2/(EDR+(1.-FSOL)^3)
   ** PCM Kozeny-Carman resistance force for momentum equations
if(nx.gt.1) then
(source of u1 at DRES is coval(:bdr:,0.) with if(prps.eq.-1.and.prps[+1].eq.-1))
endif
if(ny.gt.1) then
(source of v1 at DRES is coval(:bdr:,0.) with if(prps.eq.-1.and.prps[,+1].eq.-1))
endif
if(nz.gt.1) then
(source of w1 at DRES is coval(:bdr:,0.) with if(prps.eq.-1.and.prps[,,+1].eq.-1))
endif
  save13end
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 200
 RESREF(P1)=1.0E-12 ;RESREF(V1)=1.0E-12
 RESREF(TEM1)=1.0E-12
 RESFAC =1.0E-05
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=120 ;LITER(TEM1)=50
 ENDIT(P1)=1.0E-05 ;ENDIT(TEM1)=1.0E-10
 ************************************************************
  Group 17. Relaxation
 RELAX(P1 ,LINRLX,1. )
 RELAX(U1 ,FALSDT,0.5 )
 RELAX(V1 ,FALSDT,0.5 )
 RELAX(W1 ,FALSDT,0.5 )
 RELAX(SPH1,LINRLX,1.0E-02 )
 RELAX(TEM1,LINRLX,0.5 )
 ************************************************************
  Group 18. Limits
 VARMAX(TEM1)=3000. ;VARMIN(TEM1)=-204.862488
 VARMAX(DEN1)=1.0E+10 ;VARMIN(DEN1)=1.0E-10
 VARMAX(FSOL)=1. ;VARMIN(FSOL)=0.
 ************************************************************
  Group 19. EARTH Calls To GROUND Station
 PARSOL = F
 ISG62 = 1
 SPEDAT(SET,OUTPUT,NOFIELD,L,T)
 SPEDAT(SET,AUTOMESH,OLD-Z,I,2)
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 SPEDAT(SET,GXMONI,CLASSIC,L,T)
 SPEDAT(SET,MAXINC,P1,R,1.0E+04)
 SPEDAT(SET,MAXINC,V1,R,5.)
 SPEDAT(SET,MAXINC,W1,R,5.)
 SPEDAT(SET,MAXINC,TEM1,R,10.)
 ************************************************************
  Echo save-block settings for Group 19
  save19begin
   * create MS-Excel output file of solution temporal history
(make sumvld is 0.)
(make sumtvd is 0.)
(make sumfsd is 0.)
(make tvad is 0.)
(make fsva is 0.)
(store1 of sumvld at DRES is sum(vol) with if (prps<100))
(store1 of sumtvd at DRES is sum(tpcm*vol) with if (prps<100))
(store1 of sumfsd at DRES is sum(fsol*vol) with if (prps<100))
(store1 of tvad  at DRES is sumtvd/sumvld with if (prps<100))
(store1 of fsva  at DRES is sumfsd/sumvld with if (prps<100))
(print of vol_d is sumvld)
(print of tavg_d is tvad)
(print of fsol_d is fsva)
(make efins is 0.0)
(make efous is 0.0)
(make qnets is 0.0)
(store1 of efins is NETS(TEM1,IN_AS))
(store1 of efous is NETS(TEM1,OUT_AS))
(store1 of qnets is -efous-efins)
(make efinn is 0.0)
(make efoun is 0.0)
(make qnetn is 0.0)
(store1 of efinn is NETS(TEM1,IN_AN))
(store1 of efoun is NETS(TEM1,OUT_AN))
(store1 of qnetn is -efoun-efinn)
(make taos is 0.0)
(make taon is 0.0)
(make mfaos is 0.0)
(make mfaon is 0.0)
(store1 of mfaos is NETS(P1,OUT_AS))
(store1 of mfaon is NETS(P1,OUT_AN))
(print of efou_n is efoun)
(print of mfao_n is mfaon)
(print of tao_n is efoun/(mfaon*4182.))
(store1 of taos is efous/(mfaos*4182.))
(store1 of taon is efoun/(mfaon*4182.))
(table in montab.csv is get(tvad,fsva,qnets,qnetn,taos,taon) with head(tpcm,fs,qs,qn,taos,taon)!time)
  save19end
 ************************************************************
  Group 20. Preliminary Printout
 DISTIL = T ;NULLPR = F
 NDST = 0
 DSTTOL =1.0E-02
 EX(P1)=2.332 ;EX(U1)=6.076E-08
 EX(V1)=5.745E-07 ;EX(W1)=1.787E-03
 EX(VABS)=1.787E-03 ;EX(#TCO)=2.259E-05
 EX(#TRE)=2.169E-05 ;EX(#TDC)=41.650002
 EX(ENUL)=0.05112 ;EX(KOND)=0.8755
 EX(TSUP)=14.02 ;EX(PRPS)=39.
 EX(SPH1)=2203. ;EX(TEM1)=41.650002
 EX(TPCM)=23.309999 ;EX(DEN1)=1377.
 EX(ENTH)=1.073E+05 ;EX(FSOL)=0.4863
 ************************************************************
  Group 21. Print-out of Variables
 OUTPUT(#TCO,Y,N,Y,N,Y,Y)
 OUTPUT(#TRE,Y,N,Y,N,Y,Y)
 OUTPUT(TSUP,Y,N,Y,N,Y,Y)
 OUTPUT(SPH1,Y,N,Y,N,Y,Y)
 OUTPUT(TPCM,Y,N,Y,N,Y,Y)
 OUTPUT(ENTH,Y,N,Y,N,Y,Y)
 OUTPUT(FSOL,Y,N,Y,N,Y,Y)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 5 ;IYMON = 18 ;IZMON = 37
 NPRMON = 100000
 NPRMNT = 1
 TSTSWP = -1
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000
 NTPRIN = 1 ;ISTPRF = 1 ;ISTPRL = 100000
 YZPR = T
 ISWPRF = 1 ;ISWPRL = 100000
   No PATCHes used for this Group
 ************************************************************
  Group 24. Dumps For Restarts
 IDISPA = 30 ;IDISPB = 1 ;IDISPC = 10000
 CSG1    ='AIN'
 
 GVIEW(P,1.,0.,0.)
 GVIEW(UP,0.,0.,1.)
 GVIEW(WINDOW,MAX)
 GVIEW(DEPTH,3.0E+04)
 GVIEW(VDIS,0.548579)
 GVIEW(CENTRE,0.285,0.017,0.495)
 
> DOM,    SIZE,        5.700000E-01, 3.400000E-02, 9.900000E-01
> DOM,    MONIT,       2.565000E-01, 1.624460E-02, 9.033749E-01
> 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,     10, 1.000000E+00,G
> GRID,   RSET_Y_1,      5,-1.300000E+00
> GRID,   RSET_Y_2,      2, 1.000000E+00
> GRID,   RSET_Y_3,     -4, 1.100000E+00,G
> GRID,   RSET_Y_4,      2, 1.000000E+00
> GRID,   RSET_Y_5,    -10, 1.300000E+00
> GRID,   RSET_Y_6,      2, 1.000000E+00,G
> GRID,   RSET_Y_7,      4, 1.100000E+00,G
> GRID,   RSET_Y_8,      2, 1.000000E+00,G
> GRID,   RSET_Y_9,      5, 1.300000E+00,G
> GRID,   RSET_Z_1,     40, 1.000000E+00
> DOM,    SWPTIM01,   2.000000E+00, 6.000000E+02,     200
> DOM,    T_AMBIENT,   3.800000E+01
 
> OBJ,    NAME,        ACS-2
> OBJ,    POSITION,    0.000000E+00, 1.000000E-02, 0.000000E+00
> OBJ,    SIZE,        TO_END,       1.000000E-03, 9.900000E-01
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    cube14
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    COLOR-VAL,   32
> OBJ,    WIREFRAME,   YES
> OBJ,    MATERIAL,    106,GLASS at 20 deg c
> OBJ,    TIME_LIMITS, ALWAYS_ACTIVE
> OBJ,    INI_TEMP,     T_AMBIENT
 
> OBJ,    NAME,        ACN-1
> OBJ,    POSITION,    0.000000E+00, 2.300000E-02, 0.000000E+00
> OBJ,    SIZE,        TO_END,       1.000000E-03, 9.900000E-01
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    cube14
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    COLOR-VAL,   32
> OBJ,    WIREFRAME,   YES
> OBJ,    MATERIAL,    106,GLASS at 20 deg c
> OBJ,    TIME_LIMITS, ALWAYS_ACTIVE
> OBJ,    INI_TEMP,     T_AMBIENT
 
> OBJ,    NAME,        PR
> OBJ,    POSITION,    3.420000E-01, 1.991150E-02, 9.899999E-02
> OBJ,    SIZE,        5.700001E-02, 1.265323E-03, 2.475000E-02
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    cubet
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        PRESSURE_RELIEF
> OBJ,    COLOR-MODE,  USER
> OBJ,    COLOR-VAL,   2
> OBJ,    WIREFRAME,   YES
> OBJ,    PRES_RELIEF, 1.000000E+03, P_AMBIENT
 
> OBJ,    NAME,        RES
> OBJ,    POSITION,    0.000000E+00, 1.100000E-02, 0.000000E+00
> OBJ,    SIZE,        TO_END,       1.200000E-02, TO_END
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    box
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        USER_DEFINED
> OBJ,    COLOR-MODE,  USER
> OBJ,    COLOR-VAL,   5
> OBJ,    WIREFRAME,   YES
> OBJ,    PATCHES,     DRES
 
> OBJ,    NAME,        WATER_S
> OBJ,    POSITION,    0.000000E+00, 7.000000E-03, 0.000000E+00
> OBJ,    SIZE,        5.700000E-01, 3.000000E-03, 9.900000E-01
> OBJ,    GEOMETRY,    cubet
> OBJ,    ROTATION24,  2
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  USER
> OBJ,    COLOR-VAL,   212
> OBJ,    WIREFRAME,   YES
> OBJ,    MATERIAL,    67, WATER at 20. deg C
> OBJ,    TIME_LIMITS, ALWAYS_ACTIVE
> OBJ,    INI_TEMP,    50.
> OBJ,    INI_VEL_X_1, 0.
> OBJ,    INI_VEL_Y_1, 0.
> OBJ,    INI_VEL_Z_1, 0.
 
> OBJ,    NAME,        WATER_N
> OBJ,    POSITION,    0.000000E+00, 2.400000E-02, 0.000000E+00
> OBJ,    SIZE,        TO_END,       3.000000E-03, 9.900000E-01
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    cubet
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  USER
> OBJ,    COLOR-VAL,   212
> OBJ,    WIREFRAME,   YES
> OBJ,    MATERIAL,    67, WATER at 20. deg C
> OBJ,    TIME_LIMITS, ALWAYS_ACTIVE
> OBJ,    INI_TEMP,    50.
> OBJ,    INI_VEL_X_1, 0.
> OBJ,    INI_VEL_Y_1, 0.
> OBJ,    INI_VEL_Z_1, 0.
 
> OBJ,    NAME,        IN_AS
> OBJ,    POSITION,    0.000000E+00, 7.000000E-03, 0.000000E+00
> OBJ,    SIZE,        TO_END,       3.000000E-03, 0.000000E+00
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    cube3t
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        INLET
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    COLOR-VAL,   192
> OBJ,    WIREFRAME,   YES
> OBJ,    PRESSURE,    0.
> OBJ,    VELOCITY,    0. ,0. ,8.123E-03
> OBJ,    TEMPERATURE, 40.
> OBJ,    TIME_LIMITS, ALWAYS_ACTIVE
 
> OBJ,    NAME,        IN_AN
> OBJ,    POSITION,    0.000000E+00, 2.400000E-02, 0.000000E+00
> OBJ,    SIZE,        TO_END,       3.000000E-03, 0.000000E+00
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    cube3t
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        INLET
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    COLOR-VAL,   192
> OBJ,    WIREFRAME,   YES
> OBJ,    PRESSURE,    0.
> OBJ,    VELOCITY,    0. ,0. ,8.123E-03
> OBJ,    TEMPERATURE, 40.
> OBJ,    TIME_LIMITS, ALWAYS_ACTIVE
 
> OBJ,    NAME,        OUT_AS
> OBJ,    POSITION,    AT_START,     7.000000E-03, AT_END
> OBJ,    SIZE,        TO_END,       3.000000E-03, 0.000000E+00
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    cube12t
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        OUTLET
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    COLOR-VAL,   214
> OBJ,    WIREFRAME,   YES
> OBJ,    PRESSURE,     P_AMBIENT
> OBJ,    TEMPERATURE, SAME
> OBJ,    COEFFICIENT, 1000.
> OBJ,    TIME_LIMITS, ALWAYS_ACTIVE
 
> OBJ,    NAME,        OUT_AN
> OBJ,    POSITION,    AT_START,     2.400000E-02, AT_END
> OBJ,    SIZE,        TO_END,       3.000000E-03, 0.000000E+00
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    cube12t
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        OUTLET
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    COLOR-VAL,   214
> OBJ,    WIREFRAME,   YES
> OBJ,    PRESSURE,     P_AMBIENT
> OBJ,    TEMPERATURE, SAME
> OBJ,    COEFFICIENT, 1000.
> OBJ,    TIME_LIMITS, ALWAYS_ACTIVE
 
> OBJ,    NAME,        RES-S
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        TO_END,       6.000000E-03, TO_END
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    box
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        USER_DEFINED
> OBJ,    COLOR-MODE,  USER
> OBJ,    COLOR-VAL,   5
> OBJ,    WIREFRAME,   YES
> OBJ,    PATCHES,     VP1
 
> OBJ,    NAME,        RES-N
> OBJ,    POSITION,    0.000000E+00, 2.800000E-02, 0.000000E+00
> OBJ,    SIZE,        TO_END,       6.000000E-03, TO_END
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    box
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        USER_DEFINED
> OBJ,    COLOR-MODE,  USER
> OBJ,    COLOR-VAL,   5
> OBJ,    WIREFRAME,   YES
> OBJ,    PATCHES,     VP2
 
> OBJ,    NAME,        ACS-1
> OBJ,    POSITION,    0.000000E+00, 6.000000E-03, 0.000000E+00
> OBJ,    SIZE,        TO_END,       1.000000E-03, 9.900000E-01
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    cube14
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    COLOR-VAL,   32
> OBJ,    WIREFRAME,   YES
> OBJ,    MATERIAL,    106,GLASS at 20 deg c
> OBJ,    TIME_LIMITS, ALWAYS_ACTIVE
> OBJ,    INI_TEMP,     T_AMBIENT
 
> OBJ,    NAME,        ACN-2
> OBJ,    POSITION,    0.000000E+00, 2.700000E-02, 0.000000E+00
> OBJ,    SIZE,        TO_END,       1.000000E-03, 9.900000E-01
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    cube14
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    COLOR-VAL,   32
> OBJ,    WIREFRAME,   YES
> OBJ,    MATERIAL,    106,GLASS at 20 deg c
> OBJ,    TIME_LIMITS, ALWAYS_ACTIVE
> OBJ,    INI_TEMP,     T_AMBIENT
 
> OBJ,    NAME,        PR-S
> OBJ,    POSITION,    3.420000E-01, 1.510807E-03, 9.899999E-02
> OBJ,    SIZE,        5.700001E-02, 1.400691E-03, 2.475000E-02
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    cubet
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        PRESSURE_RELIEF
> OBJ,    COLOR-MODE,  USER
> OBJ,    COLOR-VAL,   2
> OBJ,    WIREFRAME,   YES
> OBJ,    PRES_RELIEF, 1.000000E+03, P_AMBIENT
 
> OBJ,    NAME,        PR-N
> OBJ,    POSITION,    3.420000E-01, 3.210501E-02, 9.899999E-02
> OBJ,    SIZE,        5.700001E-02, 1.894992E-03, 2.475000E-02
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    cubet
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        PRESSURE_RELIEF
> OBJ,    COLOR-MODE,  USER
> OBJ,    COLOR-VAL,   2
> OBJ,    WIREFRAME,   YES
> OBJ,    PRES_RELIEF, 1.000000E+03, P_AMBIENT
 
> OBJ,    NAME,        BUOYS
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        5.700000E-01, 6.000000E-03, 9.900000E-01
> OBJ,    GEOMETRY,    box
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        USER_DEFINED
> OBJ,    PATCHES,     BUOYS
 
> OBJ,    NAME,        BUOYN
> OBJ,    POSITION,    0.000000E+00, 2.800000E-02, 0.000000E+00
> OBJ,    SIZE,        5.700000E-01, 6.000000E-03, 9.900000E-01
> OBJ,    GEOMETRY,    box
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        USER_DEFINED
> OBJ,    PATCHES,     BUOYN
 
> OBJ,    NAME,        BUOY
> OBJ,    POSITION,    0.000000E+00, 1.100000E-02, 0.000000E+00
> OBJ,    SIZE,        TO_END,       1.200000E-02, TO_END
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    box
> OBJ,    VISIBLE,     NO
> OBJ,    TYPE,        USER_DEFINED
> OBJ,    PATCHES,     BUOY
STOP