-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
My ODE peoblems is always Aborting Help!!! #992
Comments
That's a boundary value problem. You gave it an ODE solver, not a BVP solver. That doesn't make sense. See the tutorial on BVPs: https://docs.sciml.ai/DiffEqDocs/stable/tutorials/bvp_example/. You need to use a solver for BVPs, like |
Thanks for the reply.Before this, I have used the |
What is the error message or warning? Is the model stiff? You show a stiff ODE solver earlier, but now you're showing a method only for non-stiff equations. |
yes, it is the right result.I have caculated out by python.But when i use julia,it takes a very long time to use MIRK method,so i just use the shooting .I do not know the reason why it is useless for shooting- _ - |
sorry, the model is stiff . Just like the next follower shows , it can be solved by MIRK method , but not for shooting |
Yes that's expected. Shooting methods are not as stable as collocation methods, and so for sufficiently difficult problems it will be only the MIRK and similar methods that are stable. |
Thank you for your help! |
Could you show the version of BoundaryValueDiffEq.jl you are using? It is pretty fast here to get the final result using MIRK methods. @HaoJieZhang0917 |
i have another question , can the parameter tspan be set to a non-equidistant mesh?similar to the Chebyshev method. |
The verson of BoundaryValueDiffEq.jl is v4.0.1 . I almost need 15 mins to caculate it through i have setted the dt=0.5... |
That compile time is fixed with Julia v1.1.0. |
I'm trying to calculate a second-order ordinary BVP differential equation problem, but no matter which method I use, my results always show divergence. But I don't know what the problem with my model or boundary conditions is. Is there a professional who can help me?
The equation is :
![image](https://private-user-images.githubusercontent.com/103304790/277538476-79710342-c515-4601-bcba-4f2c5c912da1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5ODY2NjIsIm5iZiI6MTczODk4NjM2MiwicGF0aCI6Ii8xMDMzMDQ3OTAvMjc3NTM4NDc2LTc5NzEwMzQyLWM1MTUtNDYwMS1iY2JhLTRmMmM1YzkxMmRhMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQwMzQ2MDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00ZDNhODM0OTA1YzBlNTQ5YTNjYWJhODlkNzQ1Mzc0ZDIwZjE0MmY2ZGEyNGY5OGY4YTA4N2EwZjNhMzViODlmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.geVsZIimBU5Dl_5KVz0PcYlATw9GR69RbPbdPuLzLIo)
ddu=u^2-v^2+du*w
ddv=2uv+dv*w
dw=-2*u
My code is :
` using DifferentialEquations
The text was updated successfully, but these errors were encountered: