add_reservoir_pore#

add_reservoir_pore(cls, network, pores, offset=0.1)[source]#

Adds a single pore connected to all pores to act as a reservoir

This function is mostly needed to make network compatible with the Statoil file format, which requires reservoir pores on the inlet and outlet faces.

Parameters
  • network (GenericNetwork) – The network to which the reservoir pore should be added

  • pores (array_like) – The pores to which the reservoir pore should be connected to

  • offset (scalar) – Controls the distance which the reservoir is offset from the given pores. The total displacement is found from the network dimension normal to given pores, multiplied by offset.

Returns

project – An OpenPNM project object with a new geometry object added to represent the newly added pore and throats.

Return type

list