Find a rod's tip temperature from its heat flow
Calculate the temperature drop along a solid rod carrying a specified steady heat flow. This compact Lemonergy example turns Fourier's one-dimensional conduction relation into four connected blocks, then compares the tip temperature with a published numerical answer.
Use this case to learn temperature units, physical gain coefficients and the difference between a steady calculation and a transient model. The supplied mw-thermal-conduction case, reference version 1, has four prepared blocks and three connections and executes in the Rust/WebAssembly solver.
Open the prepared model
Open prepared examples and choose Iron rod: steady conduction. The complete supplied model loads automatically. Choose Run prepared model to calculate a fresh result with Rust/WebAssembly, then select blocks to inspect their read-only parameters and connections. You can download the original model data for reference.
The public viewer lets you inspect, run and explore this prepared example. To change parameters, connect blocks, import a file or save an edited model, choose Edit with Pro. The Design app opens the selected example in its authenticated Pro editor; the workflow guide explains both experiences.

Define the physical problem
A cylindrical rod has a fixed base temperature of 100 °C and carries 18 W away from the base. With constant conductivity and no side loss in this model:
A = π D² / 4
Rth = L / (k A)
Ttip = Tbase − Q Rth
The geometry, material coefficient and imposed boundaries below are retained inputs from the iron-rod source record, Example 1. Area and resistance are calculated from those inputs. The model treats conductivity as constant; no temperature-dependent material range is established by this example.
| Active quantity | Symbol | Value | Unit | Conditions or basis |
|---|---|---|---|---|
| Diameter | D | 0.025 | m | Source input; uniform circular cross-section |
| Length | L | 0.2 | m | Source input; axial conduction distance |
| Conductivity | k | 80.2 | W/(m·K) | Source input; constant in this model |
| Base temperature | Tbase | 100 | °C | Source input; fixed boundary, entered as 373.15 K |
| Conducted heat | Q | 18 | W | Source input; imposed outward axial heat flow |
| Cross-sectional area | A | Approximately 0.000490873852 | m² | Derived: π D² / 4 |
| Thermal resistance | Rth | Approximately 5.080257535 | K/W | Derived: L/(kA); the gain stores −Rth |
Density 7800 kg/m³, specific heat 447 J/(kg·K) and convection coefficient 32.1 W/(m²·K) are retained in the source case metadata for the related rod examples. They are not active inputs to this steady-conduction graph. To use thermal mass, move to insulated heating; to use surface loss, see cylindrical convection.
The temperature source and output use kelvin inside the solver. The negative resistance gain produces a temperature difference in kelvin; adding it to the absolute base temperature gives the tip temperature. The result comparison subtracts 273.15 to display °C.
Inspect the complete block inventory
Select a block in the prepared diagram to inspect its read-only parameters and connections. The model contains two Constant blocks, one Gain and one Sum.
| Block ID · type | Parameter values | Connection and meaning |
|---|---|---|
base-temperature · Constant | Value 373.15 K; temperature output | Feeds the first tip-temperature input |
imposed-heat · Constant | Value 18 W; heat output | Feeds the thermal-resistance gain |
temperature-drop · Gain | Gain −5.080257535102893 K/W; heat input, temperature output | Multiplies imposed heat by −Rth |
tip-temperature · Sum | 2 inputs; temperature output | Adds base temperature and negative temperature drop |

There are no missing Integrator or Thermal balance blocks: this case has no stored thermal state. Its three connections implement an algebraic relation directly. Adding a thermal mass would define a different problem rather than complete this one.
Run the steady comparison
- Confirm Iron rod: steady conduction is both selected and loaded, with four blocks and three connections.
- Inspect the source values 373.15 K and 18 W, and the negative sign on
temperature-drop. - Keep the supplied 0–1 s observation window. The retained solver configuration is Dormand–Prince 4(5), initial step 0.01 s, minimum 1e−10 s, maximum 5 s, relative tolerance 1e−11, absolute tolerance 1e−12 and maximum 100,000 steps.
- Choose Run prepared model. Confirm Passed and trace completeness passed.
- Choose Tip temperature in Scope signal. Both endpoint values should match; inspect the native-minus-reference error as well as the overlay.
- Choose Download run evidence to retain the fresh model/result comparison and Download results CSV for the sampled signals. The original model data is available under Model, method and references.
Algebraic tolerance/iteration limit is 1e−10/30; implicit tolerance/iteration limit is 1e−10/20. The 0–1 s window is an observation interval for a constant result, not a prediction of the time required to reach steady state.
After the run, move Display time to inspect numerical Display outputs at retained solver times. Choose a signal’s Scope button, or use Scope signal, to view its full trajectory and reference-error plot. Scrubbing changes the inspected time, not the prepared model or its result.
Expected calculation and interpretation

| Calculated quantity | Value |
|---|---|
| Axial temperature drop Q Rth | Approximately 91.444635632 K |
| Tip temperature, internal | Approximately 281.705364368 K |
| Tip temperature, displayed | Approximately 8.555364368 °C |
| Printed reference | 8.5554 °C |
| Fixed maximum absolute error gate | 0.00005 °C |
The retained reference report, generated 1 October 2026 at 19:06:01 UTC, passed with two output points. Maximum error was 3.563185e−5 °C. This small nonzero error is expected because the comparison target is rounded to four decimal places. The gate is half its last printed decimal; it is not a physical measurement uncertainty. The historical report is separate from the current application capture.
The low tip temperature follows from imposing both the heat flow and base temperature. This graph does not impose a 20 °C ambient boundary at the tip. Adding that condition independently would require checking whether the specified 18 W remained consistent with the new problem.
Try a controlled edit (Pro)
Choose Edit with Pro to open this example in the authenticated Design editor. The following changes require Pro editing. Use Run blocks & compare there to solve the edited graph; the public prepared model stays unchanged.
Select Conducted heat · W and change its constant from 18 to 9 W. The temperature drop halves to approximately 45.722317816 K, so the new tip temperature is approximately 54.277682184 °C. Run again: the original 8.5554 °C reference should fail because it remains fixed to the 18 W case.
Save the edited case under a new name, then reload and rerun the reference model to restore the original example. If changing diameter or length, recompute the resistance gain as well; these physical dimensions are documented inputs compiled into the gain, not separate live parameter blocks.
Troubleshoot units and signs
| Symptom | Likely check |
|---|---|
| Tip temperature exceeds the base | The temperature-drop gain should be negative for positive outward heat |
| Result is offset by 273.15 | Enter the base as 373.15 K, not 100 in a kelvin source |
| Small error near 0.0000356 °C | Expected rounding difference from the four-decimal reference |
| No rising temperature curve | Correct: this graph has no thermal storage and is steady |
| Edited geometry seems ineffective | Update the gain L/(kA); metadata alone does not alter the graph |
See read validation results before interpreting a failed gate as a solver defect.
Scope, source and related examples
The case assumes constant conductivity, fixed cross-section and one-dimensional axial conduction without side losses. It calculates a scalar tip temperature; it does not resolve a spatial field, fin or transient heating experiment. Passing verifies the implemented relation for these inputs, not measured physical accuracy.
The rod inputs and printed answer are attributed to MathWorks, Heat Conduction Through Iron Rod. The external application was not executed for the retained report.
Continue with cylindrical convection to calculate a surface heat loss, insulated heating to add storage, and the lumped transient to combine conduction, storage and ambient loss. The example index links all models and reports.