Skip to content

Commit 07551ac

Browse files
committed
Use unit test results from TOUGH2 output
1 parent a211d95 commit 07551ac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_t2data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,22 +1026,22 @@ def initial_test():
10261026

10271027
eos = 'wae' # EOS3 tests
10281028

1029-
P, X, T, Pa = 8.e5, 1e-6, 120., 6220.7482073324345
1029+
P, X, T, Pa = 8.e5, 1e-6, 120., 6220.9968260563
10301030
incons = [P, X, T]
10311031
j = dat.initial_json(geo, incons, eos, convert_primary_eos_3)
10321032
self.assertTrue(np.allclose(np.array(j['initial']['primary']),
10331033
np.array([P, T, Pa]), rtol = 1e-9))
10341034
self.assertEqual(j['initial']['region'], 1)
10351035
json.dumps(j)
10361036

1037-
P, X, T, Pa = 1.5e5, 0.1, 120., 9854.639297136204
1037+
P, X, T, Pa = 1.5e5, 0.1, 120., 9854.6392971362
10381038
incons = [P, X, T]
10391039
j = dat.initial_json(geo, incons, eos, convert_primary_eos_3)
10401040
self.assertTrue(np.allclose(np.array(j['initial']['primary']),
10411041
np.array([P, T, Pa]), rtol = 1e-9))
10421042
self.assertEqual(j['initial']['region'], 2)
10431043
json.dumps(j)
1044-
1044+
10451045
P, Sv, Pa = 8.e5, 0.3, 1e5
10461046
T = t2thermo.tsat(P - Pa)
10471047
incons = [P, Sv + 10., T]

0 commit comments

Comments
 (0)