Using rock type "x" in T2Well


T2well gives you the option to represent your tubular as a bundle of smaller tubes. I was trying to use rock type x (domain) right after the wellhead for representation of the wellhead choke. Testing a case with a relatively high rate and a high choke restriction (factor of 20 or more diameter reduction), I didn’t observe a significant (and/or durable) JT effect on temperature. May be I am over-expecting its performance, but still I wanted to check with you.

I wonder if defining the rock type and assigning it to the grid cell of interest is enough to get T2well to do its’ job? Or any additional input is needed; for instance should we correct the cross sectional area given in “CONNE” keyword, or touch volume-input in ELEME or else.


Appreciate your feedback


8replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Here is an example:

  • Like
    • Godarzi K Hi Godarzi, I have a question regarding your results visualization. I am using T2Well to run some simulation cases and I would like to know how did you visualize the results in the wellbore versus time in 2D plots.

    • Refaat G Hashish This was done with a python script. If you are familiar with python I can send it to you.

    • Alejandro Bello Sure,  I think it will be helpful for me. I need also to know if you have solved the problem of modelling Joule Thomson expansion through choke at the wellhead.  I tried to use X material to represent a restriction in wellbore and modified the first permeability entry to represent reduction in the wellbore cross-sectional area at the restriction, but I found no difference in the temperature results.  Thanks in advance. 

    • Hi Refaat G Hashish ,

      I am enclosing the python file. I am not a coder so it can be a bit messy. But in essence it has all the functionalities to plot the FStatus, FFlow, COFT and FOFT files.

      The first two are plotted like the enclosed pictures above. The remaining two are just linear plots of the connections and grid elements over time.

      These are the requirements:


      To run the script just type

      python <path to plot_T2output.py> <path_to_input_file>

      If you want to produce plots of only specific files you can tipe

      python <path to plot_T2output.py> <path_to_input_file> FStatus #to produce plots for the FStatus only

      You can also plot specific variables of each of these files. The example below will produce a plot for the FStatus file including only the 1st and 3rd variables, it will not produce an FFlow plot, it will plot all variables for the 1st and 3rd connections reported on the COFT, and will plot only the 4th and 5th variables of the 1st element reported in FOFT.

      python <path to plot_T2output.py> <path_to_input_file> FStatus,1,3 COFT,1,3 FOFT,1,i,4,5

      It can be a bit messy and there is definitely room for improvement. Finally if you want the time to be plot in log scale just add `log` at the end.

  • Like
  • Info.

    A 1D radial model with a 1km well at center, injecting at 300 bar and 25'C. Geo-gradient from 5'C at surface to 35'C in reservoir, hydrostatically initialized.

Like Follow
  • 5 mths agoLast active
  • 8Replies
  • 73Views
  • 3 Following