Unsteady Flow Process

An unsteady flow process occurs when conditions at a fixed location in an open system change with time. A tank filling from a constant supply is a simple example. The inlet can stay at 300 K while the mass and pressure inside the tank rise.

To solve a transient problem, compare what crosses the boundary during an interval with what the system stores between its initial and final states.

A rigid tank before and after an adiabatic fillAt first a one-cubic-metre tank is evacuated. After two kilograms of air enter from a 300 kelvin line, the tank contains gas at 420 kelvin. The tank volume stays the same. Same tank before and after filling VacuumInitial mass: 0 kgFinal mass: 2 kg1 m³420 K · 241 kPa
Ideal air enters at 300 K. Its inlet enthalpy supplies the energy stored in the insulated tank. Pressure shown is absolute.

Unsteady-flow mass and energy equations

Draw a control volume around the equipment. Label state 1 at the start and state 2 at the end. The subscripts “in” and “out” describe fluid crossing a port. States 1 and 2 describe the inventory inside.

Mass balance

dmCV/dt = Σṁin − Σṁoutm₂ − m₁ = Σmin − ΣmoutThe first line uses rates (kg/s). The second uses masses transferred over the whole interval (kg). For a changing rate, min = ∫ ṁin dt.

First-law energy balance

dECV/dt = Q̇ − Ẇ + Σin ṁe − Σout ṁeE₂ − E₁ = Q − W + Σin ∫ e dm − Σout ∫ e dmQ is heat added. W is non-flow work delivered by the control volume. At a port, e = h + V²/2 + gz, with all terms in J/kg if V is in m/s and z in m. The integrals use positive masses crossing each port.

Use enthalpy for the stream and internal energy for the tank contents. Fluid entering a port carries internal energy plus the flow work needed to push it across the surface. Those terms combine as h = u + pv. Inside a tank with negligible bulk kinetic and potential energy, E₂ − E₁ = m₂u₂ − m₁u₁. Both the mass and the specific internal energy can change.

When stream properties are constant, ∫ h dm reduces to mtransferredh. If they vary, use the enthalpy weighted by transferred mass or evaluate the integral. MIT’s control-volume energy balance and tank-filling derivation

Unsteady-flow tank calculator

Choose a process, enter the tank and air conditions, then move the slider to inspect the state after a fraction of the specified mass has crossed the boundary.

Tank state after 2 kg enters420 K

Mass inside: 2 kg. Absolute pressure: 241.08 kPa.

Change in stored internal energy: +602.7 kJ.

Tank pressure versus mass transferredDuring this fill, absolute pressure rises from 0 to 241.08 kPa. The marker is at the final state. Absolute pressure (kPa) 241.080 0%50%100%Fraction of specified mass transferred
The dot marks the selected state. The horizontal axis measures mass transfer. Elapsed time depends on the flow rate.

Model assumptions. Rigid, insulated tank, no shaft work, well-mixed ideal air with k = 1.4 and R = 0.287 kJ/(kg·K). Inlet enthalpy is constant during filling. During discharge, the escaping stream carries the current tank enthalpy at the chosen cut. Port kinetic and elevation terms are negligible there. The supplied mass is prescribed. The source or receiver must maintain a pressure difference that allows the specified transfer.

Three worked tank examples

1. Filling an initially evacuated tank

A 1 m³ tank receives 2 kg of air from a 300 K supply. Initially it contains no gas, so m₁ = 0 and U₁ = 0. A gas temperature at state 1 is undefined. With one inlet and no outlet, m₂ = min = 2 kg.

  1. Apply the first law. With no heat or work and negligible kinetic and potential energy, m₂u₂ = minhin. Thus u₂ = hin.
  2. Find temperature. For ideal air with constant specific heats, cᵥT₂ = cₚTin. Therefore T₂ = kTin = 1.4 × 300 = 420 K. The stream brings in flow work as part of its enthalpy.
  3. Find pressure. p₂ = m₂RT₂/V = 2 × 0.287 × 420 / 1 = 241.08 kPa absolute. If final pressure is given instead of transferred mass, rearrange to m₂ = p₂V/(RT₂).

2. Adding air to a partly filled tank

The same tank now starts with 1 kg at 300 K. Add 1 kg from the 300 K line. The initial energy stays in the balance. With constant specific heats and no losses:

