hm cylinder
Computes the temperature inside a thin homogeneous cylindrical wall.
Controller: CodeCogs
Interface
C++
Excel
Hm Cylinder
| doublehm_cylinder( | double | r | |
| double | d1 | ||
| double | d2 | ||
| double | t1 | ||
| double | t2 | )[inline] |
MISSING IMAGE!
1/hm_cylinder-378.jpg cannot be found in /users/1/hm_cylinder-378.jpg. Please contact the submission author.
Example 1
#include <codecogs/engineering/heat_transfer/conduction/hm_cylinder.h> #include <stdio.h> int main() { // input data double r = 0.28, d1 = 0.5, d2 = 0.6, t1 = 45.7, t2 = 20.8; // display the various input data printf("Input data:\n\n"); printf(" r = %.2lf\n", r); printf("d1 = %.2lf\nd2 = %.2lf\n", d1, d2); printf("t1 = %.2lf\nt2 = %.2lf\n\n", t1, t2); // compute the temperature inside the cylindrical wall double t = Engineering::Heat_Transfer::Conduction::hm_cylinder (r, d1, d2, t1, t2); // display the result printf("The temperature inside the cylindrical wall is:\n\n"); printf("%.10lf\n\n", t); return 0; }
Output:Input data: r = 0.28 d1 = 0.50 d2 = 0.60 t1 = 45.70 t2 = 20.80 The temperature inside the cylindrical wall is: 30.2224870072
Note
- The following inequalities must always hold when passing various values to the function:
References
- Dan Stefanescu, Mircea Marinescu - "Termotehnica"
Parameters
r the given radius (<i>meters</i>) d1 the internal diameter of the cylindrical wall (<i>meters</i>) d2 the external diameter of the cylindrical wall (<i>meters</i>) t1 the temperature of the heat flow at the entry surface (<i>degrees Celsius</i>) t2 the temperature of the heat flow at the exit surface (<i>degrees Celsius</i>)
Returns
- The temperature at radius r within the cylindrical wall (<i>degrees Celsius</i>).
Authors
- Grigore Bentea, Lucian Bentea (October 2006)
Source Code
This module is private, for owner's use only.
Not a member, then Register with CodeCogs. Already a Member, then Login.

