由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Mathematics版 - 请问一个关于Mathematica数值解的问题
相关主题
谁用过femlab? 请教一个问题Please help with this differential equation
问个mathematica的问题选课求助: PDE vs. Algebra
一个mathematica 问题 请教不好意思,再问一个线性代数的问题,我不太理解题目
help to solve a wave equation, thx如何验证有限元等得到的数值解的可靠性?
Help me solve equations求助Mathematica RowReduce Error
Again, help needed to solve equations请教解如下方程用什么算法比较好
who can share "Elementary Differential Equations and Boundary Value Problems 8th"Help! a differential equation
mathematica 积分问题 (转载)求教PDE Maxwell Equations数学问题
相关话题的讨论汇总
话题: f0话题: f1话题: boundary话题: ndsolve
进入Mathematics版参与讨论
1 (共1页)
c****l
发帖数: 88
1
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!
S*********k
发帖数: 507
2
Such questions could go to mathematica.stackexchange.com
Any reasonablly answerable questions will be answered fairly promptly.

A

【在 c****l 的大作中提到】
: 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:

1 (共1页)
进入Mathematics版参与讨论
相关主题
求教PDE Maxwell Equations数学问题Help me solve equations
版上有做Numerical methods的吗?Again, help needed to solve equations
impart factor of applied math journals, if you carewho can share "Elementary Differential Equations and Boundary Value Problems 8th"
谁能推荐有关算法(computation algorithm)的书籍?mathematica 积分问题 (转载)
谁用过femlab? 请教一个问题Please help with this differential equation
问个mathematica的问题选课求助: PDE vs. Algebra
一个mathematica 问题 请教不好意思,再问一个线性代数的问题,我不太理解题目
help to solve a wave equation, thx如何验证有限元等得到的数值解的可靠性?
相关话题的讨论汇总
话题: f0话题: f1话题: boundary话题: ndsolve