2018 07 06 TOUGH - hydrogeologger/pyduino GitHub Wiki
layout: post title: TOUGH2 COMPLIE
1. COMPILE TOUGH REACT
{% highlight bash %} cp tr-core_v2.087/tr-core/tr-core/core_source/makefiles-flagss/unix-linux/makefile_gf tr-core_v2.087/tr-core/core_source/src/ cp tr-core_v2.087/tr-core/tr-core/core_source/makefiles-flagss/unix-linux/compile_treact_gfortran tr-core_v2.087/tr-core/core_source/src/ cp tr-eos1_v2.087/tr-eos1/eos1_v2.f tr-core_v2.087/tr-core/core_source/src/ cp tr-eos2_v2.087/tr-eos2/eos2_v2.f tr-core_v2.087/tr-core/core_source/src/ cp tr-eos3_v2.087/tr-eos3/eos3_v2.f tr-core_v2.087/tr-core/core_source/src/ cp tr-eos4_v2.087/tr-eos4/eos4_v2.f tr-core_v2.087/tr-core/core_source/src/ cp tr-eos7_v2.087/tr-eos7/eos7_v2.f tr-core_v2.087/tr-core/core_source/src/ cd tr-eos7_v2.087/tr-eos7/eos7_v2.f tr-core_v2.087/tr-core/core_source/src/ bash compile_treact_gfortran {% endhighlight %}
2. use normal lan cable to connect laptop with rpi
3. tough3 to 20180927
just do the installation according to manual Readme_linux.pdf {% highlight bash %} $ EOS_NUM=eco2n #EOS identifier(eco2n, tmvoc, etc) $ ./configure.sh --eos=$EOS_NUM --no-x11 # this is not working for tough3 so far $ ./configure.sh --build-type=RELEASE --eos=$EOS_NUM --no-x11
{% endhighlight %}
3. run tough through different way with tao
cmzhang@ae429-3158 ~/tough2/itough2/Samples/sample6_eos4 $ ~/tough2/itough2/Scripts/itough2 -tough2 -to sam6_0.out sam6 4
~/tough2/itough2/Scripts/itough2 sam6i sam6 4
4. TO190701 the difference between harmonic average and upstream,
Hacking: the effective permerbility will be zero if any of the kr component is forced to be zero, and harmonic average for permeability is selected.
However, it is not clear (1) how many governing equation for eos4 ( i assume it is 3, which is gas, heat and water(with vapour included)) it is able to simulate the air pocket effect, where wetting front will block the intrapted gas in soils. However, it is not clear to me that if tough is able to simulate vapour advection. because that may require four govening equation. which is gas pressure, vapour pressure, temperature and water pressure.
IRP==1 IRP(1)<sr<IRP(3) when Sr<IRP(1), kr ==0