engineeringheat_transferconduction

hm sphere

Only available under a commercial licence
COST (GBP)
this unit 1.28
sub units 0.00
add a commercial licence to your cart
0
viewed 765 times
www.codecogs.com/d-ox/engineering/heat_transfer/conduction/hm_sphere.php
Controller: CodeCogs    Contact Controller

Interface

#include <codecogs/engineering/heat_transfer/conduction/hm_sphere.h>

using namespace Engineering::Heat_Transfer::Conduction;

double hm_sphere (double r, double d1, double d2, double t1, double t2)[inline]
Computes the temperature inside a thin homogeneous spherical wall.
Click for details on using CodeCogs in ExcelReal cc_hm_sphere (Real r, Real d1, Real d2, Real t1, Real t2)
This function is available as a Microsoft Excel add-in.

Function Documentation

Add calculator to your site or email
 
doublehm_spheredoubler
doubled1
doubled2
doublet1
doublet2 )[inline]
Consider the case of a thin homogeneous spherical wall with internal radius r_1, external radius r_2, and temperatures t_1, t_2 corresponding to each surface. Also let the thermal conductivity \lambda be constant at any point inside the wall.

The total conductive heat flow that passes through the surface S = 4 \pi r^2 (r_1 < r < r_2) is expressed by the following equation:

(1)
\displaystyle Q = - \lambda S \frac{\mathrm{d}t}{\mathrm{d}r}

which in turn gives:

(2)
\displaystyle \mathrm{d}t = - \frac{Q}{\lambda S} \mathrm{d}r.

By integrating the previous equation and considering appropriate limit conditions, it follows that the temperature inside the spherical wall at a radius of r is:

(3)
\displaystyle t(r) = t_1 - (t_1 - t_2) \frac{d_2}{2r} \frac{2r - d_1}{d_2 - d_1}.

In the diagram below the value of the function t(r) is shown for a particular value of r.

1/hm_sphere-378.jpg
Example:
#include <codecogs/engineering/heat_transfer/conduction/hm_sphere.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 spherical wall
  double t = Engineering::Heat_Transfer::Conduction::hm_sphere
  (r, d1, d2, t1, t2);
 
  // display the result
  printf("The temperature inside the spherical 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 spherical wall is:
 
29.6928571429
Parameters:
rthe given radius (meters)
d1the internal diameter of the spherical wall (meters)
d2the external diameter of the spherical wall (meters)
t1the temperature of the heat flow at the entry surface (degrees Celsius)
t2the temperature of the heat flow at the exit surface (degrees Celsius)
Returns:
The temperature at radius r within the spherical wall (degrees Celsius).
Note:
The following inequalities must always hold when passing values to the function:
(4)
\displaystyle d_2 > d_1 > 0, \qquad
t_1 > t_2, \qquad
d_1 \leq 2r \leq d_2.
References:
Dan Stefanescu, Mircea Marinescu - "Termotehnica"
Authors:
Grigore Bentea, Lucian Bentea (October 2006)
Source Code:
Register

- To get code register with CodeCogs. Already a Member, then Login.


Last Modified: 18 Oct 07 @ 17:07     Page Rendered: 2008-05-08 11:35:00

Page Comments

  You must login to leave a messge


Valid CSS!   Valid XHTML 1.0 Transitional