Kharon theory manual
Conservation of Mass
Steady one-dimensional conservation of mass (of phase q) is given through the following relation
The above equation is discretized for an interior cell, shown in Figure 1, by volume integration over cell P.
The divergence term on the left-hand side of the equation is transformed into a surface integral over the cell faces using the divergence theorem.
Note that the first integral defines a closed surface integral over the cell faces, instead of what the notation normally stands for (which is a closed path integral). The current implementation of "Template:TeX" doesn't support the actual notation needed.
Throughout this document upwind discretization is used to evaluate the face mass flow rates, even though any discretization scheme could be chosen. The final discretized form reduces to
where:
volume fraction of phase q [-], volumetric mass transfer rate from phase p to q [kg/m3s], mass transfer rate from phase p to q [kg/s], porosity, fluid fraction of cell volume [-], density of phase q [kg/m3], face area [m2], face mass flow rate [kg/s], face normal pointing out of the cell (1 for east face, -1 for west face), volumetric mass source to phase q [kg/m3s], mass source to phase q [kg/s], velocity of phase q [m/s], subscript e east face (the face in the negative x-direction), subscript w west face (the face in the positive x-direction), subscript q current phase for which the equation is written (1 = primary, 2 = secondary), subscript p the other phase (p = 2 for q = 1 and p = 1 for q = 2), subscript pq indicates exchange between phases (e.g. mass transfer from phase p to q).
Conservation of Momentum
Steady one-dimensional conservation of momentum (of phase q) is solved from the following relation
The above equation is discretized for an interior cell, shown in Figure 2, by volume integration over cell P. The diffusion term has been moved to the left-hand side, since it will be developed together with the divergence of momentum.
As with the conservation of mass equation above, the divergence terms on the left-hand side of the equation are transformed into surface integrals over the cell faces using the divergence theorem.
Developing the left-hand side terms first
Adopting upwind discretization for the momentum fluxes on the cell faces
and rearranging terms