Heat TransferAssigning direction to the temperature gradient

In summary, the Finite difference scheme for a 1-dimensional Heat transfer problem with non-uniform cross-sectional area is complicated by the fact that the conditions at point 1 (p1) are not known. However, by deriving the energy balance for points 2 and 3 (pseudo-elements), the equations necessary for a finite difference scheme can be found.
  • #1
Saladsamurai
3,020
7
Hello again folks :smile:

This thread is regarding the Finite difference scheme for a 1-dimensional Heat transfer problem with non-uniform cross-sectional area. As seen in https://www.physicsforums.com/showthread.php?t=397891", when the element has constant cross-sectional area, things cancel nicely. But when this is not the case, some parts get tricky and I hope to have these areas (no pun intended :smile:) addressed.

Shown below is a (super-awesome MS word) drawing of an object subjected to a fixed temperature at point 1 and convection at point 3. Now the dotted lines are simply a construct that we used in class to help deal with the area problem; I will explain how we used it shortly but for now just note that it is there and that I will commonly refer to it as the "pseudo-element" (PE2) that bounds point 2 (pseudo because this is not really an element since this os not FEA it is finite difference).

Picture3-19.png


Now I would like to derive the equations necessary for a finite difference scheme for this problem. Since the conditions at point 1 (p1) are known, I will move to p2 and p3 and write the corresponding energy balance for each point (pseudo-element).

Point 2:

Point 2 is lies at the center of dotted lines that bound the PE. Point 2 also lies at [itex]\Delta x = 0.5 m[/itex] with respect to the entire structure. The cross-sectional areas along the dotted lines a and b are given by Aa and Ab.

Writing the energy balance
There is a conduction term due to the heat flux qa exiting (an assumption) at Aa and a conduction term due to the heat flux qb entering (an assumption) at Ab. There is also an energy storage term [itex]\Delta U = \rho*V_{element}\,dT[/itex].

Picture5-8.png


The sign-convention dictates that heat flux into the element and out of the element are negative.

Here is where I get confused:

The conduction heat flux at Aa is due to the temperature gradient between p1 and p2. My professor wrote that the conduction term at a is given by

[tex]-KA_a\frac{(T_2 - T_1)}{\Delta x}\qquad (1)[/tex]

and the conduction at b:

[tex]KA_b\frac{(T_3 - T_2)}{\Delta x}\qquad (2)[/tex]

I am just not sure how we define the temperature gradient? That is why in the first term is it T2 - T1 instead of T1 - T2 ?

Maybe a silly question, but it seems like if I assumed that the flux at 'a' was entering and at 'b' was exiting then some sort of switch would need to be made.

~Casey
 
Last edited by a moderator:
Engineering news on Phys.org
  • #2
I guess maybe this was a silly question. I guess the gradient is just the gradient no matter what direction you assume that the flux is in. Since the positive x-direction is defined as going to the right, then since we would define the gradient of T in finite terms to be

[tex]\frac{\Delta T}{\Delta x}[/tex]

which by definition is

[tex]\frac{T_{p+1}-Tp}{x_{p+1} - x_p}=\fracfrac{T_{p+1}-Tp}{\Delta x}[/tex]

But there is still something bothering me before I move on; by Fourier's law of conduction, the heat flux is:

[tex]q_x = -K\frac{dT}{dx} \qquad(3)[/tex]

and as my text notes:
The minus sign in (3) implies that, by convention, heat flow is positive in the direction opposite of the temperature increase.

So in this particular problem, we do not know the direction of the flux nor the positive temperature gradient; so we made an assumption that the flux was leaving a.

Now I am trying to use this information along with (3) to determine what the correct sign on (1) should be? It has a negative sign due to the 'exiting' flux, but shouldn't there also be a negative sign from Fourier's law?

Or should I simply say instead that the magnitude of the flux is given by [itex]K\frac{dT}{dx}[/itex] and the sign is given by the assumed flux direction? I fell like the latter makes more sense, but I cannot seem to rationalize it.
 
  • #3
Saladsamurai said:
Now I am trying to use this information along with (3) to determine what the correct sign on (1) should be? It has a negative sign due to the 'exiting' flux, but shouldn't there also be a negative sign from Fourier's law?

This is true, but it also has a negative sign because your arrow is pointing in the opposite direction of the x-direction. So the product of the three negatives is a negative.
 
  • #4
OK! This is getting a little out of control for me :smile: There are 3 signs to keep track of. Do you see any problem with going with this approach:

the magnitude of the flux is given by [itex]K\frac{dT}{dx}[/itex] and the sign is given by the assumed flux direction

Would doing it like this bring about issues? I have a feeling this is what my professor has been doing without saying...but I am not sure.

Thanks for clarifying!
 
Last edited:
  • #5
That would work for [itex]q_a[/itex], but it wouldn't work for [itex]q_b[/itex].
 
  • #6
Saladsamurai said:
OK! This is getting a little out of control for me :smile: There are 3 signs to keep track of. Do you see any problem with going with this approach:

the magnitude of the flux is given by [itex]K\frac{dT}{dx}[/itex] and the sign is given by the assumed flux direction

Would doing it like this bring about issues? I have a feeling this is what my professor has been doing without saying...but I am not sure.

Thanks for clarifying!

