8.00: Physical Problems for Ordinary Differential Equations
( \newcommand{\kernel}{\mathrm{null}\,}\)
Lesson 1: General Engineering
Summary
To find the temperature of a heated ball as a function of time, a first-order ordinary differential equation must be solved.
.png?revision=1&size=bestfit&width=899&height=514)
Modeling
You are working for a ball bearing company - Ralph’s Bearings. For a long lasting life of some spherical bearings made in this company, after heating them to a high temperature of 1000 K, they need to be quenched for 30 seconds in water that is maintained at a room temperature of 300 K. However, it takes time to take the ball from the furnace to the quenching bath, and its temperature falls. The temperature of the furnace is 1200 K, and it takes 10 seconds to take the ball to the quenching bath. Does the ball need to be in the air for less or more than 10 seconds to get to a temperature of 1000 K?
Mathematical model
To keep the mathematical simple, one can assume the spherical bearing to be a lumped mass system. What does a lumped system mean? It implies that the internal conduction in the sphere is large enough that the temperature throughout the ball is uniform. This assumption allows us to assume that the temperature is only a function of time and not of the location in the spherical ball. This dependence of temperature only on time for a lumped system means that if a differential equation governs this physical problem, it would be an ordinary differential equation. For a nonlumped system, a partial differential equation would govern. In your heat transfer course, you will learn when a system can be considered lumped or nonlumped. In simplistic terms, this distinction is based on the material, geometry, and heat exchange factors of the ball with its surroundings.
Now assuming a lumped-mass system, let us develop the mathematical model for the above problem. When the ball is taken out of the furnace at the initial temperature of θ0 and is cooled by radiation to its surroundings at the temperature of θa, the rate at which heat is lost to radiation is
Rate of heat lost due to radiation=Aϵσ(θ4−θa4)(8.0.1.1)
where
A=surface area of the ball, m2
ϵ=emittance
σ=Stefan-Boltzmann constant, 5.67×10−8 Js⋅m2⋅K4
θ=temperature of the ball at a given time, K
In the above equation for radiation heat loss, emittance ϵ is defined as the total radiation emitted divided by total radiation that would be emitted by a blackbody at the same temperature. The emittance is always between 0 and 1. A black body is a body that emits and absorbs at any temperature the maximum possible amount of radiation at any given wavelength.
The Stefan-Botzmann constant, σ was discovered by two Austrian scientists – J. Stefan and L. Boltzmann. Stefan found it experimentally in 1879, and Boltzmann derived it theoretically in 1884.
The energy stored in the mass is given by
Energy stored by mass=mCθ(8.0.1.2)
where
m=mass of the ball, kg
C=specific heat of the ball, J/(kg⋅K)
From an energy balance,
Rate at which heat is gained−Rate at which heat is lost=Rate at which heat is stored
gives
−Aϵσ(θ4−θa4)=mCdθdt(8.0.1.3)
Given that
Radius of the ball, r=2.0 cm
Density of the ball, ρ=7800 kg/m3
Specific heat, C=420 J/(kg⋅K)
Emittance, ϵ=0.85
Stefan-Boltzmann Constant, σ=5.67×10−8 Js⋅m2⋅K4
Initial temperature of the ball, θ(0)=1200 K,
Ambient temperature, θa=300 K,
we have
Surface area of the ball: A=4πr2=4π(0.02)2=5.02654×10−3 m2
Mass of the ball: M=pV=ρ[43πr3]=7800×(43)π(0.02)3=0.261380 kg
Hence
−Aϵσ(θ4−θa4)=mCdθdt(8.0.1.3 - repeated)
reduces to
−(5.02654×10−3)(0.85)(5.67×10−8)(θ4−3004)=(0.261380)(420)dθdt
dθdt=−2.20673×10−12 (θ4−81×108)(8.0.1.4)
An improved mathematical model
The heat from the ball can also be lost due to convection. The rate of heat lost due to convection is
Rate of heat lost due to convection=hA(θ−θa),(8.0.1.5)
where
h=the convective cooling coefficient, [W/(m2⋅K)].
Hence the heat is lost is due to convection as well as radiation and is given by
Rate of heat lost due to convection and radiation=Aϵσ(θ4−θ4a)+hA(θ−θa)
Energy stored by mass=mCθ(8.0.1.6)
From an energy balance,
Rate at which heat is gained−Rate at which heat is lost=Rate at which heat is stored
gives
−Aϵσ(θ4−θa4)−hA(θ−θa)=mCdθdt(8.0.1.7)
Given h=350 Js⋅m2⋅K and considering both convection and radiation, and substituting the values of the constants given before, we have
−(5.02654×10−3)(0.85)(5.67×10−8)(θ4−3004)
−(350)(5.02654×10−3)(θ−300)=(0.261380)(420)dθdt
dθdt=−2.20673×10−13(θ4−81×108)−1.60256×10−2(θ−300)(8.0.1.8)
The solution to the above ordinary differential equation with the initial condition of θ(0)=1200 K would give us the temperature of the ball as a function of time. We can then find the time at which the ball temperature drops to 1000 K.
Questions
(1) Note that the ordinary differential equation given by Equation (8.0.1.8) is non-linear. Is there is an exact solution to the problem?
(2) You are asked to solve the inverse problem, that is, when the dependent variable temperature will be equal to 1000 K. How would you solve the inverse problem using different numerical methods such as Euler’s and Runge-Kutta’s methods?
(3) Can you find if convection or radiation can be neglected? How would you quantify the effect of neglecting one or the other?
(4) Find the following at t=5 s
- Rate of change of temperature,
- Rate at which heat is lost due to convection,
- Rate at which heat is lost due to radiation,
- Rate at which heat is stored in the ball.
Lesson 2: Mechanical Engineering
Summary
A physical problem of finding how much time it would take a trunnion to cool down in a refrigerated chamber is presented. To estimate this time, the problem would be modeled as an ordinary differential equation.
Modeling
To make the fulcrum (Figure 8.0.2.1) of a bascule bridge, a long hollow steel shaft called the trunnion is shrunk-fit into a steel hub. The resulting steel trunnion-hub assembly is then shrunk-fit into the girder of the bridge.

