PorousFlowSinkBC

This class adds a (PorousFlowSink)PorousFlowSink and a (PorousFlowEnthalpySink)PorousFlowEnthalpySink to model adding fluid at a mass flux rate at a specified temperature.

Users are required to specify:

  • boundary - The list of boundary IDs from the mesh where this boundary condition applies

  • either fluid_phase (the fluid phase whose porepressure is used to compute the injected enthalpy) or porepressure_var (an AuxVariable representing fluid pressure at which to compute the injected enthalpy)

  • T_in - Inlet temperature

  • fp - The name of the user object for fluid properties

  • flux_function - The flux out of the medium

[Modules<<<{"href": "../../syntax/Modules/index.html"}>>>]
  [PorousFlow<<<{"href": "../../syntax/Modules/PorousFlow/index.html"}>>>]
    [BCs<<<{"href": "../../syntax/Modules/PorousFlow/BCs/index.html"}>>>]
      [left]
        type = PorousFlowSinkBC<<<{"description": "BC corresponding to hot/cold fluid injection. This BC is only valid for single-phase, non-isothermal simulations using (P, T) variables. This BC adds fluid mass and heat energy. It is only meaningful if flux_function <= 0", "href": "PorousFlowSinkBC.html"}>>>
        boundary<<<{"description": "The list of boundary IDs from the mesh where this boundary condition applies"}>>> = left
        fluid_phase<<<{"description": "Evaluate enthalpy at the pressure of this fluid phase."}>>> = 0
        T_in<<<{"description": "Specified inlet temperature (measured in K)"}>>> = 300
        fp<<<{"description": "The name of the user object for fluid properties"}>>> = simple_fluid
        flux_function<<<{"description": "The flux.  The flux is OUT of the medium: hence positive values of this function means this BC will act as a SINK, while negative values indicate this flux will be a SOURCE. However, this BC only makes physical sense if flux_function <= 0.  This function is measured in kg.m^-2.s^-1."}>>> = -1
      []
    []
  []
[]
(modules/porous_flow/test/tests/sinks/s11_act.i)