User:Paolo Gajoni/sandbox

Non ideal compressible fluid dynamics (NICFD), or non ideal gasdynamics, is a branch of fluid mechanics studying the dynamic behavior of fluids not obeying ideal-gas thermodynamics. It is for example the case of dense vapors, supercritical flows and compressible two-phase flows. With the term dense vapors, we indicate all fluids in the gaseous state characterized by thermodynamic conditions close to saturation and the critical point. Supercritical fluids feature instead values of pressure and temperature larger than their critical values, wheras two-phase flows are characterized by the simultaneous presence of both liquid and gas states.

In all these cases, the fluid requires to be modelled as a real gas, since its thermodynamic behavior considerably differs from that of an ideal gas, which by contrast appears for dilute thermodynamic conditions. The ideal-gas law, in fact, can be employed in general as a reasonable approximation of the fluid thermodynamics for low pressures and high temperatures. Otherwise, intermolecular forces and dimension of fluid particles, which are neglected in the ideal-gas approximation, become relevant and can significantly affect the fluid behavior. This is extremely valid for gases made of complex and heavy molecules, which tend to deviate more from the ideal model.

While the fluid dynamics of compressible flows in ideal conditions is well-established and is characterized by several analytical results, when non-ideal thermodynamic conditions are considered, peculiar phenomena possibly occur. This is particularly valid in supersonic conditions, namely for flow velocities larger than the speed of sound in the fluid considered. All typical features of supersonic flows, in fact, are affected by non-ideal thermodynamics, resulting in both quantitative and qualitative differences with respect to the ideal gasdynamics.

Non-ideal thermodynamics
For dilute thermodynamic conditions, the ideal-gas equation of state (EoS) provides sufficiently accurate results in modelling the fluid thermodynamics. This occurs in general for low values of reduced pressure and high values of reduced temperature, where the term reduced refers to the ratio of a certain thermodynamic quantity and its critical value. For most applications including air, for example, the assumption of considering ideal conditions is perfectly reasonable and it is widely used.

On the other hand, when thermodynamic conditions approach condensation and the critical point or when high pressures are involved, real-gas models are needed in order to capture the real fluid behavior. In these conditions, in fact, intermolecular forces and compressibility effects come into play.

A measure of the fluid non-ideality is given by the compressibility factor $$ Z $$, defined as


 * $$ Z = \frac{Pv}{RT} $$

where
 * $$ P $$ is the pressure [Pa];
 * $$ v $$ is the specific volume [m3/kg];
 * $$ R $$ is the gas constant [J/kgK];
 * $$ T $$ is the absolute temperature [K].

The compressibility factor is a dimensionless quantity which is equal to 1 for ideal gases and deviates from unity for increasing levels of non-ideality.

Several non-ideal models exist, from the simplest cubic equations of state (such as the Van der Waals and the Peng-Robinson models) up to complex multi-parameter ones, including the Span-Wagner equation of state.

State-of-the-art equations of state are easily accessible through thermodynamic libraries, such as FluidProp or the open-source software CoolProp.

Non-ideal gasdynamic regimes
The dynamic behavior of compressible flows is governed by the dimensionless thermodynamic quantity $$ \Gamma $$, which is known as the fundamental derivative of gasdynamics and is defined as
 * $$ \Gamma = \frac{v^2}{2c^2} \left(\frac{\partial^2 P}{\partial v^2} \right)_s = 1+ \frac{c}{v} \left(\frac{\partial c}{\partial P} \right)_s $$

where


 * $$ c $$ is the speed of sound [m/s];
 * $$ s $$ is the specific entropy per unit mass [J/kgK].

From a mathematical point of view, the fundamental derivative is a non-dimensional measure of the curvature of isentropes in the pressure-volume thermodynamic plane. From a physical point of view, the definition of $$ \Gamma $$ tells that the speed of sound increases with pressure in isentropic transformations for values of $$ \Gamma > 1 $$, while, by contrast, it decreases with pressure for $$ \Gamma < 1 $$.