T₂ = (m₁T₁ + k minTin) / (m₁ + min)Use absolute temperatures. T₂ = (1 × 300 + 1.4 × 1 × 300) / 2 = 360 K.

Final pressure is 2 × 0.287 × 360 = 206.64 kPa absolute. Both filling examples finish with 2 kg. The first tank is warmer because both kilograms crossed the inlet carrying enthalpy. In the second tank, one kilogram was already inside with its initial internal energy.

3. Discharging an insulated, well-mixed tank

Start with 4 kg at 300 K in 1 m³ and withdraw 2 kg. The outlet enthalpy changes as the remaining gas cools. Let m denote the remaining mass, so dm is negative during discharge. For the well-mixed model, d(mcᵥT) = cₚT dm. Expanding the left side gives dT/T = (k − 1) dm/m.

T₂/T₁ = (m₂/m₁)k − 1p₂/p₁ = (m₂/m₁)kT₂ = 300 × (2/4)0.4 ≈ 227.36 K. Pressure falls from 344.4 to about 130.5 kPa absolute.

Using the initial outlet enthalpy for all 2 kg would overstate the energy lost. The mass ratio determines the endpoint in this model. To find the discharge time, you also need a relation for outlet mass flow as pressure changes.

How to recognize an unsteady flow process

Fixed probe, changing reading
Pressure rising in a receiver or outlet temperature falling after startup indicates a transient. A pressure difference between two places at one instant can also occur in steady flow.
Mass accumulates
A tank receives 0.12 kg/s and discharges 0.08 kg/s for 50 s. Its mass increases by (0.12 − 0.08) × 50 = 2 kg. Constant port rates can produce an unsteady tank.
Only energy accumulates
Inlet and outlet mass rates match in a heater, but its casing is warming. The mass balance has zero storage while the energy balance retains a storage term.
Uniform at an instant
A well-mixed tank can have one temperature everywhere at noon and a different temperature a minute later. Spatial uniformity and time dependence describe different features. Uniform port properties also simplify the flow terms.

In fluid mechanics, a changing velocity at a fixed point makes the flow unsteady even if total stored mass and energy happen to stay constant. A zero change in total inventory between two snapshots is therefore insufficient to establish steady operation throughout the interval.

Which assumptions can change the answer?

Heat transfer
During a slow fill, the gas can transfer appreciable energy to the vessel wall. With the gas as the control volume, keep Q. If the boundary includes the wall, account for energy stored in the wall. An insulated exterior alone does not eliminate that storage.
Actual fluid properties
For steam filling an evacuated tank, u₂ = hin can still hold under the stated assumptions. Use that internal energy and a second property, such as final pressure, in steam tables. The constant-k air temperature formula does not apply to wet steam.
Changing port conditions
From logged data, break the event into intervals. Multiply each interval’s transferred mass by its representative stream enthalpy, then sum. A simple time average can mislead if flow rate and enthalpy change together.
Modeling time
The balances give a change of inventory. For constant net inflow, elapsed time equals mass gained divided by net mass flow. For a valve connecting two vessels, flow generally changes as their pressures approach each other.

Common questions about unsteady flow

Why does air get hotter in an insulated tank during filling?

The entering air carries its internal energy and the flow work exerted by the upstream gas. When the entering jet slows and mixes, that energy remains with the tank contents. Heat transfer through the wall can be zero throughout.

Does a rigid tank always have zero work?

A fixed wall eliminates expansion or compression work at that wall. A rotating shaft or an electrical connection crossing the chosen control surface can still transfer work. Flow work at the ports is already included in stream enthalpy.

What is the difference between unsteady flow and a closed-system transient?

Opening a valve to let gas enter changes the tank inventory through mass transfer. With all valves shut, cooling changes tank pressure and temperature while the same mass remains inside. That second case uses a closed-system energy balance.

Can I use a gauge pressure or a Celsius temperature in the ideal gas law?

Use absolute pressure and absolute temperature in pV = mRT and temperature ratios. Add the local atmospheric pressure to a gauge reading and add 273.15 to °C to obtain K. A temperature difference has the same numerical value in kelvins and Celsius degrees.

Sources and further reading

Scroll to Top