数学建模社区-数学中国
标题:
求助:关于‘newton iteration not converging’问题
[打印本页]
作者:
lambeef
时间:
2010-2-7 13:17
标题:
求助:关于‘newton iteration not converging’问题
具体代码如下:
! l+ V8 Y' L( D4 I' |% Z. E
l := 1000*10^(-9);
1 \ T, X, x/ N' q( H9 J7 ]
w := 50*10^(-9);
# h8 e3 X/ b# i* J' s
k := (1/12)*w^3;
" p% l# e/ K* c, x% `5 p- }. J
E := 150*10^9;
+ }6 Z g- G4 R' B. T% A
d := 20*10^(-9);
) G2 @4 l. t4 z
v := 2.3;
X8 @5 z( \2 z; m! y& b
electrostatic := 8.854*10^(-12)*v^2*(1/2);
! @$ P% S! Z' r/ x- s8 u& ^7 a
ode := diff(y(x), x$4) = electrostatic/((d-y(x))^2/E/k);
* J1 T5 j" r- x: P- t9 `
bcs1 := y(0) = 0, (D(y))(0) = 0, (D(D(y)))(l) = 0, (D(D(D(y))))(l) = 0;
& Q( i e8 d% G* V5 n
ansl1 := dsolve({ode, bcs1}, numeric, method = bvp, abserr = 28)
3 i( j1 d8 O; C5 t
问题是求在静电场作用下,梁的弯曲问题。v是电压,当电压很小时,可以算出结果,但是电压大于1V时出现‘newton iteration not converging’. 想了很长时间做不出来,请各位帮个忙!谢谢!
作者:
eigen
时间:
2010-3-23 11:54
应该是迭代的初值没有选取好,或者这个问题本身不稳定。建议用Matlab软件再算一算。
欢迎光临 数学建模社区-数学中国 (http://www.madio.net/)
Powered by Discuz! X2.5