Solving a non linear set of pdes with multiple dependent variables.

22 次查看(过去 30 天)
I'm currently working on a student project to design a pressure swing adsorption system. To do this, I need to solve a set of 5 coupled non-linear PDEs with multiple dependent variables. I was wondering if anyone has ever tackled a similar problem with MATLAB before, and whether it would be possible using the PDE Toolbox. Any pointers for the direction I should be heading in would be appreciated.
  3 个评论
PSA
PSA 2016-3-21
Hi Torsten, thanks for replying. The equations are outlined in the two files I've attached, initial conditions are zero for all variables at t = 0 for all z.
Gizem Kusoglu
Gizem Kusoglu 2022-4-6
Hi PSA, did you solve your problem? Could you please share your way for solution, if you find solution with matlab?

请先登录,再进行评论。

回答(4 个)

Torsten
Torsten 2016-3-21
编辑:Torsten 2016-3-21
There is no ready-to-use MATLAB tool available to solve the equations you posted. The problem is that you have a system of ordinary together with partial differential equations.
You'll have to discretize the equations in space and solve the resulting system of ordinary differential equations using ODE15S, e.g.. Look up "method-of-lines" for more details.
Best wishes
Torsten.

PSA
PSA 2016-3-21
Ah yes I'd considered that, unfortunately the authors of the paper from which those equations came noted that doing so would lead to stiffness problems and was therefore not feasible. Consequently I'll proceed by applying a Crank-Nicolson discretisation in space and time, I'm also trying to use COMSOL to solve them but that is a different matter altogether.
Thanks for the input.
Chris
  2 个评论
Torsten
Torsten 2016-3-21
编辑:Torsten 2016-3-21
The stiffness argument does not apply because you can use a stiff solver, namely ODE15S. I strongly recommend using the method-of-line approach because you only have to do the spatial discretization, but don't have to care about the time integration.
Best wishes
Torsten.
PSA
PSA 2016-3-21
Ah I had no idea, thanks for clarifying that. MOL should be much simpler, thanks!

请先登录,再进行评论。


ahmad
ahmad 2016-11-7
Hi, if it still matters to you, I do not see any problem solving the set of posted equations using the pdepe MATLAB solver. However, of course you can always use MOL, but that would be a bit more work to do.
Best, Ahmad

santi
santi 2017-10-16
Ahmad, can you please tell me how can i solve these set of equations by using pdepe.

Community Treasure Hunt

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

Start Hunting!

Translated by