Solving the heat equation using FFCT (Finite Fourier Cosine Trans)

Click For Summary

Discussion Overview

The discussion revolves around solving the heat equation using the Finite Fourier Cosine Transform (FFCT). Participants are addressing a specific homework problem involving a metal bar with varying boundary conditions and are exploring the application of FFCT to derive the temperature distribution over time.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • Post 1 presents the heat equation and the boundary conditions for a metal bar, noting initial mistakes in the transformation attempt.
  • Post 2 elaborates on the FFCT assumptions, providing the form of the temperature function and the equations for coefficients a_n, suggesting that the boundary conditions may not yield sufficient information.
  • Post 3 reiterates the FFCT assumptions and equations, questioning the availability of boundary condition information necessary for solving the problem.
  • Post 4 shares an image of a solution using the Laplace transform, indicating a need to solve the problem specifically with FFCT, while apologizing for the image attachment.

Areas of Agreement / Disagreement

Participants express uncertainty regarding the boundary conditions and their implications for applying the FFCT. There is no consensus on how to proceed with the solution, as some participants seek clarification on the boundary conditions while others focus on the mathematical framework of FFCT.

Contextual Notes

Participants note the potential limitations of the boundary conditions provided in the problem, which may affect the application of FFCT. There are unresolved aspects regarding the necessary information for the derivatives at the boundaries.

Aows

Homework Statement


Solve the following heat Eq. using FFCT:
A metal bar of length L is at constant temperature of Uo, at t=0 the end x=L is suddenly given the constant temperature U1, and the end x=0 is insulated. Assuming that the surface of the bar is insulated, find the temperature at any point x of the bar at any time t>0, assume thermal diffusivity coefficient (k) =1

Homework Equations


heat equation: dˆ2U/dxˆ2=(1/k) dU/dt

FFCT equation of derivative:
F (dˆ2U/dxˆ2)= -( n*pi/b)ˆ2 *F(n,t)+(-1)ˆn * (ux(b,t)-ux(0,t)

The Attempt at a Solution


my attempt has many mistake at the start of transforming.
 
Physics news on Phys.org
@Aows,
The FFCT assumes that
##C(x,t) = \sum_{n = 0}^{N} a_n \cos \frac{n\pi x}{L}##
Where
##a_0 (t)= \frac{1}{L} \int_0^L f(x,t) dx \\ a_n(t) = \frac{2}{L} \int_0^L \cos \frac{n \pi x}{L} f(x,t) dx.##

Apply the transform to the PDE, as you have done:
##\frac{\partial^2 f}{\partial x^2} = \frac{\partial f}{\partial t} \\
\frac{\partial^2 }{\partial x^2}\left(\sum_{n = 0}^{N} a_n \cos \frac{n\pi x}{L}\right) = \sum_{n = 0}^{N} \frac{\partial }{\partial t}a_n(t) \cos \frac{n\pi x}{L}##
For each n, you get the equation you provided for the 2nd derivative w.r.t. x. This is inconvenient, since your boundary conditions don't seem to provide
##u_x(L,0) \text{ or } u_x(0,0).##
Does other information in your problem tell you what they should be?
 
  • Like
Likes   Reactions: Aows
RUber said:
@Aows,
The FFCT assumes that
##C(x,t) = \sum_{n = 0}^{N} a_n \cos \frac{n\pi x}{L}##
Where
##a_0 (t)= \frac{1}{L} \int_0^L f(x,t) dx \\ a_n(t) = \frac{2}{L} \int_0^L \cos \frac{n \pi x}{L} f(x,t) dx.##

Apply the transform to the PDE, as you have done:
##\frac{\partial^2 f}{\partial x^2} = \frac{\partial f}{\partial t} \\
\frac{\partial^2 }{\partial x^2}\left(\sum_{n = 0}^{N} a_n \cos \frac{n\pi x}{L}\right) = \sum_{n = 0}^{N} \frac{\partial }{\partial t}a_n(t) \cos \frac{n\pi x}{L}##
For each n, you get the equation you provided for the 2nd derivative w.r.t. x. This is inconvenient, since your boundary conditions don't seem to provide
##u_x(L,0) \text{ or } u_x(0,0).##
Does other information in your problem tell you what they should be?
Hello Dr. Ruber,
here is the problem (the solution provided in this picture is by using Laplace) and am required to solve it using FFCT:
https://i.imgur.com/F5LlyM0.jpg

please, excuse me for attaching the image
 

Similar threads

  • · Replies 52 ·
2
Replies
52
Views
7K
Replies
1
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K