# Simulation of coupled partial differential equation using MATLAB.

28 views (last 30 days)

Show older comments

Aditya Banerji
on 16 Jun 2014

Commented: Tanisha Raturi
on 27 Oct 2021

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.

##### 0 Comments

### Accepted Answer

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:

Bill

##### 11 Comments

Tanisha Raturi
on 27 Oct 2021

### More Answers (0)

### See Also

### Categories

### Community Treasure Hunt

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

Start Hunting!