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, nonIncreasingPressure) | |
| Invalid tables must be rejected with an informative error. | |
| TEST_F (TabulatedPVTFluidPropertiesTest, tooFewPressures) | |
| TEST_F (TabulatedPVTFluidPropertiesTest, wrongSizeFormationVolumeFactor) | |
| TEST_F (TabulatedPVTFluidPropertiesTest, wrongSizeViscosity) | |
| TEST_F (TabulatedPVTFluidPropertiesTest, nonPositiveFormationVolumeFactor) | |
| TEST_F (TabulatedPVTFluidPropertiesTest, nonPositiveViscosity) | |
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| ad | |||
| ) |
The AD versions (used by PorousFlow AD kernels) must carry the same derivatives.
Definition at line 157 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 128 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 75 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 242 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| fluidName | |||
| ) |
Test that the fluid name and molar mass are correctly returned.
Definition at line 18 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| interpolation | |||
| ) |
Between tabulated pressures, 1/B and 1/(B mu) are interpolated linearly.
Definition at line 45 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 216 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| molarMass | |||
| ) |
Definition at line 20 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| nonIncreasingPressure | |||
| ) |
Invalid tables must be rejected with an informative error.
Each test constructs only one invalid object: an object whose constructor throws is not removed from the application's interface registry, so constructing a second object at the same address in the same test would trigger the "Interface already registered" assertion in debug builds
Definition at line 255 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| nonPositiveFormationVolumeFactor | |||
| ) |
Definition at line 293 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| nonPositiveViscosity | |||
| ) |
Definition at line 302 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 103 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| tableValues | |||
| ) |
At the tabulated pressures, density and viscosity must reproduce the table exactly.
Definition at line 28 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 186 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| tooFewPressures | |||
| ) |
Definition at line 264 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| wrongSizeFormationVolumeFactor | |||
| ) |
Definition at line 275 of file TabulatedPVTFluidPropertiesTest.C.
| TEST_F | ( | TabulatedPVTFluidPropertiesTest | , |
| wrongSizeViscosity | |||
| ) |
Definition at line 284 of file TabulatedPVTFluidPropertiesTest.C.