ME 651 Advanced Heat Conduction
M.M. Yovanovich
TEMPGRADS.MWS
Temperature gradients in cartesian, cylinder and spherical coordinates.
The three components of the heat flux vector in cartesian, cylindrical and spherical coordinates.
> restart:
Cartesian coordinates: .
> alias(T = T(x,y,z, t)):
> q[x]:= - k*diff(T,x); q[y]:= - k*diff(T,y); q[z]:= - k*diff(T,z);
Circular cylinder coordinates: .
> alias(T = T(r,theta,z,t)):
> q[r]:= -k*diff(T,r); q[theta]:= -k*diff(T,theta)/r; q[z]:= -k*diff(T,z);
Spherical coordinates: .
>
alias(T = T(r,theta,psi,t)):
q[r]:= -k*diff(T,r); q[theta]:= -k*diff(T,theta)/r; q[psi]:= -k*diff(T,psi)/(r*sin(theta));
>