Simulation of coupled partial differential equation using MATLAB.

28 views (last 30 days)
I am trying to simulate a model for cake baking using a coupled mass and heat transfer system. The equations are as given in the attachment.
I need to find out profile for Temperature and moisture content(X). Please suggest a method which I can use. If you have any code which can be used, it would be of great help if you can give me that too.

Accepted Answer

Bill Greene
Bill Greene on 16 Jun 2014
I took a look at your attachment and think I understand most, but not all, of the problem you are trying to solve (I don't understand the convection term in the PDE, for example).
My first thought was that you could use the pdepe function because it appears you have only one spatial variable, x. However, you have a non-diagonal "mass" matrix which pdepe can not handle.
I think that PDE Toolbox,
can probably solve this. You might want to start with this example:
Tanisha Raturi
Tanisha Raturi on 27 Oct 2021
Hello @Bosnian Kingdom, were you able to solve what you were doing? I am working on a problem that requires solving two partial differential equations, can you help me understand how should I do that?

Sign in to comment.

More Answers (0)


Find more on Partial Differential Equation Toolbox in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by