Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #13933
| From | Yue Zhao <zhaoyue.hep@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | A question about numerically solving differential equations |
| Date | 2013-03-26 08:05 +0000 |
| Message-ID | <kirks3$at8$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Hi,
I am using Mathematica to numercially solve the following equations:
2 D[f0[r], r]/r + D[f0[r], r, r] == -2 A f1[r]/r^4 + 2 A D[f1[r], r]/r^3
-2 f1[r]/r^2 + 2 D[f1[r], r]/r + D[f1[r], r, r] == 2 A D[f0[r], r]/r^3
And my boundary condition is
f0[10] == 0.01, f1[10] == 0.01, (D[f0[r], r] /. r -> 1) == 10^-3 A,
(D[f1[r], r] /. r -> 1) == 0
When I take A to be small, say 1, everything is fine. However, if I take A to be large, e.g. 100. Mathematica complains and gives me crazy results. Here are the error message I get:
NDSolve::bvluc: The equations derived from the boundary conditions are numerically ill-conditioned. The boundary conditions may not be sufficient to uniquely define a solution. The computed solution may match the boundary conditions poorly. >>
NDSolve::berr: There are significant errors {-5.55116*10^6,-7.26312*10^6,0.,0.} in the boundary value residuals. Returning the best solution found. >>
Can anyone help me to deal with this issue? I appreciate your help!
Thanks!
YZ
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
A question about numerically solving differential equations Yue Zhao <zhaoyue.hep@gmail.com> - 2013-03-26 08:05 +0000
Re: A question about numerically solving differential equations debguy <johnandsara2@cox.net> - 2013-04-01 04:57 +0000
Re: A question about numerically solving differential equations debguy <johnandsara2@cox.net> - 2013-04-02 07:25 +0000
Re: A question about numerically solving differential equations "Kevin J. McCann" <kjm@KevinMcCann.com> - 2013-04-03 08:08 +0000
Re: A question about numerically solving differential equations debguy <johnandsara2@cox.net> - 2013-04-03 07:22 +0000
Re: A question about numerically solving differential equations debguy <johnandsara2@cox.net> - 2013-04-04 17:10 +0000
Re: A question about numerically solving differential equations Bob Hanlon <hanlonr357@gmail.com> - 2013-04-03 08:07 +0000
Re: A question about numerically solving differential equations Peter Pein <petsie@dordos.net> - 2013-04-03 08:07 +0000
csiph-web