How to use this calculator
Evolve an entered temperature profile on a one-dimensional grid while enforcing the explicit diffusion stability limit.
- Enter Initial node temperatures, Diffusivity (m²/s), Grid spacing (m), Time step (s), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Explicit one dimensional heat grid evolution explained
The explicit finite-difference step holds both endpoint temperatures fixed and updates interior nodes with r = αΔt/Δx². For this source-free diffusion scheme, the standard stability condition is r ≤ 0.5; the entered profile is advanced once per time step.
Inputs, symbols, and units
u— Initial node temperatures- Equally spaced nodes; the first and last stay fixed. Use comma-separated values in the stated order.
alpha— Diffusivity (m²/s)- Constant thermal or scalar diffusivity.
dx— Grid spacing (m)- Distance between adjacent nodes.
dt— Time step (s)- Forward time increment.
steps— Time steps- Number of explicit updates. Enter a whole number.
Formula and method
uᵢⁿ⁺¹=uᵢⁿ+r(uᵢ₋₁ⁿ−2uᵢⁿ+uᵢ₊₁ⁿ), r=αΔt/Δx²≤1/2.
Boundary nodes remain at their initial values. Interior nodes update simultaneously; this discretizes constant-coefficient diffusion without internal sources.
A worked scenario
Initial node temperatures = [0, 0, 100, 0, 0]; Diffusivity (m²/s) = 0.01; Grid spacing (m) = 0.1; Time step (s) = 0.2; Time steps = 5.
- Middle node value: 26.976 input temperature units
- Minimum node value: 0 input temperature units
- Maximum node value: 26.976 input temperature units
- Final node temperature profile: 0.00000000000, 18.8480000000, 26.9760000000, 18.8480000000, 0.00000000000 left to right
A 100-degree central spike on a five-node grid spreads over five stable steps with r=0.2.
Assumptions and edge cases
Uniform grid, fixed end values and constant diffusivity only. Grid stability does not guarantee that the mesh resolves sharp features.
Reading the outputs
Middle, minimum and maximum node values are reported after all steps in the entered temperature unit. The complete solved vector or profile is also listed in the original component order, so no coordinate is hidden.
Frequently asked questions
Can Celsius be entered?
Yes, because this source-free linear equation depends on temperature differences.
Why reject a large time step?
The explicit diffusion scheme becomes unstable above r=0.5.
Does the central node always stay hottest?
No. It depends on the complete entered profile and boundary values.
How do I use the Explicit one dimensional heat grid evolution calculator?
Enter Initial node temperatures, Diffusivity (m²/s), Grid spacing (m), Time step (s), then complete the remaining labeled fields. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Explicit one dimensional heat grid evolution?
Initial node temperatures = [0, 0, 100, 0, 0]; Diffusivity (m²/s) = 0.01; Grid spacing (m) = 0.1; Time step (s) = 0.2; Time steps = 5. Middle node value: 26.976 input temperature units Minimum node value: 0 input temperature units Maximum node value: 26.976 input temperature units Final node temperature profile: 0.00000000000, 18.8480000000, 26.9760000000, 18.8480000000, 0.00000000000 left to right A 100-degree central spike on a five-node grid spreads over five stable steps with r=0.2.
Background or definition reference: MIT numerical PDE lecture notes.
Read our calculation methodology.