Tools › Fluids and Heat Transfer › Pipe Flow › Tank Drain and Heat-Up Time


Tank Drain and Heat-Up Time

How long a tank takes to drain, fill, equalise or change temperature. Drain: the quasi-steady balance A(h) dh/dt = -Q for a vertical or horizontal cylinder (flat, 2:1 ellipsoidal, hemispherical or entered-depth heads), a sphere, a cone or hopper, a rectangular tank or a pasted level-area or level-volume table, through an orifice or nozzle with a discharge coefficient or through a pipe with Darcy friction (Colebrook) and minor losses, between any two levels, with the outlet below or above the tank bottom (siphon or dip leg), a vented tank, a constant gas pressure, a gas pad that expands as the level falls, or a sealed tank that stops at its vacuum-lock level; the closed form is printed beside the numerical integration wherever one exists. Fill: constant inflow or a pump curve against the rising level. Two tanks equalising through an orifice or a pipe. Heat-up and cool-down of a well-mixed batch: steam or another isothermal medium in a coil or jacket, a liquid medium, an external exchanger with recirculation, electric or fired heating at constant power, heat loss to ambient with the ceiling temperature, cooling by ambient alone, steam consumption and peak load from the IAPWS-IF97 latent heat, and the coil area or heater power for a target time. Defaults are illustrative: a 3 m diameter by 4 m tank draining through a 50 mm sharp-edged orifice, and 10 cubic metres of water heated from 15 to 60 °C by a 6 square metre steam coil.

  • Drain time for six tank shapes or a pasted table, orifice or pipe outlet, closed form beside the numerical integration

  • Gas pad, constant pressure, sealed tank vacuum lock, outlet above or below the bottom, partial drain between two levels

  • Filling with a constant inflow or a pump curve; two tanks equalising through an orifice or pipe

  • Batch heat-up and cool-down: coil, jacket, external exchanger, constant power, loss to ambient, steam use, inverse sizing

Tank Drain and Heat-Up Time


Unit System: /

Analysis


Tank (drain and fill)













Outlet or Connection (drain and equalise; viscosity in cP)










Outlet Elevation and Gas Space (drain)







Filling (flow and head of the pump curve in L/s and m, or gpm and ft in USCS mode)








Two Tanks (equalise; levels above the connection)






Batch (heat-up; temperatures in °C, cp in kJ/(kg⋅K), U in W/(m²⋅K); in USCS mode °F, Btu/(lb⋅°F), Btu/(h⋅ft²⋅°F))








Heating or Cooling












Heat Loss and Target






×

Tank Drain and Heat-Up Time

Quasi-Steady Drain, Closed Forms, Gas Pad, Batch Heating

Scope

The first dropdown chooses one of four analyses. Drain: the time for the level of a tank to fall between two levels through an orifice, a nozzle or a discharge pipe, for six tank shapes or a pasted level table, with the gas space vented, held at a constant pressure, closed as an expanding gas pad, or sealed. Fill: the time to raise the level with a constant inflow or with a pump whose flow falls as the level rises. Equalise: two tanks of constant plan area joined by an orifice or a pipe. Heat-up or cool-down: the time for a well-mixed batch to move between two temperatures with steam or another medium in a coil or jacket, an external exchanger, an electric or fired heater, and a loss to ambient. Outside the scope: inertia of the liquid in long pipes (the flow is taken as steady at each level), two-phase or flashing discharge, vortex and air entrainment at low levels, an overflow weir (the fill simply ends at the end level), stratified or unmixed batches, boiling and evaporation from an open surface, and the calculation of the overall coefficient U from agitation and film coefficients, which is an entered value.

Conventions and units

Levels are measured up from the lowest point of the tank. Lengths, diameters, volumes, flows, pressures, densities, masses and powers go through the site's unit dictionary. Times are in seconds, with minutes or hours beside them. Temperatures are plain numbers read as °C in SI mode and °F in USCS mode; specific heats are kJ/(kg⋅K) or Btu/(lb⋅°F); overall coefficients are W/(m²⋅K) or Btu/(h⋅ft²⋅°F); viscosity is in centipoise. The unit switch does not convert these plain numbers. Pasted tables are in m, m², m³ (ft, ft², ft³) and pump curves in L/s and m (gpm and ft). Everything is computed in SI and shown in the selected system.

Tank geometry

The free-surface area A(h) and the volume V(h) are exact for each shape. Vertical cylinder and rectangular tank: A is constant. Sphere: A = π h (D − h), V = π h² (3D/2 − h)/3. Cone or frustum with the small end down: the radius grows linearly with the level, V = π h (rb² + rb r + r²)/3. Horizontal cylinder of length L: A = 2 L √(h (D − h)) and V = L [R² arccos((R − h)/R) − (R − h) √(2 R h − h²)]. Its two heads are treated as half-ellipsoids of depth c, which together add A = π c h (D − h)/R and V = (π c/R)(R h² − h³/3): exact for 2:1 ellipsoidal heads (c = D/4) and hemispherical heads (c = D/2). A torispherical (dished) head is entered by its depth; the ellipsoid of the same depth is close to its volume, not identical. A pasted level-area table is interpolated linearly in area; a level-volume (strapping) table is interpolated linearly in volume, so its area is constant between rows.

