Monitors and Plots in Time Dependent Problems

<< Click to Display Table of Contents >>

Navigation:  Problem Descriptor Reference > The Sections of a Descriptor > Monitors and Plots >

Monitors and Plots in Time Dependent Problems

Previous pageReturn to chapter overviewNext page

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 = time1 [ timeset ... ]


Where each timeset may be one of the following :


BY delta TO time2


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.

Last Time Step

The the last time step may be referenced using the qualifier endtime :

FOR T = 0 BY 10 TO endtime

In the above example a plot would be generated every ten time units and at the last time step, whatever was defined in the TIME section or whatever was the last time step due to a HALT condition.


"Samples | Applications | Heatflow | Float_Zone.pde"

"Samples | Applications | Chemistry | Melting.pde"