engine: name the temperature unit from the model's unit system

The results legend, probe rows and replies said "°C or K" for a
temperature. The unit system says which scale goes with it, so name it:
°C for the metric systems, °F for in-lbf-s-psi. Values are still shown
as entered; nothing is converted. An unspecified system still names no
unit.

Part of #157.
This commit is contained in:
Christian Svensson committed 2026-10-18 12:40:36 +02:00
1 parent 6b87dc508d
commit 9e19ba9bcd
3 files changed
+11 -5

No files matched your search

+2 -1
View File
@@ -146,7 +146,8 @@ A solved fluid step with temperature in every saved frame offers `temperature` i
Results field list and through `results.contour`, `results.slice`, `results.surface` and
`results.streamlines` (`{"field":"temperature"}`). Slices and obstacle surfaces sample
fluid-cell temperature; streamline colours sample temperature along the velocity traces.
The legend and existing `solve.probe` use the model's temperature scale, without conversion.
The legend and `solve.probe` name the temperature unit that goes with the model's unit system
(°C for the metric systems, °F for in-lbf-s-psi); values are shown as entered, never converted.
An isothermal step hides the field and rejects an explicit request with an explanation.
The frame slider and `results.frame` select the field's time, including the initial frame.