Finite Difference method to solve diffusion equation

Click For Summary
SUMMARY

The discussion focuses on using the finite difference method to solve the diffusion equation for a cylindrical material with specific thermal properties: thermal conductivity (k) of 210 W/m·K, specific heat capacity (Cp) of 350 J/kg·K, and density (ρ) of 6530 kg/m³. The boundary conditions are defined as T(0,t) = 330K and T(l,t) = 299K, with the transient condition given by ∂T/∂t(x,17) = 0. Participants emphasize the need to apply the rearranged diffusion equation in finite difference form and suggest using the explicit method due to the lack of coverage on the Crank-Nicholson method in their coursework.

PREREQUISITES
  • Understanding of the diffusion equation and its application in heat conduction.
  • Familiarity with finite difference methods for solving partial differential equations (PDEs).
  • Knowledge of thermal properties such as thermal diffusivity (α).
  • Basic concepts of boundary conditions in numerical analysis.
NEXT STEPS
  • Research the explicit finite difference method for solving the 1D heat conduction equation.
  • Learn about the Crank-Nicholson method for improved stability in numerical solutions of PDEs.
  • Explore techniques for determining initial temperature distributions in transient heat conduction problems.
  • Study the implications of boundary conditions on the convergence of numerical solutions.
USEFUL FOR

Students and professionals in thermal engineering, numerical analysis, and applied mathematics, particularly those working with heat conduction problems and finite difference methods.

miniradman
Messages
191
Reaction score
0

Homework Statement


Plot the transient conduction of a material with k = 210 w/m K, Cp = 350 J/kg K, ρ = 6530 kg/m3

Where the material is a cylinder, with constant cross sectional area and is well insulated. The boundary conditions for the cylinder:
T(0,t) = 330K
T(l,t) = 299K
\frac{∂T}{∂t}(x,17)=0

Homework Equations


Diffusion equation:
\frac{∂T}{∂t}=\alpha\frac{∂^{2}T}{∂x^{2}}

rearranged diffusion equation in finite difference form
T(x,t+Δt)=\frac{\alphaΔt}{Δx^{2}}[T(x+Δx, t)-2T(x,t)+T(x-Δx,t)]


The Attempt at a Solution


Hi all

I've never used the finite difference equation before to solve a PDE and I'm unsure how to use it. I know how to find values such as α (thermal diffusivity), but I'm unsure on how to sub in my initial and boundary conditions. And which values would I use for T(x+Δx, t) or T(x-Δx,t)? Since I'm trying to find change in temperature over time at a fixed distance x, I would assume that Δx = 0? (which I know is incorrect).

I've tried looking online for PDE finite analysis techniques, but they're all either ODE examples or mesh analysis (something we haven't covered).
 
Physics news on Phys.org
Try Googling the Crank-Nicholson method for the 1D heat conduction equation (or the diffusion equation). This is a standard example in courses on finite difference, numerical method, and PDEs.

I don't understand your boundary condition ##\frac { \partial T} {\partial t}(x,17) = 0##. Why t= 17? If the time derivative is constant everywhere at one time, isn't it constant everywhere at all times - i.e. the solution is steady state heat conduction along a uniform rod with the end temperatures given, so there is nothing to solve for numerically!
 
Sorry I made a mistake with that, I was meant to say that the system reaches steady state at approximately t = 17.

We haven't yet covered the Crank-Nicholson method, so I have a feeling we may have to stick with the explicit method.
 
If you want an explicit method you could use http://en.wikipedia.org/wiki/FTCS_scheme

With the constant temperatures at T(0,t) and T(l,t) the solution will converge to steady state as t increases for any starting temperature distribution T(x,0). It seems a bit strange that the question doesn't specify the starting temperature, so you can have something to check your results against. Just saying that it approximately converges by t = 17 doesn't tell you much.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
0
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K