0

Defining Tortuosity

How to insert the tortuosity in Petrasim software? 

9 replies

null
    • Reservoir Engineer
    • Alfredo_b
    • 1 yr ago
    • Reported - view

    Hi Abdelrazik.

    TOUGH2 allows 3 options for assigning the tortuosity coefficient and the the diffusivities used to compute the diffusion fluxes (see pag. 159 of the User's guide).

    In PetraSim only the first two can be used:

    1. assign TORTX different than 0.

    2. leave TORTX=0 (Millington & Quirk model).

    The third option (use diffusivities <0) cannot be used as PetraSim does not accept negative values. A possibility could be to assign the absolute values in PetraSim, modify the input file assigning negative values and then run directly the TOUGH2 executable without running it from inside PetraSim, as it would overwrite the input file.

    TORTX can be assigned from:

    Material Data > Additional Material Data > Misc(ellanea)

    The diffusivities can be assigned from:

    Properties > Global Properties > EOS > Molecular Diffusion

    Regards,

    Alfredo

    • Abdelrazik_Elfar
    • 1 yr ago
    • Reported - view

    Thank you so much. 

    • Reservoir Engineer
    • Alfredo_b
    • 1 yr ago
    • Reported - view

    I have to correct my self. I made a wrong check in PetraSim: actually the code accepts negative diffusivities.

    Thus, even the third TOUGH2 option mentioned in the previous post can be chosen in PetraSim.

    Alfredo

    • Abdelrazik_Elfar
    • 1 yr ago
    • Reported - view

    Thank you. I have a another question. How I can insert diffusion coefficient for just a period of time in the simulation on Petrasim. for instance, the first half of the simulation, I neglect the diffusion. But I would like to input the diffusion  for the next half of the simulation. Thank you

    • Reservoir Engineer
    • Alfredo_b
    • 1 yr ago
    • Reported - view

    You should run the first segment without diffusion.

    Then run a restart by assigning the desired diffusion parameters.

    • Abdelrazik_Elfar
    • 1 yr ago
    • Reported - view

    Thank you so much I will run them separately. 

    • Abdelrazik_Elfar
    • 1 yr ago
    • Reported - view

    I would like to ask if is it possible to visualize the output from tough2  on Petrasim.

    • Reservoir Engineer
    • Alfredo_b
    • 1 yr ago
    • Reported - view

    Petrasim uses modified TOUGH2 executables containing the saving of simulation results on specific files that are then read by Petrasim.

    In addition, the grid used must be built using PetraSim. Grid information in PetraSim format are needed to show the computed results.

    I think the only way to use PetraSim with a non-PetraSim TOUGH2 executable is:

    - build the model and prepare the input files using PetraSim;

    - run the external TOUGH2 executable with the source code modified to save the simulation results on the files with PetraSim compatible format.

    - use PetraSim to show the simulation results.

    This approach works. I'm using it to run modified versions of several EOS modules, such as EOS2, EOS1H, EOS2H,  EWASG, TMVOC. And also to run TMGAS which has an input very similar to that of TMVOC.

    Of course you have to modify the source code. 

    Alfredo

    • Abdelrazik_Elfar
    • 1 yr ago
    • Reported - view

    Thank you so much for your reply. Is it possible then to build the model on Petrasim and take the output file and modify the EOS if needed on tough2 software. Then follow your procedure that you advised earlier to visualize it on Petrasim. Your recommendations are highly appreciated.

    Kind Regards

    Abdelrazik Elfar

Content aside

  • 1 yr agoLast active
  • 9Replies
  • 61Views
  • 2 Following