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

22 visualizaciones (últimos 30 días)
PSA
PSA el 19 de Mzo. de 2016
Comentada: Gizem Kusoglu el 6 de Abr. de 2022
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 comentarios
PSA
PSA el 21 de Mzo. de 2016
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 el 6 de Abr. de 2022
Hi PSA, did you solve your problem? Could you please share your way for solution, if you find solution with matlab?

Iniciar sesión para comentar.

Respuestas (4)

Torsten
Torsten el 21 de Mzo. de 2016
Editada: Torsten el 21 de Mzo. de 2016
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.
  1 comentario
santi
santi el 24 de Oct. de 2017
Hello Torsten, I have same problem to solve and i'm facing problem in discreatizing boundary conditions.

Iniciar sesión para comentar.


PSA
PSA el 21 de Mzo. de 2016
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 comentarios
Torsten
Torsten el 21 de Mzo. de 2016
Editada: Torsten el 21 de Mzo. de 2016
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 el 21 de Mzo. de 2016
Ah I had no idea, thanks for clarifying that. MOL should be much simpler, thanks!

Iniciar sesión para comentar.


ahmad
ahmad el 7 de Nov. de 2016
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 el 16 de Oct. de 2017
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