Go to the source code of this file.
Functions | |
| TEST_F (TabulatedPVTFluidPropertiesTest, fluidName) | |
| Test that the fluid name and molar mass are correctly returned. | |
| TEST_F (TabulatedPVTFluidPropertiesTest, molarMass) | |
| TEST_F (TabulatedPVTFluidPropertiesTest, tableValues) | |
| At the tabulated pressures, density and viscosity must reproduce the table exactly. | |
| TEST_F (TabulatedPVTFluidPropertiesTest, interpolation) | |
| Between tabulated pressures, 1/B and 1/(B mu) are interpolated linearly. | |
| TEST_F (TabulatedPVTFluidPropertiesTest, extrapolation) | |
| With out_of_bounds_behavior = ignore, 1/B and 1/(B mu) are extrapolated linearly from the end intervals outside the table. | |
| TEST_F (TabulatedPVTFluidPropertiesTest, setToClosestBound) | |
| With out_of_bounds_behavior = set_to_closest_bound, the end values are used outside the table. | |
| TEST_F (TabulatedPVTFluidPropertiesTest, derivatives) | |
| Verify the derivatives against finite differences, inside the table and in the extrapolated regions. | |
| TEST_F (TabulatedPVTFluidPropertiesTest, ad) | |
| The AD versions (used by PorousFlow AD kernels) must carry the same derivatives. | |
| TEST_F (TabulatedPVTFluidPropertiesTest, throwException) | |
| With out_of_bounds_behavior = throw (the default), an exception is thrown outside the table so that the time step can be cut, but not at the end points of the table. | |
| TEST_F (TabulatedPVTFluidPropertiesTest, invalidSolution) | |
| With out_of_bounds_behavior = declare_invalid or warn_invalid, the end values are used outside the table, as with set_to_closest_bound, and no exception is thrown. | |
| TEST_F (TabulatedPVTFluidPropertiesTest, extrapolationError) | |
| Extrapolating far enough below the table makes 1/B non-positive: an exception must be thrown so that the time step can be cut. | |
| TEST_F (TabulatedPVTFluidPropertiesTest, invalidTables) | |
| Invalid tables must be rejected with an informative error. | |
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| ad | |||
| ) |
The AD versions (used by PorousFlow AD kernels) must carry the same derivatives.
Definition at line 156 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| derivatives | |||
| ) |
Verify the derivatives against finite differences, inside the table and in the extrapolated regions.
Pressures are chosen away from the tabulated points, where the piecewise-linear interpolant has kinks.
Definition at line 127 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| extrapolation | |||
| ) |
With out_of_bounds_behavior = ignore, 1/B and 1/(B mu) are extrapolated linearly from the end intervals outside the table.
Definition at line 74 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| extrapolationError | |||
| ) |
Extrapolating far enough below the table makes 1/B non-positive: an exception must be thrown so that the time step can be cut.
Definition at line 241 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| fluidName | |||
| ) |
Test that the fluid name and molar mass are correctly returned.
Definition at line 17 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| interpolation | |||
| ) |
Between tabulated pressures, 1/B and 1/(B mu) are interpolated linearly.
Definition at line 44 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| invalidSolution | |||
| ) |
With out_of_bounds_behavior = declare_invalid or warn_invalid, the end values are used outside the table, as with set_to_closest_bound, and no exception is thrown.
Definition at line 215 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| invalidTables | |||
| ) |
Invalid tables must be rejected with an informative error.
Definition at line 251 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| molarMass | |||
| ) |
Definition at line 19 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| setToClosestBound | |||
| ) |
With out_of_bounds_behavior = set_to_closest_bound, the end values are used outside the table.
Definition at line 102 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| tableValues | |||
| ) |
At the tabulated pressures, density and viscosity must reproduce the table exactly.
Definition at line 27 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| throwException | |||
| ) |
With out_of_bounds_behavior = throw (the default), an exception is thrown outside the table so that the time step can be cut, but not at the end points of the table.
Definition at line 185 of file TabulatedPVTFluidPropertiesTest.C.