Monitors and Plots in Time Dependent Problems

Top  Previous  Next

In time dependent problems the display specifications must be preceded by a display-time declaration statement.  The display-time declaration statement may be either of the form

       

FOR CYCLE = number

 

in which case the displays will be refreshed every  number time steps, or

 

FOR T = timeset1 [ timeset2 ... ]

 

Where each  timeset may be either a specific time or a group specified as

 

t1 BY deltat TO t2

 

In this case the displays will be refreshed at times specified by the timeset values.

 

Any number of plot commands can follow a display-time declaration, and the specification will apply to all of them.  It is not necessary to give a display-time specification for each plot.

 

Multiple display time declaration statements can be used.  When multiple display time statements are used each applies to all subsequent display commands until a new time declaration is encountered or the MONITORS or PLOTS section ends.

 

 

Examples:

See the problem "Samples | Time_Dependent | Heatflow | Float_Zone.pde", or any of the other problems in the "Samples|Time_Dependent" folder.