6. Conservation laws
Does the slab lose energy or merely pass it along?
Section titled “Does the slab lose energy or merely pass it along?”A steady slab conducts heat from a hot reservoir to a cold one without changing its own stored energy. That does not mean zero heat flux. It means the total outward power is zero: power entering one face leaves the other.
hot side slab of area A, thickness L cold side jx → ┌─────────────────────────┐ jx → │ stored energy │ └─────────────────────────┘ n = −ex n = +exConceptual control volume. Heat travels to the right at both faces, while the outward normals point in opposite directions. Side faces are insulated.
If and , the left face’s outward power is and the right face’s is . Their sum is zero. If the right-face flux increases to while the left remains unchanged, stored energy must decrease at in the absence of internal generation. This is our sign check before calculus.
Account for what can change
Section titled “Account for what can change”A conservation law is an accounting identity. For an extensive quantity inside a fixed region ,
The three terms are storage, outward flux, and production. This sign convention makes positive a loss from the region. Changing the orientation changes the flux sign, not the physics.
Learning outcomes
Section titled “Learning outcomes”After this chapter, you should be able to:
- identify storage, flux, and source terms in a balance;
- use the divergence theorem to relate integral and local forms;
- distinguish conservation from a constitutive law that supplies a flux; and
- catch a sign error by checking a simple control-volume limit.
From a control volume to a local relation
Section titled “From a control volume to a local relation”For a sufficiently smooth flux, the divergence theorem gives
If the balance holds for every suitable subregion, its local form is
The integral form states the accounting principle directly. The local form is often convenient for authoring field relations. Moving between them requires regularity and a clear orientation; it is not a change of numerical method.
Derive the one-dimensional heat equation
Section titled “Derive the one-dimensional heat equation”Let be internal energy per volume, heat flux, and internal heating per volume. Integrating a short slab from to gives
Divide by and take the smooth limit. With stationary material and constant volumetric heat capacity , where is the appropriate specific heat under this solid approximation, storage becomes . Thus
The units are watts per cubic metre in all three terms. This equation does not yet tell us . If we additionally choose Fourier conduction , it becomes
For constant , steady state, and no source, it reduces to . Two integrations give ; the two prescribed end temperatures then recover the linear profile from the fields chapter. The straight line comes from the whole combination of balance, material law, and boundary data.
For constant positive , steady balance instead gives : more power exits than enters because energy is added inside. With equal fixed temperatures at both ends, heat flows outward on both faces. The heat-transfer path explores these profiles.
Recover the small model by integration
Section titled “Recover the small model by integration”If the bead’s temperature is uniform, integrate its volumetric storage over the whole volume to obtain . Replacing the total outward surface power with recovers the first chapter’s ODE. The lumped equation and spatial balance therefore share the same energy accounting; their difference is the assumed spatial detail.
A moving fluid needs care: a fixed control volume can receive energy or mass by advection as well as conduction. A balance written only for conductive flux must not be reused as the complete transport law for moving material.
Two steady fluid balances
Section titled “Two steady fluid balances”For constant-density incompressible flow, the corresponding mass statement is
. It says there is no net volumetric outflow from a
small fixed volume; it does not determine velocity by itself. Momentum balance
adds the force accounting. In the fluid component, find
incompressibility and momentum:
public component SteadyNewtonianBalance2d( support body: volume(ambient_dimension = 2), variable velocity: vector<m / s, 2> on body, variable pressure: kg / (m * s ^ 2) on body, variable force_potential: kg / (m * s ^ 2) on body, parameter dynamic_viscosity: kg / (m * s)) { relation momentum on body { -div( 2 * dynamic_viscosity * symmetric_part(grad(velocity)) - isotropic_lift(pressure) ) - grad(force_potential) = 0; } relation incompressibility on body { div(velocity) = 0; }}The divergence in momentum acts on stress. Its viscous term supplies a material relation, while pressure enforces the incompressibility constraint. A force potential supplies the body-force density through its gradient. The next chapter separates those material assumptions from conservation itself.
Read the standard fluid components.
Deliberate failure: reverse only one flux sign
Section titled “Deliberate failure: reverse only one flux sign”Imagine a source-free, steady one-dimensional region with more flux leaving the right face than entering the left. Its contents cannot remain steady. A residual that declares this imbalance zero after reversing only the right-face sign has lost the chosen outward-normal convention.
Test the signs on this two-face control volume before manipulating the full field equation. A compiler can verify compatible types and dimensions, but it cannot infer which orientation you intended.
Exercises
Section titled “Exercises”- Set and storage to zero. What must the total outward flux be?
- Derive the local balance from the integral statement using the divergence theorem.
- Integrate
div(velocity) = 0over a region and interpret the boundary integral. - In the momentum excerpt, identify the conserved balance and the constitutive ingredients separately.
- Draw a one-dimensional control volume and label the outward normal at both ends. Use it to check the flux signs.
Exercise guidance
Section titled “Exercise guidance”In exercise 1, zero total outward flux permits a nonzero flux through individual faces. For exercise 5, write the boundary sum as before assigning numerical values. The minus sign at the left face comes from its outward normal, not from reversing the physical heat-flow direction.
Generation check. A slab with volume produces heat uniformly at . Show that steady outward power must be . If symmetry sends equal power through both ends, find each end’s outward flux. This integrated check can expose a sign or source error even when a temperature plot looks smooth.
References
Section titled “References”- Gilbert Strang and Edwin “Jed” Herman, Calculus, volume 3 (OpenStax, 2016), section 6.8, The divergence theorem, for converting an outward surface integral to a volume integral.
Continue with heat transfer for energy balances or fluid mechanics for mass and momentum balances.
Previous: Fields and spatial domains · Back to the series map · Next: Constitutive laws