boundary_conditions

class stin.boundary_conditions.BC(α_G, v_L, p)

Boundary conditions for two-phase flow. Boundary conditions can’t be assigned randomly because they are connected by the equations from the system. Thus, boundary conditions for v_L and p are calculated from the sinle-phase flow solution, for α_G - specified by user randomly. The other boundary conditions are to be calculated from the equations. This class is devoted for it. __init__ initializes the flow’s boundary conditions with supplied values for gaseous phase volume fraction, gaseous phase velocity and flow pressure. First list down below represents class’s attributes. The next list down below shows __init__ arguments.

α_L

liquid phase volume fraction, dimensionless

Type

float

α_G

gaseous phase volume fraction, dimensionless

Type

float

v_G

gaseous phase velocity, [m/s]

Type

float

ρ_G

gaseous phase density, [kg/m^3]

Type

float

Parameters
  • α_G (float) – gaseous phase volume fraction, dimensionless

  • v_L (float) – liquid phase velocity, [m/s]

  • p (float) – pressure of the mixture, [Pa]