Solving the 3D Diffusion Equation with Fourier Spectral Techniques

Click For Summary
SUMMARY

The discussion focuses on solving the 3D Diffusion Equation using Fourier spectral techniques, specifically the partial differential equation (PDE) ∂C(m,n,p,t)/∂t + k(p^2+m^2+n^2)C(m,n,p,t)=0. The user implemented an explicit scheme for time-stepping but observed that the solution decays to zero over time. Suggestions are sought for improving the treatment of the equation, emphasizing the importance of correctly handling the time dependence in the solution.

PREREQUISITES
  • Understanding of partial differential equations (PDEs)
  • Familiarity with Fourier spectral methods
  • Knowledge of explicit time-stepping schemes
  • Basic concepts of stability analysis in numerical methods
NEXT STEPS
  • Research stability criteria for explicit schemes in PDEs
  • Explore implicit time-stepping methods for diffusion equations
  • Learn about Fourier transform properties in solving PDEs
  • Investigate numerical methods for handling boundary conditions in diffusion problems
USEFUL FOR

Mathematicians, physicists, and engineers working on numerical solutions to partial differential equations, particularly those interested in diffusion processes and Fourier spectral techniques.

johnnyTransform
Messages
16
Reaction score
2
Hi guys,

I've distilled the 3D Diffusion Equation into the following PDE using Fourier spectral techniques:

∂C(m,n,p,t)/∂t + k(p^2+m^2+n^2)C(m,n,p,t)=0,

where C is the Fourier coefficient of the 3D Fourier transform, {m,n,p} are the spatial frequencies, and t is time. I've tried using a simple explicit scheme:

C(m,n,p)v+1=1/(1+k*deltaT*(p^2+m^2+n^2)*C(m,n,p)v

where v+1 is the leading time step, and v is the current time step. However, it seems to simply decay to zero over time. Any suggestions as to how I could treat it?
 
Physics news on Phys.org
Since you only care about the t dependence for the DE, this is form ##\frac{dy}{dt} + ay = 0## which can be solved exactly.
 
  • Like
Likes   Reactions: HallsofIvy and johnnyTransform
Thanks!
 
  • Like
Likes   Reactions: Simon Bridge

Similar threads

  • · Replies 2 ·
Replies
2
Views
912
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
5K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K