get_domain_area#

get_domain_area(network, inlets=None, outlets=None)[source]#

Determine the cross sectional area relative to the inlets/outlets.

Parameters:
  • network (Network) – The network object containing the pore coordinates

  • inlets (array_like) – The pore indices of the inlets.

  • outlets (array_Like) – The pore indices of the outlets.

Returns:

area – The cross sectional area relative to the inlets/outlets.

Return type:

scalar