Filter löschen
Filter löschen

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

17 Ansichten (letzte 30 Tage)
PSA
PSA am 19 Mär. 2016
Kommentiert: Gizem Kusoglu am 6 Apr. 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 Kommentare
PSA
PSA am 21 Mär. 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 am 6 Apr. 2022
Hi PSA, did you solve your problem? Could you please share your way for solution, if you find solution with matlab?

Melden Sie sich an, um zu kommentieren.

Antworten (4)

Torsten
Torsten am 21 Mär. 2016
Bearbeitet: Torsten am 21 Mär. 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 Kommentar
santi
santi am 24 Okt. 2017
Hello Torsten, I have same problem to solve and i'm facing problem in discreatizing boundary conditions.

Melden Sie sich an, um zu kommentieren.


PSA
PSA am 21 Mär. 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 Kommentare
Torsten
Torsten am 21 Mär. 2016
Bearbeitet: Torsten am 21 Mär. 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 am 21 Mär. 2016
Ah I had no idea, thanks for clarifying that. MOL should be much simpler, thanks!

Melden Sie sich an, um zu kommentieren.


ahmad
ahmad am 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 am 16 Okt. 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