This assembly is done by first immersing the trunnion in a cold medium such as liquid nitrogen. After the trunnion reaches the steady-state temperature, that is, the temperature of the cold medium, the trunnion outer diameter contracts. The trunnion is taken out of the medium and slid though the hole of the hub (Figure 8.0.2.1).
When the trunnion heats up, it expands and creates an interference fit with the hub. Because of the large thermal shock that the trunnion undergoes, it is suggested that the trunnion be cooled in stages. First, put the trunnion in a refrigerated chamber, then dip it in a dry-ice/alcohol mixture and then immerse it in a bath of liquid nitrogen. However, this approach will take more time. One is mainly concerned about the cooling time in the refrigerated chamber. Assuming that the room temperature is 27∘C and the refrigerated chamber is set is −33∘C, how much time would it take for the trunnion to cool down to −33∘C?
Let us do a simplified problem of a solid trunnion and assume the trunnion can be treated as a lumped-mass system. What does a lumped system mean?
Let us develop the mathematical model for the above problem. When the trunnion is placed in the refrigerated chamber, the trunnion loses heat to its surroundings by convection.

Rate of heat lost due to convection=h(θ)A(θ−θa).(8.0.2.1)
where
h(θ)=the convective cooling coefficient, W/m2⋅K and is a function of temperature
A=surface area
θa=ambient temperature of the refrigerated chamber
The energy stored in the mass is given by
Energy stored by mass=mCθ(8.0.2.2)
where
m=mass of the trunnion, kg
C=specific heat of the trunnion, J/(kg⋅K)
From an energy balance,
Rate at which heat is gained−Rate at which heat is lost=Rate at which heat is stored
gives
−h(θ)A(θ−θa)=mCdθdt(8.0.2.3)
Note that the convective cooling coefficient is a function of temperature. Other material parameters such as density (affecting mass), specific heat, and thermal conductivity (affecting whether the system can be considered lumped or not) of the trunnion material are functions of temperature as well, but within our temperature range of 27∘C to −33∘C these vary by only 10% from the room temperature values. So we assume these parameters to be constant.
Let us now determine the constants needed for the above ordinary differential equation.
Convection coefficient of air
The convection coefficient of air, h(θ) is not a constant function of temperature and is given by
h=Nu×kD(8.0.2.4)
where
Nu is the Nusselt number,
k is the thermal conductivity of air,
D is the characteristic diameter and is taken as the outer diameter of the trunnion.
The Nusselt number for a vertical cylinder is given by the empirical formula[1]:
Nu=(0.825+0.387Ra16(1+(0.492Pr)916)827)2(8.0.2.5)
where
Pr is the Prandtl number given by:
Pr=vkα(8.0.2.6)
νk is the kinematic viscosity of the fluid,
α is the thermal diffusivity,
Ra is the Rayleigh number given by:
Ra=Gr×Pr(8.0.2.7)
Gr is the Grashoff number given by:
Gr=gβ(Twall−Tfluid)D3νk2(8.0.2.8)
where
g is the gravitational constant,
β is the coefficient of volumetric thermal expansion,
Twall is the temperature of the wall,
Tfluid is the temperature of the fluid.
To calculate the convection coefficient, we use the following values for kinematics viscosity ν, thermal conductivity k, thermal diffusivity α, and volumetric coefficient β of air as a function of temperature, θ. [Ref. 1]
Tlookup | ν | k | α | β |
---|---|---|---|---|
∘C | m2/s | W/(m⋅K) | m2/s | 1/K |
−173.15 | 2.00×10−6 | 9.34×10−3 | 2.54×10−6 | 1.00×10−2 |
−123.15 | 4.43×10−6 | 1.38×10−2 | 5.84×10−6 | 6.67×10−3 |
−73.15 | 7.59×10−6 | 1.81×10−2 | 1.03×10−5 | 5.00×10−3 |
−23.15 | 1.14×10−5 | 2.23×10−2 | 1.59×10−5 | 4.00×10−3 |
26.85 | 1.59×10−5 | 2.63×10−2 | 2.25×10−5 | 3.33×10−3 |
Other constants needed for this calculation are:
D=0.25 m
g=9.8 m/s2
Tfluid=−33∘C
Twall | Taverage=12(Tfluid+Twall) | h |
---|---|---|
∘C | ∘C | \(\text{W{/(m^2.K)\) |
−33 | −16.50 | 5.846×10−2 |
−18 | −9.00 | 4.527 |
−8 | −4.00 | 5.214 |
2 | 1.00 | 5.702 |
27 | 13.50 | 6.553 |
The values in Table 8.0.2.2 are interpolated from Table 8.0.2.1 where temperatures are chosen as the average value for the wall and ambient temperature. The above data is interpolated as:
h(θ)=−3.69×10−6θ4+2.33×10−5θ3+1.35×10−3θ2+5.42×10−2θ+5.59(8.0.2.9)
Outer radius of trunnion, a=0.125 m
Length of trunnion, L=1.36 m
Surface area, A=(2πa)L+2πa2=2π(.125)(1.36)+2π(0.125)2=1.166 m2
Length of the trunnion, L=1.36 m
Density of trunnion material, ρ=7800kg/m3
Mass, m=ρV=ρ(πr2L)=7800π(0.125)21.36=520.72 kg
Other constants:
Specific heat, C=420 J/(kg⋅K),
Initial temperature of the trunnion, T(0)=27∘C,
Ambient temperature, Ta=−33∘C
The first-order ordinary differential equation
−h(θ)A(θ−θa)=mCdθdt
reduces to
−(−3.69×10−6θ4+2.33×10−5θ3+1.35×10−3θ2+5.42×10−2θ+5.588)×(1.166)×(θ+33)=(520.72)×(420)×dθdt
dθdt=−5.331×10−6(−3.69×10−6θ4+2.33×10−5θ3+1.35×10−3θ2+5.42×10−2θ+5.588)(θ+33)(8.0.2.10)
θ(0)=27∘C
Is the assumption of the trunnion considered as a lumped system correct?
To determine whether a system is lumped, we calculate the Biot number Bi, which is defined as
Bi=hLks(8.0.2.11)
where
h=average surface conductance,
L=significant length dimension (volume of body/surface area),
ks=thermal conductivity of solid body.
If Bi<0.1, the temperature in the body is uniform within 5% error.
In our case:
h=4.407 Wm2⋅K
L=1.36 m
ks=81 Wm⋅K[Ref. 2]
Bi=4.407×1.3681=0.074<0.1
The Biot number is less than 0.1, and one can hence assume the trunnion to be a lumped mass system.
References
[1] F. B. Incropera, D. P. Dewitt, Introduction to Heat Transfer, 3rd Ed, John Wiley & Sons, Inc., New York, NY, 2000, Chap. 9.
[2] F. Kreith, M. S. Bohn, Principle of Heat Transfer, 4th Ed, Harper & Row, Publishers, New York, NY, 1993, Appendix 2.