remove_BC

TransientAdvectionDiffusion.remove_BC(pores=None, bctype='all')

Removes boundary conditions from the specified pores.

Parameters
  • pores (array_like, optional) – The pores from which boundary conditions are to be removed. If no pores are specified, then BCs are removed from all pores. No error is thrown if the provided pores do not have any BCs assigned.

  • bctype (str, or List[str]) –

    Specifies which type of boundary condition to remove. The default value is ‘all’. Options are:

    bctype

    meaning

    ’all’

    Removes all boundary conditions

    ’value’

    Removes only value conditions

    ’rate’

    Removes only rate conditions