The Multiphase Flow in Porous Media (

) interface contains an optional
Well multiphysics coupling feature on points (in 2D) or edges (in 3D). The
Well coupling node is intended to model injection or production wells and links bidirectionally the
Phase Transport in Porous Media and
Darcy’s Law interfaces.
The Label is the default multiphysics coupling feature name.
The default Name (for the first
Well multiphysics coupling feature in the model) is
wellmpp1.
When nodes are added from the context menu, you can select Manual (the default) from the
Selection list to choose specific points or edges, or select
All points or
All edges as needed.
Either specify the total Total mass flow rate M0 (SI unit: kg/s), the
Total mass flow rate per unit length Ml (SI unit: kg/(m·s)), the
Pressure p0 (SI unit: Pa), the
Pressure head Hp0 (SI unit: m), or the
Hydraulic head H0 (SI unit: m). The elevation
D used to convert the hydraulic head to a pressure, is defined by the gravity effects in the coupled Darcy’s Law interface.
Select the Specify well diameter checkbox to define the
Well diameter dw (SI unit: m). This averages the mass source on the boundary of a cylinder around the line. This option avoids obtaining an increasing pressure value at the line when meshing finer than this diameter. It makes use of the
circavg operator.
The number of Phase sections depends on the number of phases defined in the coupled Phase Transport in Porous Media interface: the number of sections is equal to the number of phases not computed from the volume constraint, which is in turn equal to the number of phases defined in the coupled Phase Transport in Porous Media interface minus one.
Specify the boundary condition for each phase not computed from the volume constraint. You can choose to enter a value for the Mass flow rate M0,i (SI unit: kg/s), the
Mass flow rate per unit length Ml,i (SI unit: kg/(m·s)), or the
Volume fraction s0,i (dimensionless). If the well diameter is specified, the option to specify the
Mass flux N0,i (SI unit: kg/(m
2·s)) is also available. For a production well, you can additionally choose the
Outflow option. For an injection well you can additionally choose to specify the
Fraction of total volumetric flow rate s0,i (dimensionless).
When the Fraction of total volumetric flow rate s0,i is specified for a phase, a mass flow rate per unit length
Ml,i is supplied for that phase, which is given by
where Vl is the total volumetric flow rate per unit length, which is computed as follows: assume that there are
N phases, and that phase 1 is the phase computed from the volume constraint, that for phases
i, for
i = 2, ..., p, the fraction of total volumetric flow rate
s0,i is supplied, and that for the phases
i, for
i = p+1, ..., N, the mass flow rate per unit length
Ml,i is given. Then
Vl can be computed from the relation
where the mass flow rate Ml,1 for the phase computed from the volume constraint is given by
Note that the total mass flow rate per unit length Ml is readily available when any of the
Total mass flow rate,
Total mass flow rate per unit length, or the
Total mass flux options is chosen. Furthermore, the total mass flow rate per unit length
Ml is also available as a Lagrange multiplier in case any of the
Pressure, the
Pressure head, or the
Hydraulic head is given, as these conditions are implemented as weak constraints. For the mass flow rates per unit length
Ml,i of the individual phases, it holds similarly that they are readily available when any of the
Mass flow rate,
Mass flow rate per unit length, or the
Mass flux options are chosen, and that for the
Volume fraction option, implemented as a weak constraint, the mass flow rate per unit length
Ml,i is computed as a Lagrange multiplier.
When the Outflow option is specified for a phase
si, an outflowing mass flow rate per unit length
Ml,i is supplied for that phase, which is given by
where κri denotes the relative permeability of phase
i.