Replies: 1 comment
-
Looking at the code above, it seems that the equations don't really depend on each other in an implicit way unless they are coupled via an Regarding |
Beta Was this translation helpful? Give feedback.
-
Looking at the code above, it seems that the equations don't really depend on each other in an implicit way unless they are coupled via an Regarding |
Beta Was this translation helpful? Give feedback.
-
I tried a coupled PDE with two equations and it worked fine, and now am trying to set up four coupled PDEs, solving the diffusion equation with the concentrations of A,B,C, and D in 1D.
Here is a set up I have, where I will add the source terms later. Is this how I set the coupled PDE? Because with this way, the result of the solver is not behaving as I expected after adding the source terms.
The boundary condition is no flux for all sides and all species.
Also, what is the role of updateOld()? I haven't seen this from other examples. If there is any other thing that I should consider, please let me know as well. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions