#include <codecogs/engineering/heat_transfer/conduction/hm_plane.h>
using namespace Engineering::Heat_Transfer::Conduction;
| double | hm_plane (double x, double delta, double t1, double t2)[inline] Computes the temperature at a given distance within a thin planar homogeneous wall. | |
| Real | cc_hm_plane (Real x, Real delta, Real t1, Real t2) This function is available as a Microsoft Excel add-in. |
| doublehm_plane( | double | x | |
| double | delta | ||
| double | t1 | ||
| double | t2 | )[inline] |

#include <codecogs/engineering/heat_transfer/conduction/hm_plane.h> #include <stdio.h> int main() { // the distance within the wall double x = 0.165; // the the thickness of the wall double delta = 0.213; // the temperature of the entry surface for the heat flux double t1 = 32.257; // the temperature of the exit surface for the heat flux double t2 = 22.421; // display the various input values printf(" t1 = %.3lf\n t2 = %.3lf\ndelta = %.3lf\n", t1, t2, delta); printf(" x = %.3lf\n\n", x); printf("The temperature at distance %.3lf within the wall is %.5lf\n", x, Engineering::Heat_Transfer::Conduction::hm_plane(x, delta, t1, t2)); return 0; }Output
t1 = 32.257 t2 = 22.421 delta = 0.213 x = 0.165 The temperature at distance 0.165 within the wall is 24.63756
| x | the distance within the planar wall (meters) |
| delta | the thickness of the planar wall (meters) |
| t1 | the temperature of the heat flow at the entry surface (degrees Celsius) |
| t2 | the temperature of the heat flow at the exit surface (degrees Celsius) |