OK, I'm a big boy; I can reason this out on my own. Let's spell out exactly what we are doing here:

In general
1)We are assuming that the 'origin' lies somewhere to the LHS of my diagram.

2)We, by convention, denote a heat flux into a surface is positive.

3)By Fourier's Law, heat flow is positive in the direction opposite the positive temperature gradient.

For this particular problem:
4) We have assumed that qa is flowing out of the element; this coincides with the -x axis.

5)By the assumption in (4) we must have also assumed that the temperature gradient is negative in the in the -x direction. Thus we are assuming that T1 < T2 (else heat would not flow).

6)So if we still denote the positive temperature gradient as:

[tex]\frac{dT}{dx} = \frac{T_2 - T_1}{\Delta x}\qquad\text{positive temp-gradient for this problem since we assumed T_2 > T_1}[/tex]

then

[tex]q_a =- K\frac{T_1 - T_2}{\Delta x}= K\frac{T_2 - T_1}{\Delta x}\qquad\text{by Fourier's Law}[/tex]

So this takes care of two of the sign conventions (Fourier's law and the +x-axis is to the right).

Finally, since the flux is OUT we denote:

[tex]q_a=-K\frac{T_2 - T_1}{\Delta x}[/tex]

Do we like this? I know I do, but I could use some backup on this.

:smile:
Casey

The tricky(ier) part is generallizing this so that I can say that
the magnitude of the flux is given by [itex]K\frac{dT}{dx}[/itex] and the sign is given by the assumed flux direction
will always work. I really did not address this here; I only showed that the sign on qa is indeed correct.

EDIT:
Mapes said:
That would work for [itex]q_a[/itex], but it wouldn't work for [itex]q_b[/itex].

Ok then! I am hoping I can reduce my proof above to some quick and dirty rules so that I can quickly assess the correct sign to assign to conduction terms. Perhaps some coffee is in order. :smile:
 
Last edited:
  • #7
Here's how I do it: don't assume positive or negative flux. Just note that a heat flux arrow [itex]q[/itex] pointing toward an element adds energy at a rate [itex]q[/itex] into the element. [itex]q[/itex] can be positive or negative, but by definition it's [itex]-kA(dT/dx)\approx -kA\Delta T/\Delta x[/itex] Then [itex]\Delta T/\Delta x[/itex] can be written as [itex](T_1-T_2)/(x_1-x_2)[/itex] or [itex](T_2-T_1)/(x_2-x_1)[/itex]. So all you have to remember is

1. Arrow pointing in adds [itex]q[/itex].
2. Definition of [itex]q[/itex].
3. Match the subscript order.
 
  • #8
Mapes said:
Here's how I do it: don't assume positive or negative flux. Just note that a heat flux arrow [itex]q[/itex] pointing toward an element adds energy at a rate [itex]q[/itex] into the element. [itex]q[/itex] can be positive or negative, but by definition it's [itex]-kA(dT/dx)\approx -kA\Delta T/\Delta x[/itex] Then [itex]\Delta T/\Delta x[/itex] can be written as [itex](T_1-T_2)/(x_1-x_2)[/itex] or [itex](T_2-T_1)/(x_2-x_1)[/itex]. So all you have to remember is

1. Arrow pointing in adds [itex]q[/itex].
2. Definition of [itex]q[/itex].
3. Match the subscript order.

Excellent! I also just ran into my professor who gave me another method:

1. Assume that x-axis to the right is positive (i.e. number nodes increasing from left to right).
2. Assume that temperature increases along the positive x-axis
3. Assume that all heat fluxes point to the left (no matter what initial conditions are given)
4. This schema will ensure that all fluxes out are negative and all heat fluxes in are positive

I will look at both of these methods and see which I like better! I think for now, my professor's is "easier" (involves little thinking) but yours actually encapsulates the physics better.

~Casey
 
Last edited:

What is heat transfer?

Heat transfer is the movement of thermal energy from one object or system to another. It occurs when there is a difference in temperature between the two objects or systems.

What are the three types of heat transfer?

The three types of heat transfer are conduction, convection, and radiation. Conduction is the transfer of heat through direct contact between objects. Convection is the transfer of heat through the movement of fluids, such as air or water. Radiation is the transfer of heat through electromagnetic waves.

How is direction assigned to the temperature gradient?

The direction of the temperature gradient is assigned based on the change in temperature over distance. The direction is from higher temperature to lower temperature, meaning the temperature decreases in the direction of the gradient.

What factors affect heat transfer?

The rate of heat transfer is affected by several factors, including the temperature difference between the objects, the type of material, the surface area, and the distance between the objects. These factors determine the direction and speed of heat transfer.

How is heat transfer used in everyday life?

Heat transfer is essential for many everyday activities, such as cooking, heating and cooling buildings, and transportation. It is also used in industrial processes, such as power generation and manufacturing. Understanding heat transfer helps us improve energy efficiency and develop new technologies.

Similar threads

Replies
1
Views
504
  • Mechanical Engineering
Replies
10
Views
2K
  • Mechanical Engineering
Replies
34
Views
4K
  • Thermodynamics
Replies
5
Views
1K
Replies
3
Views
2K
Replies
19
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Differential Equations
Replies
1
Views
2K
  • Classical Physics
2
Replies
35
Views
2K
  • Thermodynamics
Replies
9
Views
3K
Back
Top