How to solve a system of pdes coupled in their boundary condition

18 visualizzazioni (ultimi 30 giorni)
Initially i had the following system of pdes to solve:
with the following initial and boundary conditions
at
at and
Both domains are coupled by a first order reversible reaction such as
at
where are constants.
I have successfuly solved the following system using an implicit euler scheme for the x-space derivative and second order central difference for the y-space second derivative for the internal nodes. Points at and were discretized using second order backward discritization.
Then to link between both domains the interface conditions was discritized also using backward discritization.
Now i want to developp more my model by considering the following system of 4 pdes:
the boundary conditions are the same as the previous system except that this time the interface condition is a non linear condition of the following form
at
and now i am confused on how to solve numerically such a system i have read about the segregated approach to solve coupled pdes. My understanding is that we fix all dependant variable but one where we solve for it and do the same for each variable. Then we iterate until convergence. However, i am not really sure how to implement it.
If anyone can point me in the right direction or useful literature, i would be grateful. Note that if it is feasable, i want to stick with my previously developed scheme and then elaborate it to take into account the coupling.
Thanks in advance for any help
  2 Commenti
Torsten
Torsten il 25 Apr 2022
Modificato: Torsten il 25 Apr 2022
Any condition like
A = A1
B = B1
at the coupling point ?
Or is there a jump in the profile ?
hamza karim
hamza karim il 25 Apr 2022
Hello Torsten,
Thanks for your reply, there is no such condition at the coupling plane. The pdes are only related by the flux conditions as mentioned above.
however to satisfy the system of pdes there is also no flux boundary conditions () at y=0 for A and A1 and at y=1 for B and B1

Accedi per commentare.

Risposta accettata

Torsten
Torsten il 25 Apr 2022
Ok, then the discretization at y = alpha should be for the nonlinear case
(A(n+1)-A(n-1))/(2*dy)=-Bi_A * A(n)*A1(n)^2*B(1)
(A1(n+1)-A1(n-1))/(2*dy) = -2*Bi_A1 * A(n)*A1(n)^2*B(1)
(B(2)-B(0))/(2*dy) = 2*Bi_B * A(n)*A1(n)^2*B(1)
(B1(2)-B1(0))/(2*dy) = -Bi_B1 * A(n)*A1(n)^2*B(1)
These are four equations for A and A1 in the artificial point yA(n+1) and for B and B1 in the artificial point yB(0).
Assuming that your PDE equations also hold at the interface point, you can use the usual central difference discretization for the 2nd derivatives through the points yA(n-1), yA(n), yA(n+1) and yB(0),yB(1) and yB(2) to get A(n), A1(n), B(1) and B1(1).
  5 Commenti
Torsten
Torsten il 26 Apr 2022
I thought Biot-number refers to heat transfer, but maybe I'm mistaken.
hamza karim
hamza karim il 26 Apr 2022
no you haven't ! indeed Biot number refers to heat transfer but there is also an equivalent for the mass transfer

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by