Figure 6: relationship between s and aA on a-s diagram
When the flow is homentropic (uniform and constant entropy), λin, λout are constant on the characterictics defined as
and
dx
=u+a dx
=u a respectively. In that case, λin, λout are called Riemann invariants. The characteristic for λin is shown in Figure 7 in the space-time plane at pipe end, node N.
n-1
Figure 7: characteristics for λin in case of homentropic flow
Since λin is constant along its characteristic,
n+1in,N
λ
n=λin,L.
In the case of non-homentropic flow, the computation of λin includes pipe wall friction, heat transfer, change in the cross-section and change in entropy level. The entropy level at pipe end and the computation of λout depend on the boundary conditions that are applied there.
A description of the different boundary conditions that are used in the CFD 1D Gas Dynamics library (connection with a volume, sudden geometry change between two pipes, multi pipe junction…) can be found in [1].