[aspect-devel] Termination criteria module

Wolfgang Bangerth bangerth at math.tamu.edu
Wed Dec 5 23:09:45 PST 2012


Eric,
as discussed this evening, this looks good.

Given your last sentence, here's another idea: the last thing we 
currently do before checking whether we've reached the end time (at the 
very bottom of the run() function) is to see if we need to checkpoint. 
One could conceivably do the determination whether you want to jump out 
of the loop just before that and take into account whether this will be 
the last time step in determining to checkpoint. I don't know whether 
that's something that would be useful to you guys but it would be 
simpler to implement.

Best
  W.

On 11/30/2012 01:22 PM, Eric Heien wrote:
> Hi everyone,
>
> One of the students I'm working with has a request to add a special
> Aspect termination criteria.  Specifically, they want to run the
> simulation until it reaches "steady state", for various definitions
> of steady state.  Currently, they have to set a long end time and
> check on the state every hour or so to see when it has reached the
> appropriate point.  I've encountered similar issues when doing mixing
> simulations where I run simulations until dV_RMS/dT is small for an
> extended time period, then restart the simulation with tracer
> particles added to see how they move.
>
> If nobody has any objections I'd like to add a module interface to
> Aspect to allow different termination criteria, defaulting to the
> current end time criteria.  This way compute and human time isn't
> wasted, and potentially complex simulations could be setup where the
> state is evolved to a point, checkpointed, and restarted using
> different parameters without any human intervention.
>
> Let me know what you think,
>
> -Eric
>
> _______________________________________________ Aspect-devel mailing
> list Aspect-devel at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
>


-- 
------------------------------------------------------------------------
Wolfgang Bangerth               email:            bangerth at math.tamu.edu
                                 www: http://www.math.tamu.edu/~bangerth/



More information about the Aspect-devel mailing list