Based on the value of $$ \Gamma $$, three gasdynamic regimes can be defined :


 * ideal gasdynamic regime for $$ \Gamma > 1 $$;
 * non-ideal classical gasdynamic regime for $$ 0 < \Gamma < 1 $$;
 * non-classical gasdynamic regime for $$ \Gamma < 0 $$.

Ideal gasdynamic regime
In the ideal regime, the usual ideal-gas behavior is qualitatively recovered. For an ideal gas, in fact, the value of the fundamental derivative reduces to the constant value $$ \Gamma = \frac{\gamma + 1}{2} $$, where $$ \gamma $$ is the heat capacity ratio. By definition, $$ \gamma $$ is the ratio between the constant pressure and the constant volume specific heats, so it is larger than 1, leading to a value of $$ \Gamma $$ larger than 1 too.

In this regime, only quantitative differences with respect to the ideal model are encountered. The flow evolution in fact depends on total, or stagnation, thermodynamic conditions. For example, the Mach number evolution of an ideal gas in a supersonic nozzle depends only on the heat capacity ratio (namely on the fluid) and on the exhaust-to-stagnation pressure ratio. Considering real-gas effects, instead, even fixing the fluid and the pressure ratio, different total states yield different Mach profiles.

Typically, for single-phase fluids made of simple molecules, only the ideal gasdynamic regime can be reached, even for thermodynamic conditions very close to saturation. It is for example the case of diatomic or triatomic molecules, such as nitrogen or carbon dioxide, which can only experience small departure from the ideal behavior.

Non-ideal classical gasdynamic regime
For fluids with high molecular complexity, state-of-the-art thermodynamic models predict values of $$ 0 < \Gamma < 1 $$ in the single-phase region close to the saturaton curve, where the speed of sound is largely sensitive to density variations along isentropes. Such fluids belong to different classes of chemical compounds, including hydrocarbons, siloxanes and refrigerants.

In the non-ideal regime, even qualitative differences with respect to ideal gasdynamics can be found, meaning that the flow evolution can be strongly different for varying total conditions. The most peculiar phenomenon of the non-ideal regime is the decrease of the Mach number in isentropic expansions occurring in the supersonic regime, namely processes in which the fluid density decreases. Indeed, for an ideal gas expanding isentropically in a converging-diverging nozzle, the Mach number increases monotonically as the density decreases. By contrast, for flows evolving in the non-ideal regime, a non-monotone Mach number evolution is possible in the divergent section, whereas the density reduction remains monotonic (see figure in the lead section). This particular phenomenon is governed by the quantity $$ J $$, which is a non-dimensional measure of the Mach number derivative with respect to density in isentropic processes :
 * $$ J = \frac{\rho}{M} \frac{dM}{d \rho} = 1-\Gamma - \frac{1}{M^2} $$

where


 * $$ M $$ is the Mach number;
 * $$ \rho $$ is the density [kg/m3].

From the definition of $$ J $$, the Mach number increases with density for flow conditions featuring values of $$ J>0 $$. Indeed, this is possible only for values of $$ \Gamma < 1 $$, that is in the non-ideal regime. However, this is not a sufficient condition for the non-monotone Mach number to appear, since a sufficiently large value of $$ M $$ is also required. In particular, supersonic conditions ($$ M > 1 $$) are necessary.

An analogous effect is encountered in the expansion around rarefactive ramps: for suitable thermodynamic conditions, the Mach number downstream of the ramp can be lower than the one upstream. By contrast, in oblique shock waves, the post-shock Mach number can be larger than the pre-shock one.

Non-classical gasdynamic regime
Finally, fluids with an even higher molecular complexity can exhibit non-classical behavior in the single-phase vapor region near saturation. They are called Bethe-Zel’dovich-Thompson (BZT) fluids, from the name of physicists Hans Bethe, Yakov Zel'dovich and Philip Thompson , who first worked on these kinds of fluids.

