ResSimpy.Nexus.rel_perm_operations.load_nexus_relperm_table

ResSimpy.Nexus.rel_perm_operations.load_nexus_relperm_table(relperm_file_path: str) dict[str, list[tuple[float, float]]][source]

Loads in a Nexus relperm table and returns a dictionary with two lists, one with the relperm values for the single fluid, and the other with the values for combined fluids.

Parameters:

relperm_file_path (str) – path to a single Nexus rel perm file.

Raises:

ValueError – if the table header cannot be found for the rel perm table

Returns:

dict[str, list[tuple[float, float]]] – dictionary containing two entries one for the column (KRG, KRW) and one for one of (KROW, KROG, KRWG) depending on the type of table read. Each list entry consists of a tuple of (saturation, relperm value)