mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
Add thermo consistency test for CoverageDependentSurfPhase
This commit is contained in:
parent
d7e2415779
commit
2a8d54e3db
@ -277,6 +277,21 @@ ideal-edge:
|
||||
- {T: 300, P: 1 atm}
|
||||
- {T: 900, P: 20 atm}
|
||||
|
||||
coverage-dependent-surface:
|
||||
setup:
|
||||
file: copt_covdepsurf_example.yaml
|
||||
phase: covdep
|
||||
atol_v: 1e-7
|
||||
states:
|
||||
- {T: 700, P: 1 atm,
|
||||
coverages: {Pt: 0.0, OC_Pt: 0.1, CO2_Pt: 0.5, C_Pt: 0.1, O_Pt: 0.3}}
|
||||
- {T: 800, P: 5 atm,
|
||||
coverages: {Pt: 0.12, OC_Pt: 0.07, CO2_Pt: 0.21, C_Pt: 0.17, O_Pt: 0.43}}
|
||||
- {T: 300, P: 3 atm,
|
||||
coverages: {Pt: 0.0, OC_Pt: 0.71, CO2_Pt: 0.08, C_Pt: 0.07, O_Pt: 0.14}}
|
||||
- {T: 500, P: 10 atm,
|
||||
coverages: {Pt: 0.0, OC_Pt: 0.0, CO2_Pt: 0.09, C_Pt: 0.81, O_Pt: 0.1}}
|
||||
|
||||
liquid-water-IAPWS95:
|
||||
setup:
|
||||
file: liquidvapor.yaml
|
||||
|
@ -734,6 +734,12 @@ INSTANTIATE_TEST_SUITE_P(IdealEdge, TestConsistency,
|
||||
testing::ValuesIn(getStates("ideal-edge")))
|
||||
);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(CoverageDependentSurface, TestConsistency,
|
||||
testing::Combine(
|
||||
testing::Values(getSetup("coverage-dependent-surface")),
|
||||
testing::ValuesIn(getStates("coverage-dependent-surface")))
|
||||
);
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(LiquidWaterIapws95, TestConsistency,
|
||||
testing::Combine(
|
||||
testing::Values(getSetup("liquid-water-IAPWS95")),
|
||||
|
Loading…
Reference in New Issue
Block a user