pycopm.utils.properties_builder module

Utiliy functions for the generation of the deck properties.

pycopm.utils.properties_builder.add_lost_pv_to_all_cells(dic)

Method to correct the lost pore volume on all active cells

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

pycopm.utils.properties_builder.add_lost_pv_to_all_eq_cells(dic)

Method to correct the lost pore volume by distributing it to the same eqlnum

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

pycopm.utils.properties_builder.add_lost_pv_to_all_fip_cells(dic)

Method to correct the lost pore volume by distributing it to the same fipnum

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

pycopm.utils.properties_builder.add_lost_pv_to_boundary_cells(dic, inx, num)

Function to correct the lost pore volume on the cell boundaries

Args:

dic (dict): Global dictionary with required parameters

inx (array): Index of the reference cells in the coarser block

num (int): Global index of the reference cell

Returns:

dic (dict): Modified global dictionary

pycopm.utils.properties_builder.coarser_properties(dic)

Method to coarse the properties defined in the input deck

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

pycopm.utils.properties_builder.identify_removed_pilars(dic)

Identify the removed pilars to be used to write the coarser grid

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

pycopm.utils.properties_builder.identify_removed_pilars_zdir(dic)

Identify the removed pilars in the z direction

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary

pycopm.utils.properties_builder.initialize_properties(dic)

Method to initialize the coarser properties

Args:

dic (dict): Global dictionary

Returns:

dic (dict): Modified global dictionary