In fluid mechanics, two-phase flow is a flow of gas and liquid usually in a pipe. Two-phase flow is a particular example of multiphase flow. Two-phase flow can occur in various forms. For example, there are transient flows with a transition from pure liquid to a vapor flow as a result of external heating, separated flows and dispersed two-phase flows where one phase is present in the form of particles, droplets, or bubbles in a continuous carrier phase (i.e. gas or liquid).
The widely-accepted method to categorize two-phase flows is to consider the velocity of each phase as if there is not other phases available. The parameter is a hypothetical concept called Superficial velocity.
Historically, probably the most commonly studied cases of two-phase flow are in large-scale power systems. Coal and gas-fired power stations used very large boilers to produce steam for use in turbines. In such cases, pressurised water is passed through heated pipes and it changes to steam as it moves through the pipe. The design of boilers requires a detailed understanding of two-phase flow heat-transfer and pressure drop behaviour, which is significantly different from the single-phase case. Even more critically, nuclear reactors use water to remove heat from the reactor core using two-phase flow. A great deal of study has been performed on the nature of two-phase flow in such cases, so that engineers can design against possible failures in pipework, loss of pressure, and so on (a loss-of-coolant accident (LOCA)).
Another case where two-phase flow can occur is in pump cavitation. Here a pump is operating close to the vapor pressure of the fluid being pumped. If pressure drops further, which can happen locally near the vanes for the pump, for example, then a phase change can occur and gas will be present in the pump. Similar effects can also occur on marine propellors; wherever it occurs, it is a serious problem for designers. When the vapor bubble collapses, it can produce very large pressure spikes, which over time will cause damage on the propellor or turbine.
The above two-phase flow cases are for a single fluid occurring by itself as two different phases, such as steam and water. The term 'two-phase flow' is also applied to mixtures of different fluids having different phases, such as air and water, or oil and natural gas. Sometimes even three-phase flow is considered, such as in oil and gas pipelines where there might be a significant fraction of solids.