FireCADCalc

Gas Temperature Along a Buried Pipeline

Outlet gas temperature and heat lost to the soil over a buried pipeline length, from the overall heat transfer coefficient, gas flow and specific heat.

Thermal power plantProcess steam and utilitiesRefinery and petrochemicalChemical and fertiliserFuel oil and gas system

Inputs

Examples: 5 Mm3/day, 400 mm, 30 kmSmall line, long

Results

Heat transfer only: the Joule–Thomson cooling as pressure falls is not included, so a long line can end slightly below the soil temperature. U is based on the pipe diameter D.

Gas mass flow153,124kg/h
Exponent UπDL/(ṁc_p)0.80575
Outlet gas temperature33.403°C
Length-average gas temperature40.599°C
Heat lost to the soil1,553.1kW

Download PDF CSV Link to this result Compare another case

Log in to save calculations to your dashboard.

Worked example

Example: 5 Mm3/day, 400 mm, 30 km. The inputs, in the units selected above:

InputValue
Gas flow at base conditions5,000,000 m³/d
Gas gravity (air = 1)0.60000 -
Gas specific heat2.2000 kJ/(kg·K)
Overall heat transfer coefficient to the soil2.0000 W/(m²·K)
Pipe diameter400.00 mm
Pipe length30.000 km
Inlet gas temperature50.000 °C
Soil temperature20.000 °C
Base temperature15.000 °C
Base pressure101.33 kPa

Applying the formula below gives:

ResultValue
Gas mass flow153,124 kg/h
Exponent UπDL/(ṁc_p)0.80575
Outlet gas temperature33.403 °C
Length-average gas temperature40.599 °C
Heat lost to the soil1,553.1 kW

Open this example in the calculator and change any input.

Formula

\(T_2 = T_s + (T_1 - T_s)e^{-\theta}, \quad \theta = \frac{U\pi DL}{\dot mc_p}\)

Variables

Symbol Meaning SI unit
\(Q_b\) Gas flow at base conditions m³/s
\(G\) Gas gravity (air = 1) -
\(c_p\) Gas specific heat J/(kg·K)
\(U\) Overall heat transfer coefficient to the soil W/(m²·K)
\(D\) Pipe diameter m
\(L\) Pipe length m
\(T_1\) Inlet gas temperature K
\(T_s\) Soil temperature K
\(T_b\) Base temperature K
\(P_b\) Base pressure Pa
\(\dot m\) Gas mass flow kg/s
\(\theta\) Exponent UπDL/(ṁc_p) -
\(T_2\) Outlet gas temperature K
\(\bar T\) Length-average gas temperature K
\(H\) Heat lost to the soil W

Method and standards

Steady heat balance on the gas.

Where it is used

  • Compressor discharge cooling along a line.
  • Choosing the temperature for the flow equations.

Common mistakes

  • Ignoring Joule–Thomson cooling on long lines.
  • Using U based on a different area.

Assumptions and limits

  • Constant soil temperature and U.

References

  • Menon
  • Gas Pipeline Hydraulics (CRC Press, 2005)
  • ch. 3.11
  • eqs. 3.23–3.29

Questions and answers

Why does the gas cool to soil temperature?

The temperature difference decays exponentially with length; after θ ≈ 3 the gas is within 5 % of the soil temperature.

What U should I use?

About 1–3 W/(m²·K) for bare buried steel pipe in moist soil, lower in dry sand or with insulation.

What do the defaults represent?

5 million m³/day at 50 °C entering a 400 mm line, 30 km, in 20 °C soil with U = 2 W/(m²·K).

Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.

Related calculators

Free engineering calculators: every page computes in SI and converts to your units. Results are for engineering estimation; verify critical designs against the referenced standards.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.