[aspect-devel] Termination criteria module

Eric Heien emheien at ucdavis.edu
Wed Dec 12 15:38:35 PST 2012


Just so everyone knows, I implemented this and checked it in.  I'll put in an automated test case soon as well.  I left the "End time" parameter as-is to keep things backwards compatible, so termination can happen either by reaching end time or by fulfilling a termination criteria.  Wolfgang's checkpoint idea is also in there.

-Eric

On Dec 5, 2012, at 11:09 PM, Wolfgang Bangerth wrote:

> 
> 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