For thermodynamic conditions lying in the non-classical regime, the non-monotone evolution of the Mach number in isentropic expansions can be found even in subsonic conditions. In fact, for values of $$ \Gamma < 0 $$, positive values of $$ J $$ can be reached also in subsonic flows ($$ M < 1 $$). In other words, the non-monotone Mach number evolution is also possible in the convergent section of an isentropic nozzle.

Moreover, a peculiar phenomenon of the non-classical regime is the so-called inverted gasdynamics. In the classical regime, expansions are smooth isentropic processes, while compressions occur through shock waves, that are discontinuities in the flow. If gasdynamics is inverted, the opposite occurs, namely rarefaction shock waves are physically admissible and compressions occur through smooth isentropic processes.

As a consequence of the negative value of $$ \Gamma $$, two other peculiar phenomena can occur for BZT fluids: shock splitting and composite waves. Shock splitting occurs when an inadmissible pressure discontinuity evolves in time by generating two weaker shock waves. Composite waves, instead, are referred to as phenomena in which two elementary waves propagate as a single entity.

Experimental evidence of non-classical gasdynamic regime is not available yet. The main reasons are the complexity of performing experiments in such challenging thermodynamic conditions and the thermal stability of these very complex molecules.

Applications
Compressible flows in non-ideal conditions are encountered in several industrial and aerospace applications. They are employed for example in Organic Rankine Cycles (ORC) and supercritical carbon dioxide (sCO2) systems for power production. In the aerospace field, fluids in conditions close to saturation can be used as oxiders in hybrid rocket motors or for surface cooling of rocket nozzles. Gases made of molecules of high molecular mass can be used in supersonic wind tunnels instead of air to obtain higher Reynolds numbers. Finally, non-ideal flows find application in fuels transportation at high-speed and in Rapid Expansion of Supercritical Solutions (RESS) of CO2 for particles generation or extraction of chemicals.

Organic Rankine cycles
Usual Rankine cycles are thermodynamic cycles which employ water as working fluid to produce electric power from thermal sources. In Organic Rankine cycles, by contrast, water is substituted by molecularly complex organic compounds. Since the vaporization temperature of these kinds of fluids is lower than that of water, low-to-medium temperature sources can be exploited allowing for heat recovery, for example, from biomass combustion, industrial waste heat or geothermal heat. For these reasons, the ORC technology belongs to the class of renewable energies.

For the design of mechanical components, such as turbines, working in ORC plants, it is fundamental to take into account typical non-ideal gasdynamic phenomena. In fact, the single-phase vapor at the inlet of an ORC turbine stator usually evolves in the non-ideal thermodynamic region close to liquid-vapor saturation curve and critical point. Moreover, due to the high molecular mass of the complex organic compounds employed, the speed of sound in these fluids is low compared to that of air and other simple gases. Therefore, turbine stators are very likely to involve supersonic flows even if rather low flow velocities are reached. High supersonic flows can produce large losses and mechanical stresses in the turbine blades due to occurrence of shock waves, which cause a strong pressure raise. However, when working fluids of the BZT class are employed, expander performances could be improved by exploiting some non-classical phenomena.

Supercritical carbon dioxide cycles
When carbon dioxide is held above its critical pressure (73.773 bar) and temperature (30.9780 °C), it can behave both as a gas and as a liquid, that is it expands to fill entirely its container like a gas but has a density similar to that of a liquid.

Supercritical CO2 is chemically stable, very cheap and non-flammable, making it suitable as a working fluid for transcritical cycles. For example, it is employed in domestic water heat pumps, which can reach high efficiencies.

Moreover, when used in power generation plants which employ Brayton and Rankine cycles, it can improve efficiency and power output. In fact, its high density enables a strong reduction in turbomachines dimensions, still ensuring high efficiency of these components. Simpler designs can therefore be adopted, while steam turbines require multiple turbine stages, which necessarily yield larger dimensions and costs.

By contrast, mechanical components within sCO2 Brayton cycles, especially turbomachinery and heat exchangers, suffer from corrosion.