TALK=T;RUN( 1, 1)
 
 ************************************************************
   Q1 created by VDI menu, Version 2023, Date 16/01/24
 CPVNAM=VDI; SPPNAM=Core
 ************************************************************
  Echo DISPLAY / USE settings
   DISPLAY
   The case considers the 2d turbulent flow of ethylene glycol
   (EG) in a channel, where the energy equation is solved in
   terms of the enthalpy H1. One of the channel walls is held
   at 71.1 degC, whereas the other is held at 26.7degC. The EG
   enters the 0.1m high channel with a velocity of 1m/s at
   48.9degC. The INTPOL function of InForm is used: (a) to
   specify the temperature-dependent, thermophysical properties
   of EG; (b) to deduce H1 from temperature; and (C) for
   specifying the boundary conditions and initial value. This
   is done by interpolating values from a table file named
   ethglyc.csv, which tabulates h, spv, emu, cond, diff
   against temperature T over the range -17.8 to 197.5 degC.
  ENDDIS
 ************************************************************
 IRUNN = 1 ;LIBREF = 0
 ************************************************************
  Group 1. Run Title
 TEXT(InForm INTPOL- Ethylene-glycol flow     )
 ************************************************************
  Group 2. Transience
 STEADY = T
 ************************************************************
  Groups 3, 4, 5  Grid Information
    * Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
 RSET(M,1,50,50)
 ************************************************************
  Group 6. Body-Fitted coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
    * Non-default variable names
 NAME(142)=SPV ;NAME(143)=EMU
 NAME(144)=TMP1 ;NAME(145)=EL1
 NAME(146)=ENUT ;NAME(147)=EPKE
 NAME(148)=KOND ;NAME(149)=DEN1
 NAME(150) =ENUL
    * Solved variables list
 SOLVE(P1,V1,W1,H1)
    * Stored variables list
 STORE(ENUL,DEN1,KOND,EPKE,ENUT,EL1,TMP1,EMU)
 STORE(SPV)
    * Additional solver options
 SOLUTN(P1,Y,Y,Y,N,N,Y)
 SOLUTN(H1,Y,Y,Y,N,N,Y)
 TURMOD(KECHEN)
 
 ************************************************************
  Group 8. Terms & Devices
 ************************************************************
  Group 9. Properties
 PRESS0 =1.01325E+05 ;TEMP0 =273.
    * Domain material index is   0 signifying:
    * Air at 20 deg C, 1 atm, treated as incompressible
 SETPRPS(1, 0)
 TMP1 = GRND1
 DVO1DT =3.41E-03
 PRNDTL(H1)=-0.0258
 PRT(KE)=0.75 ;PRT(EP)=1.15
 ************************************************************
  Echo save-block settings for Group  9
   save9begin
  ! use INTPOL to perform linear interpolation in data file
  ! get temperature from solved enthalpy
  !                            File     X-col Y-col X-value
(property of tmp1 is intpol(*../d_earth/d_core/inplib/ethglyc.csv,ent,  tem,  h1))
 
  ! get density as 1/(specific volume) as f(temperature)
(property rho1 is 1/intpol(*../d_earth/d_core/inplib/ethglyc.csv,tem,spv,tmp1))
 
  ! get kinematic viscosity as a function of temperature
(property enul is intpol(*../d_earth/d_core/inplib/ethglyc.csv,tem,enu,tmp1))
  ! get conductivity as function of temperature
(property of prndtl(h1) is -intpol(*../d_earth/d_core/inplib/ethglyc.csv,tem,cnd,tmp1))
 
  ! store specific volume and dynamic viscosity for checking
