Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Two PDEs that need to solved alternatively
Posted 2024年6月6日 GMT-4 08:35 Equation-Based Modeling, Physics Interfaces 2 Replies
Please login with a confirmed email address before reporting spam
Hi,
I am trying to solve the Poisson-Nernst-Planck (PNP) equation:
This is not the real set of equations I am solving. This is where I am starting. The idea is that the solver for eqn 1 must step through time and at each step solver for eqn 2 will take input from the time step of eqn 1 and solve for phi. Thus, the overall solver for conc must step through time from 0 to 1s but at each point the Poisson eqn 2 must be solved to get the potential.
How do i achieve this? I have attached the file to give an idea of the equations and methods I am using. The concentration updates correctly at each time step however the eqn 2 does not evolve over time. Can someone help me with this? any help will be greatly appreciated!
Attachments: