Azzera filtri
Azzera filtri

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

17 visualizzazioni (ultimi 30 giorni)
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 Commenti
PSA
PSA il 21 Mar 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 il 6 Apr 2022
Hi PSA, did you solve your problem? Could you please share your way for solution, if you find solution with matlab?

Accedi per commentare.

Risposte (4)

Torsten
Torsten il 21 Mar 2016
Modificato: Torsten il 21 Mar 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 Commento
santi
santi il 24 Ott 2017
Hello Torsten, I have same problem to solve and i'm facing problem in discreatizing boundary conditions.

Accedi per commentare.


PSA
PSA il 21 Mar 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 Commenti
Torsten
Torsten il 21 Mar 2016
Modificato: Torsten il 21 Mar 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 il 21 Mar 2016
Ah I had no idea, thanks for clarifying that. MOL should be much simpler, thanks!

Accedi per commentare.


ahmad
ahmad il 7 Nov 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 il 16 Ott 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