New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combining ODE and PDE #83
Comments
I've not seen anyone get this working, but a few things to try:
Let me know if that changes anything. |
There is a test that does a simpler version of this: MethodOfLines.jl/test/pde_systems/MOL_1D_Linear_Diffusion.jl Lines 742 to 789 in 17f4cbf
So it is definitely possible |
Thanks! The problem turned out to be that Dt(xx) ~ u(xx,yy),
Dt(yy) ~ v(xx,yy),
Dt(so2_puff) ~ -k*so2_puff, needs to be Dt(xx(t)) ~ u(xx(t),yy(t)),
Dt(yy(t)) ~ v(xx(t),yy(t)),
Dt(so2_puff(t)) ~ -k*so2_puff(t), and then corresponding boundary conditions need to be added. I'm still having a problem getting the interaction between the two frames of reference to work, but I'll create a separate issue if I'm not able to figure it out. Thanks again! |
I would like to create an advection-reaction simulation that combines LaGrangian and Eulerian frames of reference, which means combining ODEs and PDEs together in one system:
I guess there might be a couple of problems with this, but the first one that shows up is this:
Thanks in advance for any information you might have regarding whether this type of simulation should be expected to work, or any suggestions for going about fixing it. Thanks!
The text was updated successfully, but these errors were encountered: