Solving Heat Diffusion / Finite difference problem, maybe on GPU?

3 次查看(过去 30 天)
Hi, I want to simulate a 3D heat diffusion problem with infinite border. At each time iteration there is other simulation running so it is going to be a code that will take time to run. Since the problem has a circular symmetry, I was able to simplify it to a 2D problem with one of the border being basically a mirror. Here's the equation:
dT/Dr * (dk/dr + k/r) + d^2(T)/dr^2 + dk/dz * dT/dz + k * d^2(T)/dz^2 + Q = rho*C*dT/dt
I know how to solve this problem with my own code but I was wondering if there was a simpler and faster way than writing my code. Is there something in matlab that has already been optimize to simulate that equation? On another note, is it possible (and is it worth it) to make the code run on my GPU instead of CPU to have it go faster. Remember at each time iteration I need to do several other computations.
Thank you for your advice.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Heat and Mass Transfer 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by