Skip to main content
The new Teacher Workspace is here. Your first 3 assignments are free. Try it →

Source terms

Source terms are the internal heat or mass generation terms in a heat or mass transfer equation. In Heat and Mass Transfer, they represent sources or sinks inside the system, not just flow across the boundary.

Last updated July 2026

What are source terms?

Source terms are the parts of a Heat and Mass Transfer equation that add or remove heat or mass inside the domain itself. Instead of describing only what crosses a surface, they model what is being created, absorbed, produced, or consumed within the material.

In a heat equation, a source term might represent electrical heating, chemical reaction heat, radioactive decay, or internal heat generation in a solid. In a mass transfer model, it might represent species being produced by a reaction or disappearing because of consumption. That is why source terms show up in differential equations as extra terms on the right-hand side, separate from conduction, diffusion, or convection terms.

A good way to picture it is this: without a source term, the temperature or concentration field changes only because energy or mass moves around. With a source term, the field can change even if nothing enters from outside. A heated rod with uniform internal generation is a classic example. The rod gets warmer in the middle because energy is being created throughout the material, not just supplied at the surface.

Source terms matter a lot in inverse heat and mass transfer problems. In those problems, you often measure temperature, concentration, or heat flux and then work backward to estimate the unknown source strength or its spatial distribution. That is harder than a forward problem because small measurement errors can produce big changes in the estimated source term.

Mathematically, source terms are often written as functions of position, time, temperature, or concentration. They may be constant, piecewise defined, or fully unknown and estimated from data. In a finite difference or finite element model, the source term gets built into the node or element equations, so the solver can predict how the whole field responds to internal generation or absorption.

Why source terms matter in Heat and Mass Transfer

Source terms are what let Heat and Mass Transfer models match real engineering systems instead of idealized ones. Lots of practical problems are not just about heat moving through a solid or species diffusing through a fluid. They also involve batteries generating heat, reactors producing or consuming chemicals, electronics warming up internally, or porous materials absorbing mass.

If you leave out a source term when one exists, your model can look neat on paper and still miss the real temperature or concentration profile. That leads to bad design choices, like underestimating a hot spot in a device or misreading how fast a reactant disappears in a process.

Source terms are also the bridge between direct simulation and inverse analysis. In a forward problem, you start with a known source term and predict temperature or concentration. In an inverse problem, you use measurements to estimate the source term itself. That is a common setup in thermal imaging, parameter estimation, and process diagnostics.

This term also shows up when you compare experiments to models. If the measured field does not match the model, one question is whether the missing piece is a boundary condition, a material property, or an internal source. Knowing how source terms work helps you choose the right explanation instead of forcing the wrong one into the equation.

Keep studying Heat and Mass Transfer Unit 12

Official unit cheatsheet

open one-pager

How source terms connect across the course

Inverse Problem

Source terms are often the unknowns you try to recover in an inverse problem. Instead of predicting temperature from a known input, you use measured data to work backward and estimate the internal generation or absorption pattern. That makes the problem more sensitive to noise, so the inversion method matters a lot.

Heat Generation Rate

Heat generation rate is a common physical meaning of a source term in thermal models. If a material produces heat internally, that generation rate becomes part of the governing equation. The source term can be uniform, time-dependent, or vary across the object, depending on the process.

Boundary Conditions

Boundary conditions describe what happens at the edges of the system, while source terms describe what happens inside it. A problem can have a known surface temperature or heat flux and still need a source term to capture internal heating. Confusing the two is a common setup mistake.

Thermal Imaging

Thermal imaging is one way to collect the data used to estimate a source term. You measure surface temperature patterns or transient temperature changes, then infer where internal heat is being generated. The image does not directly give the source, but it gives the clues needed to reconstruct it.

Are source terms on the Heat and Mass Transfer exam?

A problem set question might give you a heat equation and ask you to identify the source term, write the governing equation, or explain what physical process the term represents. In an inverse problem, you may be given temperature measurements and asked which source distribution best matches them. The main move is to separate internal generation or consumption from boundary effects, then check whether the source is uniform, time-varying, or unknown. If a numerical method is involved, you may plug the source term into a finite difference or finite element model and compare predicted values to measured data. In short, you use this term by reading the equation, locating the internal forcing term, and connecting it to the physical process inside the material.

Source terms vs Boundary Conditions

Source terms and boundary conditions are easy to mix up because both affect the temperature or concentration field. The difference is location: source terms act inside the domain, while boundary conditions act at the edges. If heat is being generated throughout a solid, that is a source term. If heat is being applied at the surface, that is a boundary condition.

Key things to remember about source terms

  • Source terms represent internal generation or absorption of heat or mass inside a system, not transfer across its boundary.

  • In heat transfer, a source term can model electrical heating, chemical reaction heat, or any other internal energy input.

  • In mass transfer, a source term can model species production or consumption inside the material.

  • Inverse problems often try to estimate source terms from measured temperature or concentration data.

  • The biggest mistake is confusing an internal source with a boundary condition at the surface.

Frequently asked questions about source terms

What is source terms in Heat and Mass Transfer?

Source terms are the internal terms in a governing equation that create or remove heat or mass inside the system. They are different from boundary conditions because they act throughout the domain, not just at the surface. In a thermal model, this could be internal heat generation; in a mass transfer model, it could be a chemical reaction source.

Are source terms the same as boundary conditions?

No. Boundary conditions describe what is happening at the edges of the region, like a fixed temperature or a specified heat flux. Source terms describe what is happening inside the region itself, like internal heating or species production. If you mix them up, your model setup will usually give the wrong temperature or concentration profile.

Can you give an example of a source term?

A heated solid rod with uniform internal electrical heating is a classic example. The rod is not just warming up from its surface, it is generating heat everywhere inside. In mass transfer, a reacting fluid that produces a solute inside the domain is another clear example.

How do source terms show up in inverse heat transfer problems?

You measure temperature or concentration data and work backward to estimate the unknown internal generation. That could mean finding the strength, location, or time variation of a heat source. These problems can be unstable, so small measurement errors can change the estimated source a lot.

Source Terms in Heat and Mass Transfer | Fiveable