(stored of spv is 1./rho1)
(stored of emu is rho1*intpol(*../d_earth/d_core/inplib/ethglyc.csv,tem,enu,tmp1))
   save9end
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initialise Var/Porosity Fields
 FIINIT(P1)=0. ;FIINIT(H1)=-1.037069E+06
 FIINIT(TMP1)=48.900002
   No PATCHes used for this Group
 
 
 INIADD = F
 ************************************************************
  Echo save-block settings for Group 11
   save11begin
   ! initialise enthalpy from temperature
 fiinit(tmp1)=48.9
 real(inih1)
 inih1=intpol(*../d_earth/d_core/inplib/ethglyc.csv,tem,ent,fiinit(tmp1))
 fiinit(h1)=inih1
   save11end
 ************************************************************
  Group 12. Convection and diffusion adjustments
   No PATCHes used for this Group
 ************************************************************
  Group 13. Boundary & Special Sources
   No PATCHes used for this Group
 
 EGWF = T
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 500
 RESFAC =1.0E-04
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=200
 ************************************************************
  Group 17. Relaxation
 RELAX(P1 ,LINRLX,1. )
 RELAX(V1 ,LINRLX,0.5 )
 RELAX(W1 ,LINRLX,0.5 )
 RELAX(KE ,LINRLX,0.5 )
 RELAX(EP ,LINRLX,0.5 )
 KELIN = 3
 ************************************************************
  Group 18. Limits
 ************************************************************
  Group 19. EARTH Calls To GROUND Station
 GENK = T
 PARSOL = F
 CONWIZ = T
 IENUTA = 2
 ISG62 = 1
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 DISTIL = T ;NULLPR = F
 NDST = 0
 DSTTOL =1.0E-02
 EX(P1)=84. ;EX(V1)=1.117E-03
 EX(W1)=1. ;EX(KE)=3.49E-03
 EX(EP)=0.04138 ;EX(H1)=1.037E+06
 EX(SPV)=8.969E-04 ;EX(EMU)=7.104E-03
 EX(TMP1)=48.900002 ;EX(EL1)=4.43E-03
 EX(ENUT)=1.059E-04 ;EX(EPKE)=5.
 EX(KOND)=0.2599 ;EX(DEN1)=1115.
 EX(ENUL)=6.372E-06
 ************************************************************
  Group 21. Print-out of Variables
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 1 ;IYMON = 50 ;IZMON = 12
 NPRMON = 100000
 NPRMNT = 1
 TSTSWP = -1
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000
 ISWPRF = 1 ;ISWPRL = 100000
   No PATCHes used for this Group
 ************************************************************
  Group 24. Dumps For Restarts
 
 GVIEW(P,-1.,0.,0.)
 GVIEW(UP,0.,1.,0.)
 GVIEW(DEPTH,2551.689941)
 GVIEW(NEARPLANE,2.0E-03)
 GVIEW(VDIS,0.962397)
 GVIEW(CENTRE,0.05,0.05,1.)
 
> DOM,    SIZE,        1.000000E-01, 1.000000E-01, 2.000000E+00
> DOM,    MONIT,       5.000000E-02, 9.900000E-02, 4.600000E-01
> DOM,    SCALE,       1.000000E+00, 1.000000E+00, 1.000000E+00
> DOM,    INCREMENT,   1.000000E-02, 1.000000E-02, 1.000000E-02
> GRID,   AUTO,         T F F
  > GRID,   RSET_X_1,      1, 1.000000E+00
  > GRID,   RSET_Y_1,     50, 1.000000E+00
  > GRID,   RSET_Z_1,     50, 1.000000E+00
> DOM,    INI_AMB,    YES
> DOM,    INI_BUOY,   YES
 
> OBJ,    NAME,        IN
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        TO_END,       TO_END,       0.000000E+00
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    box
> OBJ,    TYPE,        INLET
> OBJ,    INFSRC_P1,   1/INTPOL(*../d_earth/d_core/inplib/ethglyc.c$
> OBJ,    INFSRC_P1,   sv,tem,spv,48.9) with area
> OBJ,    INFSRC_H1,   INTPOL(*../d_earth/d_core/inplib/ethglyc.csv$
> OBJ,    INFSRC_H1,   ,tem,ent,48.9) with onlyms
> OBJ,    PRESSURE,     P_AMBIENT
> OBJ,    VELOCITY,    0. ,0. ,1.
> OBJ,    TEMPERATURE,  T_AMBIENT
> OBJ,    TURB-INTENS, 5.
 
> OBJ,    NAME,        DOM_ZMAX_O
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, AT_END
> OBJ,    SIZE,        TO_END,       TO_END,       0.000000E+00
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    box
> OBJ,    TYPE,        OUTLET
> OBJ,    PRESSURE,     P_AMBIENT
> OBJ,    TEMPERATURE,  T_AMBIENT
> OBJ,    COEFFICIENT, 1000.
> OBJ,    TURBULENCE,  SAME , SAME
 
> OBJ,    NAME,        PLATE1
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        TO_END,       0.000000E+00, TO_END
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    box
> OBJ,    TYPE,        PLATE
> OBJ,    INFSRC_H1,   coval(grnd2,intpol(*../d_earth/d_core/inplib$
> OBJ,    INFSRC_H1,   /ethglyc.csv,tem,ent,26.7))
> OBJ,    SURF_ENTH,   0. ,10.
 
> OBJ,    NAME,        PLATE2
> OBJ,    POSITION,    0.000000E+00, AT_END,       0.000000E+00
> OBJ,    SIZE,        TO_END,       0.000000E+00, TO_END
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    box
> OBJ,    TYPE,        PLATE
> OBJ,    INFSRC_H1,   coval(grnd2,intpol(*../d_earth/d_core/inplib$
> OBJ,    INFSRC_H1,   /ethglyc.csv,tem,ent,71.1))
> OBJ,    SURF_ENTH,   0. ,10.
STOP