Commit Graph

15 Commits

Author SHA1 Message Date
Arne Morten Kvarving
fc5a2fbea6 fixed: adjust boost version check
1.66 already has the boost::fpc scope
2023-11-17 13:01:57 +01:00
Arne Morten Kvarving
2fec8a3c16 fixed: adjust compare_at_tolerance namespace for earlier boost 2023-11-10 10:23:30 +01:00
Arne Morten Kvarving
f8781f276e fixed: adjust include path of float_point_comparison for earlier boost 2023-11-10 10:23:30 +01:00
Arne Morten Kvarving
f1fc44563a fixed: earlier boosts only accepts boost::mpl::list for BOOST_AUTO_TEST_TEMPLATE 2023-11-10 10:23:30 +01:00
Svenn Tveit
34024bfabe Update unit tests with new reference state.
New reference state (T, P)=(288.71 K, 101325.0 Pa) =(15.56 C, 1 atm).
2023-09-29 08:25:24 +02:00
Svenn Tveit
a11becab76 H2STORE updates.
- Enables use with THERMAL. Note that enthalpy of H2 dissolution process is not included due to lack of published data on this (as far as I have seen).
- Enables use with DIFFCGAS and DIFFCWAT.
- Enables use with dynamic brine module.
- New H2 table made with Coolprop which includes enthalpy data.
2023-09-14 12:31:59 +02:00
Svenn Tveit
c6cd71df08 Improved viscosity model for hydrogen.
Model from Muzney et al., J. Chem. Eng. Data 2013, 58, 4, 969–979 implemented. Same as NIST and Coolprop.
2023-08-14 12:31:01 +02:00
Svenn Tveit
f3e2960a5c Correct tolerance 2023-06-29 14:28:35 +02:00
Svenn Tveit
945642724e Tests output more useful error messages 2023-06-29 14:23:39 +02:00
Svenn Tveit
cc34178e59 Adjust unit test to reverted co2tables.inc.
Have to correct for different reference state between test data and co2tables.inc. Took out some enthalpy data due to one data point giving unreasonably large error (probably related to reference state difference).
2023-06-28 19:41:14 +02:00
Svenn Tveit
b469a14598 Corrected path to reference data 2023-06-28 18:07:49 +02:00
Svenn Tveit
c1fef5c52a Added unittests for CO2, H2O, brine and H2.
Reference data is located in JSON files.
Some code is commented out due to insufficient reference data, or in the case of CO2, interpolation around saturation curve does not capture the liquid/vapor jump to a reasonable tolerance.
2023-06-28 10:05:32 +02:00
Arne Morten Kvarving
edefd93f38 test_components: convert to boost::test 2023-05-25 21:49:07 +02:00
Tor Harald Sandve
1aff5fc604 add test that compares Brine and BrineDynamic 2023-05-12 09:07:55 +02:00
Atgeirr Flø Rasmussen
58b44d1615 Move material-related tests to a subdirectory.
Note that tests for some of the more general classes from
opm-material (such as Evaluation) have not been moved.
2023-01-04 09:44:40 +01:00