iMOD Forum

SEAWAT: HORIZONTAL FLOW BARRIER (HFB) package in iMOD-SEAWAT

M. vdW, modified 2 Years ago.

SEAWAT: HORIZONTAL FLOW BARRIER (HFB) package in iMOD-SEAWAT

Youngling Posts: 17 Join Date: 7/5/21 Recent Posts
Hello all,

I would like to use the HORIZONTAL FLOW BARRIER (HFemoticon package in iMOD-SEAWAT.
​​​​​​​

In the manual is stated:
Run file-supported packages are (Page 1026):
-  for flow: …, HFB, …

However, in ‘13.2.5 Input instructions per package’ instructions for HFB are NOT included.

‘iMOD Simulation Manager > Model Type > SEAWAT’ produces a SEAWAT run file, however, this file does NOT contain a HFB segment (although it was specified in the iMOD Project Manager > iMOD Simulation Manager).

In the same way, ‘iMOD Simulation Manager > Model Type > Standard MODFLOW 2005’ does produce a nam-file, and 3 HFB-files (.HFB7 (see below: 1 Fragment ….HFB7 below), .._L1.DAT, ..._L1.GEN).

I attempted to specify the HFB package in the run iMOD-SEAWAT run file myself (see below: 2 Attempt Specification HFB package in iMOD-SEAWAT run file). This returns ‘Runfile Error: Could not find package HFB6’.

Question: How to specify the HFB package in the iMOD-SEAWAT run file, i.e. how to refer in the run file to one of the generated HFB files?

Thanks in advance,

Martin

1 Fragment ….HFB7
# HFB7 File Generated by iMOD [V5_2 X64 Optimized]
0         0,598 NOPRINT HFBRESIS SYSTEM
1         10         56         11         56    0.000000              1

1        154         86        155         86    0.000000              1

2 Attempt Specification HFB package in iMOD-SEAWAT run file

 #-------------------------------------------
[HFB6] # Horizontal Flow Barrier Package
 NPHFB = 0
 MXFB = 0
 NHFBNP = 598
 OPTION = NOPRINT HFBRESIS SYSTEM
1         10         56         11         56    0.000000              1

1        154         86        155         86    0.000000              1
M. vdW, modified 2 Years ago.

RE: SEAWAT: HORIZONTAL FLOW BARRIER (HFB) package in iMOD-SEAWAT

Youngling Posts: 17 Join Date: 7/5/21 Recent Posts
PS
I’m aware of the so called ‘NAM file route’. However, this seems less efficient IF the HFB package can be invoked directly through the SEAWAT run file.
Thanks in advance!
M. vdW, modified 2 Years ago.

RE: SEAWAT: HORIZONTAL FLOW BARRIER (HFB) package in iMOD-SEAWAT

Youngling Posts: 17 Join Date: 7/5/21 Recent Posts
PS-2
The ‘NAM file route’ works for invoking HFB.
Steps are:

  1. Create HFB file
    • Define HFB in Project-file
      • ‘iMOD Simulation Manager > Model Type > Standard MODFLOW 2005’ > Create input files only
        • .HFB7
          • Rename to  ….HFB6
            • Place ….HFB6 in \MODELINPUT
  2. Create nam files
    • Run SEAWAT run file
      • Nam files will be in \imod-wq_tmp
        • Replace nam files to \MODELINPUT
  3. Add HFB to nam file
    • Edit nam file
      • Add: HFB6 19 '.\MODELINPUT\ ….HFB6'
        • Save
  4. Run SEAWAT
    • RUN nam file with SEAWAT executable
      • "C:\PROGRAM_FILES\IMOD_5_3\IMOD-WQ_V5_3_SVN359_X64R.EXE" C:\Program_Files\iMOD_5_3\IMOD_USER\MODELS\XXX\YYY\ZZZ.nam

Invoking the HFB package directly through the SEAWAT run file would be much easier (IF possible).

Therefore, my original question still stands (see above).

Additionally, I suggest that the iMOD manual will be updated on:
  • Invoking HFB though run file (possible or not)
  • Explaning the ‘nam file route’ in general

Thanks in advance!