Modeling a Heat Source with the 2D Heat Equation

Click For Summary
SUMMARY

This discussion focuses on modeling a point heat source within a perfectly insulated rectangular plate using the 2D heat equation and numerical finite difference methods in MATLAB. The key insight is that to accurately represent a point heat source, one must utilize the Dirac delta function in the heat equation, which simplifies the solution process through the use of Green's functions. The Crank-Nicholson method is recommended for solving the PDE numerically, with specific attention to normalizing the source term correctly. Implementing the delta function may pose challenges in a finite element approach, but approximations can be made if the mesh is sufficiently refined.

PREREQUISITES
  • Understanding of the 2D heat equation
  • Familiarity with numerical finite difference methods
  • Knowledge of MATLAB for numerical simulations
  • Concept of Green's functions in solving PDEs
NEXT STEPS
  • Learn about implementing the Dirac delta function in numerical simulations
  • Study the Crank-Nicholson method for time-dependent PDEs
  • Explore the use of Green's functions in solving the 2D heat equation
  • Investigate mesh refinement techniques for finite element methods
USEFUL FOR

Students and researchers in applied mathematics, engineers working on thermal modeling, and anyone interested in numerical methods for solving partial differential equations.

CoolDude420
Messages
199
Reaction score
9

Homework Statement


Hi,

So I have a perfectly insulated rectangular plate and I trying to use the 2D heat equation in conjunction with numerical finite diference methods and MATLAB to see how the temperature changes throughout the plate. My issue is with the heat source. I am supposed to decide on how to model this heat source. I have chosen it to be at the centre as a point heat source. Now I'm not sure how to set my Q value in the heat equation to mimic this point source? Apparently some people say I need to multiply by the dirac delta function but I feel that would make solving the PDE much harder.

I thought maybe I could set Q =0 and make an intiail conditions that sets the temperature at the centre, but didn't make much sense.

If I choose a constant Q, it would mean that this Q exists at all points in the plate. Any ideas on what I should do? How do I choose Q to mimic this point source?

Homework Equations


61a521f537.png


The Attempt at a Solution

 

Attachments

  • 61a521f537.png
    61a521f537.png
    2 KB · Views: 361
Physics news on Phys.org
CoolDude420 said:
Apparently some people say I need to multiply by the dirac delta function but I feel that would make solving the PDE much harder.
On the contrary, this would make the PDE much easier to solve. In fact, it is so much easier to work with delta functions that the entire idea behind using Green's functions is to first find the solution to the PDE when the inhomogeneity is a delta function and then making a superposition (you have likely already encountered this in relation to electric fields - the full field being the sum of all contributions). Besides, if what you really want to do is to model a point source, then you must use a delta function. The source distribution ##\kappa(\vec x)## has the property that
$$
\int_V \kappa(\vec x) \, dV
$$
is the heat produced in the volume ##V## per unit of time. Now, a point source at ##\vec x_0## is a source such that
$$
\int_V \kappa(\vec x) \, dV = \begin{cases} Q, & \vec x_0 \in V \\ 0, & \vec x_0 \notin V\end{cases}
$$
This is exactly what defines (##Q## times) the delta distribution ##\delta^{(3)}(\vec x - \vec x_0)##.

That being said, you will have problems implementing a delta function in a numerical finite element approach. If your elements are small enough, you can make a reasonable approximation by making the element that the point belongs to have a constant heat production within it.
 
Orodruin said:
On the contrary, this would make the PDE much easier to solve. In fact, it is so much easier to work with delta functions that the entire idea behind using Green's functions is to first find the solution to the PDE when the inhomogeneity is a delta function and then making a superposition (you have likely already encountered this in relation to electric fields - the full field being the sum of all contributions). Besides, if what you really want to do is to model a point source, then you must use a delta function. The source distribution ##\kappa(\vec x)## has the property that
$$
\int_V \kappa(\vec x) \, dV
$$
is the heat produced in the volume ##V## per unit of time. Now, a point source at ##\vec x_0## is a source such that
$$
\int_V \kappa(\vec x) \, dV = \begin{cases} Q, & \vec x_0 \in V \\ 0, & \vec x_0 \notin V\end{cases}
$$
This is exactly what defines (##Q## times) the delta distribution ##\delta^{(3)}(\vec x - \vec x_0)##.

That being said, you will have problems implementing a delta function in a numerical finite element approach. If your elements are small enough, you can make a reasonable approximation by making the element that the point belongs to have a constant heat production within it.

Ah. I see. I'm planning on using the Crank-Nicholson method to solve the PDE. Do you have any suggestions on how I could actually convert that PDE(well the Q*diracDelta part) into a difference equation? I'm planning on using MATLAB.
 
If you have to solve it numerically, you can most likely introduce it as a source in a single node. Be careful to get the normalisation correctly. Note that you can easily get an analytic series solution in terms of the spatial eigenfunctions of the Laplace operator.
 

Similar threads

Replies
22
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
6K
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
1
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K