Drain time

While the level falls slowly compared with the speed of the outflow, the flow at each instant is the steady flow for that level, and continuity gives A(h) dh/dt = −Q(h). The time between the levels h1 and h2 is therefore t = ∫ A(h)/Q(h) dh. The head driving the flow is He = h + z + pg/(ρ g): the level, the vertical drop z from the tank bottom to the point where the stream leaves into the atmosphere, and the gauge pressure of the gas above the liquid. For an orifice or nozzle Q = Cd a √(2 g He) (Torricelli's velocity with a discharge coefficient). For a pipe the velocity satisfies He = (1 + K + f L/d) V²/(2 g), where K sums the entrance, valve and fitting losses, the 1 is the velocity head carried away by the jet, and f is the Darcy friction factor: 64/Re in laminar flow, the Colebrook equation above Re = 2,300. The velocity is solved at every level, so the friction factor follows the falling Reynolds number.

The tool evaluates the integral numerically in level bands with a tanh-sinh rule, which handles the square-root behaviour where the head or the surface area goes to zero. Where an elementary closed form exists it is printed beside the numerical value. For a constant area, t = 2 A (√H1 − √H2)/(Cd a √(2g)) (Merriman, Art. 57); emptying takes exactly twice as long as passing the same volume at the constant starting flow. For a sphere, a cone and the ellipsoidal heads the area is a polynomial in the level and each term integrates to a power of H; a full sphere empties through its lowest point in 4 π D5/2/(15 Cd a √(2g)) and a hemispherical bowl of radius r in 14 π r5/2/(15 Cd a √(2g)) (Merriman, Art. 32). A horizontal cylinder with flat ends and the outlet at its lowest point drains in 4 L [(D − h2)3/2 − (D − h1)3/2]/(3 Cd a √(2g)); with a head offset its integral is elliptic and only the numerical value is given.

Outlet position, siphons and vortices

A positive outlet drop is a tail pipe, dip leg or hose that discharges below the tank bottom: the drop adds to the head at every level and the tank empties in a finite time even through a long pipe. A siphon over the wall behaves the same way while it stays primed, and the absolute pressure at its crest must stay above the vapor pressure of the liquid. A negative drop is an outlet in the wall above the bottom: the drain stops at the outlet. With a pipe and no head left at the end level, the laminar tail makes the time to exactly zero head unbounded, so the tool integrates to 0.1 % of the starting head and says so. Below a head of about three orifice diameters a vortex forms over a bottom outlet and the real discharge falls below the formula.

Gas space

Vented: the surface is at atmospheric pressure, provided the vent can admit air at the rate the liquid leaves. Constant pressure: a regulated blanket adds the constant head pg/(ρ g), so the closed forms still apply with H = h + z + pg/(ρ g). Gas pad: a closed gas volume expands as the liquid leaves, p Vn = constant, from the starting absolute pressure and the gas volume at the start level (the tank's own space above the liquid plus any entered extra volume); n = 1 for a slow isothermal expansion, up to the specific-heat ratio for a fast one. Sealed: the same with the gas starting at atmospheric pressure. In the last two cases the pressure can fall below atmospheric; the flow stops at the level where the vacuum balances the liquid head (vacuum lock), which the tool finds and reports, and the shell must withstand that vacuum.

Filling and equalising

With a constant inflow the filling time is the volume to add divided by the flow. With a pump, the operating flow at each level is where the pasted pump curve (interpolated linearly) meets the system head Hstatic + h + hf (Q/Qref)²; with bottom entry the static head rises with the level, the flow falls, and t = ∫ A(h)/Q(h) dh. If the pump reaches its shut-off head before the end level the tool reports the level where the flow stops. For two tanks of constant areas joined below both surfaces, the level difference ΔH drives the flow and d(ΔH)/dt = −Q(ΔH)(1/A1 + 1/A2); through an orifice t = 2 A1 A2 (√ΔH0 − √ΔH)/((A1 + A2) Cd a √(2g)), and the common final level is the area-weighted mean of the starting levels.

Heat-up and cool-down of a batch

For a well-mixed batch of heat capacity M c (liquid plus, optionally, the vessel metal), M c dT/dt = UAeff (Tm − T) + P − UAL (T − Ta). The equation is linear: the batch approaches the steady temperature T∞ = (UAeff Tm + UAL Ta + P)/(UAeff + UAL) with the time constant τ = M c/(UAeff + UAL), T(t) = T∞ − (T∞ − T1) e−t/τ, and t = τ ln[(T∞ − T1)/(T∞ − T2)]. A target beyond T∞ is never reached, which is how a loss to ambient sets a ceiling on an underpowered heater. Without a loss and with steam at Ts this is the textbook t = (M c/(U A)) ln[(Ts − T1)/(Ts − T2)], which is the same statement as heat = U A × log-mean temperature difference × time. With constant power and no loss the rise is linear, t = M c ΔT/P. With no source the loss term alone gives Newton's law of cooling.

The effective conductance UAeff refers the heat flow to the inlet temperature of the medium. A condensing or otherwise constant-temperature medium in a coil or jacket gives UAeff = U A. A liquid medium of capacity rate W cm changes temperature along the coil; with the batch at one temperature the coil has the effectiveness 1 − e−UA/(W cm), so UAeff = W cm (1 − e−UA/(W cm)). With an external exchanger the batch is recirculated at the capacity rate w c: UAeff = w c (1 − e−UA/(w c)) for a constant-temperature medium and Cmin ε for a liquid medium in counterflow, ε being the counterflow effectiveness. These are the batch heating and cooling forms found in the process heat-transfer texts, written with one symbol. In each case the flow sets an upper limit on UAeff that no amount of surface can exceed.

The duty of the source is largest at the start. For steam the consumption is the heat delivered divided by the latent heat at the steam pressure (IAPWS-IF97), with the condensate leaving as saturated liquid; the starting rate sizes the control valve, the traps and the supply. The inverse options find the surface area or the heater power for a target time: the power in closed form, the area by bisection on UAeff followed by the inverse of the arrangement's relation.

Coefficients

The discharge coefficient is an input. The U.S. Bureau of Reclamation's Water Measurement Manual gives about 0.61 for a sharp-edged orifice with full contraction; Merriman uses 0.6 for orifices with square inner edges and 0.8 where the inner edges are rounded. The overall coefficient U of a coil or jacket depends on the liquid, the agitation, fouling and the medium, and varies by more than a factor of ten between a viscous unstirred liquid and stirred water under condensing steam; use a tested or vendor value. The defaults (Cd = 0.61, U = 800 W/(m²⋅K), loss coefficient 1 W/(m²⋅K)) are illustrative.

Checks

The library is checked against Merriman's worked examples (a canal lock of 80 by 20 ft emptying through 8 ft² of orifices under 16 ft in 333 s; an orifice of 1 ft² in a 10 ft² reservoir under 9 ft passing 13.9 ft³ in the first second), every closed form against numerical quadrature on forty seeded tanks, the pipe drain, the gas pad, the pump fill and the batch equation against an independent ordinary-differential-equation solver, and Hausbrand's steam-coil example (100 kg of water from 30 to 90 °C under steam at 100 °C).




References

Merriman, M. (1916). Treatise on Hydraulics, 10th ed. John Wiley and Sons, New York.

U.S. Department of the Interior, Bureau of Reclamation (2001). Water Measurement Manual, 3rd ed., revised reprint. U.S. Government Printing Office, Washington, DC.

Colebrook, C. F. (1939). "Turbulent Flow in Pipes, with Particular Reference to the Transition Region between the Smooth and Rough Pipe Laws." Journal of the Institution of Civil Engineers, Vol. 11, No. 4, pp. 133–156.

Moody, L. F. (1944). "Friction Factors for Pipe Flow." Transactions of the ASME, Vol. 66, No. 8, pp. 671–684.

Hausbrand, E. (1903). Evaporating, Condensing and Cooling Apparatus. Translated by Wright, A. C. Scott, Greenwood and Co., London.

U.S. Department of Energy (1992). DOE Fundamentals Handbook: Thermodynamics, Heat Transfer, and Fluid Flow. DOE-HDBK-1012/2-92, Vol. 2, Washington, DC.

International Association for the Properties of Water and Steam (2007). Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam. IAPWS R7-97(2012), Lucerne.

Kern, D. Q. (1950). Process Heat Transfer. McGraw-Hill, New York.

Crane Co. (2009). Flow of Fluids through Valves, Fittings, and Pipe. Technical Paper No. 410, Stamford, CT.

Takahasi, H., and Mori, M. (1974). "Double Exponential Formulas for Numerical Integration." Publications of the Research Institute for Mathematical Sciences, Vol. 9, No. 3, pp. 721–741.

Worked Examples

Published examples this tool reproduces; each page lists the inputs to enter and the printed answers.

All worked examples


DISCLAIMER: The methods and calculation on aNOWysis.com are provided as means to educate the reader. There is no warranty, expessed or implied, as to the relevance or accuracy of the methods or calculations. All calculations should be checked by a qualified analyst for appropriateness and accuracy. We will not be held liable for any damages, injuries or deaths caused by using methods or calculations from this site.