3. Modeling the gas flow
3.1. Flow variables
The gas inside the pipe is characterized by its density ρ, its static pressure p and its velocity u. When the gas is composed of different species (like in IFP-Engine and IFP-Exhaust libraries), a vector of mass fraction χ is also considered. Each component i of the vector is defined as
χi=
ρρ
,
where ρi is the density of the considered species.
We have: and
0≤χi≤1
∑χ
i
i
=1, =ρ.
since
∑ρ
i
i
The temperature T of the gas is a function of p, ρ andχ. That function depends on the gas property model that is chosen.
The pipe section S can vary as a function of the curvilinear abscissa x, the associated diameter D is defined as
D=2
π
.