Time step too small! Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Time step too small! « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaspreet (ftjin)
Member
Username: ftjin

Post Number: 9
Registered: 02-2006
Posted on Friday, March 17, 2006 - 03:19 pm:   

I am trying to simulate a transient equation. However, theproblem stops computing and gives the following error. Any suggestions as to how to fix it?

768 K
FP1.bmp
"Error message"
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 571
Registered: 06-2003
Posted on Thursday, March 30, 2006 - 04:36 pm:   

FlexPDE is an adaptive system. The timestep and mesh sizes are modified to try to maintain the accuracy requested (or defaulted) by the user.

In order to avoid infinite cutting of timesteps in case of trouble, there is a cutoff that stops the run if the timestep drops below 1e-9 times the initial timestep. Try specifying an initial timestep small enough to resolve initial transients.

A common cause of trouble in time-dependent problems is the use of discontinuous initial conditions. A discontinuity is not representable at any scale by polynomial patches in time or space. In theory, therefore, it requires infinite subdivision in both time and space. FlexPDE includes an initial smoothing pass that "rounds the corners" of such initial discontinuities, but it is not always effective. Try applying initial conditions (including boundary conditions at time=0) that are self-consistent, and then ramp boundary values over a "reasonable" time. Another way to address this is to convert value boundary conditions to fluxes, which are "softer" numerically.

Another cause of trouble, of course, is if the equation system is simply wrong. Inconsistent equations that have no solution will cause the timestep to grind to zero. Check your equations and parameter dimensions.

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