0

Coupled Wellbore Flow

Hi guys, 

I am trying to use an external file name f111a as a table for the TYPE + ITAB (f111a) for an specific source. However, I am getting error messages in the T2.out file and the iT2.out file.

The message I am geeting in the T2.out file is: 

 INVALID F-TYPE GENER ITEM;  FILE *f111a* IS NOT AVAILABLE
 IGNORE UNKNOWN GENERATION OPTION *f111* AT ELEMENT *EA117* SOURCE *SRC24*
 

And the iT2.out file: 

 *****  ERROR  *****  
 * Error opening file "f111a" as "OLD".
 *****  ERROR  *****

 **********************************************************************************************************************************
 * iTOUGH2 stopped due to fatal error. Check all output files for error messages!                                                 *
 **********************************************************************************************************************************

     Error  >>> Subroutine <<<  Message
      6283  >>> ININIGUE   <<<  FATAL ERROR          --> File not found                

 ---     1 error(s) and  0 warning(s) detected

 
The f111a file is located at the same folder as the T2 and iT2 files. The file is following the 80 characters per line format describe at the User Manual section 7.3 . I am using EOS1, I am not quite sure if I am missing something at the command line:

itough2 iT2 T2 1

Do you have any idea what could be wrong?

6 replies

null
    • Finsterle GeoConsulting
    • Stefan_Finsterle
    • 5 mths ago
    • Reported - view

    In case you are running this on a Mac or Linux machine, you have to make sure file f111a is copied to the temporary directory. You can do this either on the command line, i.e.:

    itough2 -fi f111a iT2 T2 1 &

    or by adding the following line anywhere in the iTOUGH2 input file iT2:

    FILE: f111a

    I hope this does the trick!

    Stefan

      • Erick_Jimenez
      • 5 mths ago
      • Reported - view

       Thanks for your reply, it is a Linux machine.

      It certainly did. The

      itough2 -fi f111a iT2 T2 1&

      did the trick

    • Erick_Jimenez
    • 5 mths ago
    • Reported - view

    I am still having a problem with this approach. My ftable looks like this:

    The conditions for the JA113 element are P = 67.2bara and T = 225.7°C, then for the EOS1 the enthalpy should be around 971 kJ/kg. However, I am getting the following error which I am having problems to debug:

    Do you have any idea what could be going wrong?

      • Finsterle GeoConsulting
      • Stefan_Finsterle
      • 5 mths ago
      • Reported - view

       

      It looks like your f111a is not properly formatted. Can you please check by comparing it to Table 17 on page 68 of the TOUGH2 manual?

      • Erick_Jimenez
      • 5 mths ago
      • Reported - view

       

      I am not quite sure if it is realated with the format. Second line is 2I5 and the following NG lines with NH columns using the format 8E10.4.

      If I change the enthalpy range, using the ones on the table 17, I get a different error. As expected it tells that the h is out of range.

       -------------- REDUCE TIME STEP BY FACTOR OF    0.00 --> NEXT DELTEX = 3.000000E+02
       &&& WF &&&   h = 9.714688E+05 IS OUTSIDE THE RANGE (1.000000E+06,1.400000E+06)   &&&&&&&&&&
       at KCYC =    1 exceed *WFLO* table data at element JA113 (source SRC20) -- will reduce DELTEX

      The plotted data looks like this:

      Or do you think it has to be with the table itself? In principle, as I understad, T2 checks on the enthalpy and then uses an interpolation within the BHP to establish a flow. Then, maybe what is happenning is that for certain h, lets say 900 kJ/kg, lower values than 36bar are out of range.

      • Finsterle GeoConsulting
      • Stefan_Finsterle
      • 5 mths ago
      • Reported - view

      Hi Erick,

      Your table has to bracket all expected enthalpy and flow rate values you will encounter during the simulation. The error message tells you that an enthalpy of 971 kJ/kg is obtained, which is lower than your minimum table entry of 1000 kJ/kg. Just extend the range of your table. (Your title lines is also a bit misleading, as it does not reflect the actual range you have in the table - even though the title line is just that, i.e., it is not used by TOUGH2).

      Just extend the table range, and it should work.

      I hope this helps,

      Stefan

Content aside

  • 5 mths agoLast active
  • 6Replies
  • 32Views
  • 2 Following