Help me please,thanks Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Help me please,thanks « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this 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!
Top of pagePrevious messageNext messageBottom of page Link to this message

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

LinYang (huiw84)
New member
Username: huiw84

Post Number: 2
Registered: 04-2008
Posted on Friday, April 18, 2008 - 07:42 am:   

Thank you!

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration