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
e2c20a6712
fixed: BOOST_DATA_TEST_CASE was added in boost 1.67
...
use a loop for earlier versions
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
Kai Bao
f807281c15
cleaning up and small corrections related to PTFlash
2023-10-12 15:25:32 +02:00
Trine Mykkeltvedt
cdae1534de
various corrections related to component proerties
...
and viscosity model.
2023-10-12 14:04:11 +02: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
cf4a905660
Fixed compilation warnings
2023-09-18 14:47:35 +02:00
Svenn Tveit
ea4aebda5d
Test H2-brine PVTs
2023-09-14 12:31:59 +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
f64f587055
mark variable maybe_unused to avoid dead store warnings
2023-06-01 09:38:45 +02:00
Bård Skaflestad
682e6d8763
Merge pull request #3541 from akva2/test_spline_janitoring
...
test_spline: convert to boost::test
2023-05-30 14:21:47 +02:00
Arne Morten Kvarving
edeb7679b0
test_ncpflash: convert to boost::test
2023-05-30 10:31:56 +02:00
Bård Skaflestad
86a2f856d3
Merge pull request #3547 from akva2/test_fluidmatrixinteractions_janitoring
...
test_fluidmatrixinteractions: convert to boost::test
2023-05-30 08:36:31 +02:00
Arne Morten Kvarving
59ce72d04f
test_fluidmatrixinteractions: convert to boost::test
2023-05-30 07:23:55 +02:00
Arne Morten Kvarving
98a9367b19
test_eclmateriallawmanager: convert to boost::test
2023-05-30 07:08:56 +02:00
Bård Skaflestad
4146ce75f3
Merge pull request #3545 from akva2/test_eclblackoilpvt_janitoring
...
test_eclblackoilpvt: convert to boost::test
2023-05-26 16:25:31 +02:00
Bård Skaflestad
4e1333deda
Merge pull request #3544 from akva2/test_eclblackoilfluidsystem_janitoring
...
test_eclblackoilfluidsystem: convert to boost::test
2023-05-26 16:10:00 +02:00
Arne Morten Kvarving
4eac0243ae
test_eclblackoilpvt: convert to boost::test
2023-05-26 15:51:41 +02:00
Arne Morten Kvarving
f424e8ec6e
test_eclblackoilfluidsystem: convert to boost::test
2023-05-26 15:28:30 +02:00
Arne Morten Kvarving
492823d8dd
test_blackoilfluidstate: convert to boost::test
2023-05-26 15:12:47 +02:00
Arne Morten Kvarving
eb84d95263
test_spline: convert to boost::test
2023-05-26 13:48:43 +02:00
Bård Skaflestad
857f9e39e4
Merge pull request #3540 from akva2/test_threecomponents_ptflash_janitoring
...
test_threecomponents_ptflash: convert to boost::test
2023-05-26 12:57:43 +02:00
Bård Skaflestad
823788a7c8
Merge pull request #3539 from akva2/test_2dtables_janitoring
...
test_2dtables: convert to boost::test
2023-05-26 12:57:13 +02:00
Arne Morten Kvarving
99035c4400
test_co2brine_ptflash: use stream
2023-05-26 12:37:06 +02:00
Arne Morten Kvarving
949d14d7c7
test_threecomponents_ptflash: convert to boost::test
2023-05-26 12:35:56 +02:00
Arne Morten Kvarving
e650889965
test_2dtables: convert to boost::test
2023-05-26 12:21:53 +02:00
Arne Morten Kvarving
4abfc8115e
test_immiscibleflash: convert to boost::test
2023-05-26 12:20:35 +02:00
Arne Morten Kvarving
4bd20c6364
test_co2brine_ptflash: convert to boost::test
2023-05-25 22:53:25 +02:00
Bård Skaflestad
51f21f86bd
Merge pull request #3535 from akva2/test_tabulation_janitoring
...
test_tabulation: Some janitoring
2023-05-25 22:23:40 +02:00
Bård Skaflestad
621dcad31d
Merge pull request #3533 from akva2/test_fluidsystems_janitoring
...
test_fluidsystems: Some janitoring
2023-05-25 22:22:42 +02:00
Bård Skaflestad
80bdd0f999
Merge pull request #3532 from akva2/test_co2brinepvt_janitoring
...
test_co2brinepvt: Some janitoring
2023-05-25 22:21:30 +02:00
Arne Morten Kvarving
edefd93f38
test_components: convert to boost::test
2023-05-25 21:49:07 +02:00
Arne Morten Kvarving
180f34dea7
checkComponent: improve output
...
as this is called multiple times for a component
we get duplicate output. improve by also including the
Evaluation template parameters in the output.
2023-05-25 21:49:07 +02:00
Arne Morten Kvarving
0baa0f441a
test_tabulation: convert to boost::test
2023-05-25 21:15:38 +02:00
Arne Morten Kvarving
860bc2e7f6
test_tabulation: adjust tolerances so there are no failed comparisons
2023-05-25 21:13:04 +02:00
Arne Morten Kvarving
174e19c35d
test_fluidsystems: convert to Boost::Test
2023-05-24 22:04:39 +02:00
Arne Morten Kvarving
91d5db381a
fixed: avoid dead stores in test_fluidsystems
2023-05-24 22:04:39 +02:00
Arne Morten Kvarving
89b1a95a2d
test_co2brinepvt: convert to Boost::Test
2023-05-23 22:31:50 +02:00
Arne Morten Kvarving
38fb67496d
fixed: avoid dead stores in test_co2brinepvt
2023-05-23 22:16:47 +02:00
Tor Harald Sandve
1aff5fc604
add test that compares Brine and BrineDynamic
2023-05-12 09:07:55 +02:00
Arne Morten Kvarving
3fddcc0dd8
split out timing macros to separate header
2023-03-01 13:17:00 +01:00
Tor Harald Sandve
b5fdf35fbc
Implement WSF/GSF satfunc familiy for CO2STORE
2023-02-24 15:07:30 +01:00