Skip to content

Commit

Permalink
Add consistency tests for WaterSSTP
Browse files Browse the repository at this point in the history
  • Loading branch information
speth authored and ischoegl committed Jun 10, 2022
1 parent f70c8ac commit c25d2fc
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/data/consistency-cases.yaml
Expand Up @@ -258,3 +258,20 @@ ideal-edge:
states:
- {T: 300, P: 1 atm}
- {T: 900, P: 20 atm}

liquid-water-IAPWS95:
setup:
file: liquidvapor.yaml
phase: liquid-water-IAPWS95
known-failures:
h_eq_u_plus_Pv: "Error in internal energy calculation. See GitHub Issue #1315"
hk_eq_uk_plus_P_times_vk:
"Error in internal energy calculation. See GitHub Issue #1315"
cv_eq_dudT: "Error in internal energy calculation. See GitHub Issue #1315"
hk0_eq_uk0_plus_p_vk0:
"Error in internal energy calculation. See GitHub Issue #1315"
log_standard_concentrations: Not implemented
states:
- {T: 300, P: 1 atm}
- {T: 360, P: 1 atm}
- {T: 450, P: 100 atm}
7 changes: 7 additions & 0 deletions test/thermo/consistency.cpp
Expand Up @@ -517,4 +517,11 @@ INSTANTIATE_TEST_SUITE_P(IdealEdge, TestConsistency,
testing::ValuesIn(getStates("ideal-edge")))
);

INSTANTIATE_TEST_SUITE_P(LiquidWaterIapws95, TestConsistency,
testing::Combine(
testing::Values(getSetup("liquid-water-IAPWS95")),
testing::ValuesIn(getStates("liquid-water-IAPWS95")))
);


}

0 comments on commit c25d2fc

Please sign in to comment.