TOUGH User Forum
TOUGH WebSite
TOUGH Website
How to enable Javascript
Sign Up
Login
TOUGH User Forum
Search
Home
Latest Posts
Re: call TOUGH in jupyter notebook and PyTOUGH
@Haiyan Zhou You also need to pass your input file in the argument. Basically, subprocess first argument is the command you would type in a terminal. First, try the command in cmd.…
Keurfon Luu
Keurfon_Luu
9 days ago
TOUGH3
Reported - view
Re: call TOUGH in jupyter notebook and PyTOUGH
@Haiyan Zhou Try passing your command as a string (instead of a list) and set shell=True: subprocess.run('bash -c "/ path/to/tough3-eos7c "', shell=True) You can also check the code here:…
Keurfon Luu
Keurfon_Luu
10 days ago
TOUGH3
Reported - view
Re: call TOUGH in jupyter notebook and PyTOUGH
If you want to run TOUGH from Ubuntu Terminal within a Windows shell (e.g., cmd.exe), you can prepend "bash -c" to your Linux command, for instance: bash -c '/path/to/tough3-install/bin/tough3-eos1…
Keurfon Luu
Keurfon_Luu
12 days ago
TOUGH3
Reported - view
Re: How to Add Velocity Parameters in TOUGH3 Input file (.dat file)
Hi Parlin, What do you call "velocity parameter"? For what purpose do you want to add such parameter in the input file?
Keurfon Luu
Keurfon_Luu
1 mth ago
TOUGH3
Reported - view
Re: How to visualize MESH file (output from TOUGH3) in paraview?
Hi Parlin, How did you generate your MESH file? MESH is not a simulation output, it only contains mesh data required by TOUGH (e.g., cell volumes, centroid coordinates...).…
Keurfon Luu
Keurfon_Luu
1 mth ago
TOUGH3
Reported - view
Re: A question about coupling TOUGH2 and FLAC3D
@cocogoat I can try, although I haven't coupled TOUGH with FLAC that way. But we cannot help you without a MRE (minimal reproducible example). Please provide much more details when describing your…
Keurfon Luu
Keurfon_Luu
9 mths ago
Questions & Answers
Reported - view
Re: A question about coupling TOUGH2 and FLAC3D
Are you solving the mechanical equilibrium once you imported the pore pressure?
Keurfon Luu
Keurfon_Luu
9 mths ago
Questions & Answers
Reported - view
Re: Error compiling TOUGH3
@Barbara Carrera Can you try the following commands? sudo apt update sudo apt upgrade sudo apt install gcc gfortran mpich cmake libblas-dev liblapack-dev python2 python Then, run Python:…
Keurfon Luu
Keurfon_Luu
10 mths ago
TOUGH3
Reported - view
Re: How to read and visualize MESH file using PyVista
@Refaat G Hashish Generally speaking, no. To reconstruct an actual mesh for visualization, you need the corner points coordinates of the cells which are lacking in TOUGH generated MESH files (X, Y,…
Keurfon Luu
Keurfon_Luu
10 mths ago
TOUGH3
Reported - view
Re: Getting Started: Homogenous Aquifer
Hi @Nicholas Fry , If you are not afraid of Python, I would recommend using the Python package toughio to set up your problem. There are a couple of examples in the documentation, for instance,…
Keurfon Luu
Keurfon_Luu
10 mths ago
TOUGH3
Reported - view
Re: How to read and visualize MESH file using PyVista
@Refaat G Hashish The method `plot` relies on PyVista, so you can refer to PyVista's documentation to customize your plots. For instance, to change the color of your background, see here: https:…
Keurfon Luu
Keurfon_Luu
10 mths ago
TOUGH3
Reported - view
Re: How to read and visualize MESH file using PyVista
@Refaat G Hashish Since you are using toughio to set the material, why not directly use toughio built-in mesh generation functions to generate your structured mesh? dx = 10 * [10.0] mesh = toughio.…
Keurfon Luu
Keurfon_Luu
10 mths ago
1
TOUGH3
Reported - view
Re: How to read and visualize MESH file using PyVista
@Refaat G Hashish I am not sure how you got material defined in your MESH file since TOUGH built-in MESHMAKER does not have such feature. Anyway, none of the previous sample codes have imported the…
Keurfon Luu
Keurfon_Luu
10 mths ago
TOUGH3
Reported - view
Re: How to read and visualize MESH file using PyVista
Hi @Refaat G Hashish , Generally, given any MESH file, you can use the function `toughio.meshmaker.triangulate`. As you guess from the name, this function performs a Delaunay triangulation to…
Keurfon Luu
Keurfon_Luu
10 mths ago
TOUGH3
Reported - view
Re: Blank MESH
@Huanwei Shi Anything after ENDCY is ignored by TOUGH.
Keurfon Luu
Keurfon_Luu
10 mths ago
1
TOUGH2
Reported - view
Re: The program stops unexpectedly
@Mahmud muhammad mahmud Hi Mahmud, I would suggest you to look at the public web application ( https://toughio-dash.lbl.gov ) and look at how the different increments affect your mesh.…
Keurfon Luu
Keurfon_Luu
10 mths ago
TOUGH+
Reported - view
2
Web application toughio-dash released to public
Hello, The web application I developed to pre-process TOUGH input files has been released to the public and can be accessed via: https://toughio-dash.lbl.…
Keurfon Luu
Keurfon_Luu
11 mths ago
1
reply
63
2
Pre & Post Processors
Re: Tough2-FLAC 3D
@Arshad Shahzad Please refer to toughio's documentation: https://keurfonluu.github.io/toughio/
Keurfon Luu
Keurfon_Luu
1 yr ago
Questions & Answers
Reported - view
Re: TOUGH+HYDRATE pre/post scripts
Hi @Alejandro Bello , Thanks for being willing to share your codes with the community. I am no T+H user, but supporting T+H is a feature requested by others for toughio (which currently only…
Keurfon Luu
Keurfon_Luu
2 yrs ago
TOUGH+
Reported - view
Re: Not to achineve the end time and no error
Your time steps seem to be quite small. Have you reached the maximum number of cycles?
Keurfon Luu
Keurfon_Luu
2 yrs ago
1
TOUGH2
Reported - view
Re: Questions about TOUGH3 setup for 3D random permeability fields
@Mhamad Mahdi Alloush Yes, it does. If your permeability modifier is positive, TOUGH3 treats it as absolute permeability. If negative, it treats as a multiplier (permeability of element's rock is…
Keurfon Luu
Keurfon_Luu
2 yrs ago
TOUGH3
Reported - view
Re: Questions about TOUGH3 setup for 3D random permeability fields
@Mhamad Mahdi Alloush Hi Mhamad, It should work if you set MOP2(20) if you set your permeability modifiers in block ELEME. Otherwise, you can define elementwise permeability modifiers in block INCON…
Keurfon Luu
Keurfon_Luu
2 yrs ago
TOUGH3
Reported - view
Re: Material balance in TOUGH-FLAC
Hi Kyung Jae, In our in-house version of TOUGH-FLAC, new porosity and permeability arrays are calculated in FLAC3D and transferred to TOUGH through a binary disk file (TOUGH source code has been…
Keurfon Luu
Keurfon_Luu
2 yrs ago
Questions & Answers
Reported - view
Re: Display temperature and pressure change in 2D plot
@Keurfon Luu My bad, the gradient should be negative since Z is negative: T0 = 10.0 - 0.03 * outputs[0].data["Z"]
Keurfon Luu
Keurfon_Luu
2 yrs ago
1
TOUGH3
Reported - view
Re: Display temperature and pressure change in 2D plot
import toughio outputs = toughio.read_output("OUTPUT_ELEME.csv") T0 = 10.0 + 0.03 * outputs[0].data["Z"] for output in outputs: output.data["DTEMP"] = output.data["TEMP"] - T0 toughio.…
Keurfon Luu
Keurfon_Luu
2 yrs ago
TOUGH3
Reported - view
1
2
3
4
5
Next
Keurfon Luu
Keurfon_Luu
124
27
8
Follow
Home
Forums
TOUGH2
iTOUGH2
TOUGH3
T2VOC
TMVOC
TOUGH2-MP (no longer supported by LBNL)
TOUGHREACT
TOUGH+
TOGA
Pre & Post Processors
General Info Related to TOUGH
Suggestions
Questions & Answers
Help Articles
Miscellaneous Announcements
View all topics
TOUGH Website