Author |
Message |
LinYang (huiw84)
New member Username: huiw84
Post Number: 1 Registered: 04-2008
| Posted on Thursday, April 17, 2008 - 08:58 pm: | |
Hi!I'm new to use FlexPDE.I found "select Tcenter=1/2"in version 2 or 3,but now I am using version 5,when I run the program which includes "select Tcenter=1/2" in version 5, it will be error,and say"TCENTER is no longer supported".so what can I do now?and what's meaning "select Tcenter=1/2"? thank you very much! |
Robert G. Nelson (rgnelson)
Moderator Username: rgnelson
Post Number: 1100 Registered: 06-2003
| Posted on Friday, April 18, 2008 - 12:25 am: | |
FlexPDE version 5 uses a more advanced form of time integration than versions 2 and 3 did. In the old versions, TCENTER=1/2 chose Crank-Nicholson (time-centered) differencing, which is accurate but sometimes oscillatory. TCENTER=1 chose backward Euler differencing, which is stable but less accurate. In version 5 we use a quadratic backward difference method (Gear's method) that is both stable and accurate. Just remove the TCENTER command from your script.
|
LinYang (huiw84)
New member Username: huiw84
Post Number: 2 Registered: 04-2008
| Posted on Friday, April 18, 2008 - 07:42 am: | |
Thank you! |
|