Hi guys,(adsbygoogle = window.adsbygoogle || []).push({});

I have functioning MATLAB code for my solution of the 3D Diffusion equation (using a 3D Fourier transform and Crank-Nicolsen) that runs just from the command window and automatically plots the results. However, it seems like my solution just decays to zero regardless of what initial condition I use, or boundary conditions I implement. Could I toss this code to somebody so they can run it on their rig and let me know if they can diagnose it? I've been stuck on it for days and I'd much appreciate it.

If you'd like me to post it all in the thread using the code formatting tool, I can do that, but I'll take the suggestion first before completely diluting the post. Thanks guys

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# 3D Diffusion Equation in MATLAB

Loading...

Similar Threads - Diffusion Equation MATLAB | Date |
---|---|

Matlab Pdepe solver for diffusion equation in a packed column | Mar 30, 2016 |

Numerical method for a heat diffusion problem | May 11, 2012 |

1 D steady state diffusion equation in the atmosphere | May 11, 2011 |

Finite Diffrnce simulation code to solve the 2D heat diffusion eqn on a plane 50mx30m | Dec 2, 2009 |

Diffusion Limited Aggregation Matlab | Nov 23, 2009 |

**Physics Forums - The Fusion of Science and Community**