Changeset 8696


Ignore:
Timestamp:
Feb 14, 2013, 9:17:51 PM (12 years ago)
Author:
davies
Message:

Adjusting the tsunami algorithm defaults to always store vertices uniquely

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/shallow_water/shallow_water_domain.py

    r8690 r8696  
    361361
    362362        # We demand that vertex values are stored uniquely
    363         #self.set_store_vertices_smoothly(False)
     363        # NOTE: Without this, wet-dry velocity spikes tend to occur in output files.
     364        # The tsunami algorithm is probably particularly sensitive to this.
     365        # Hence, this seems like a reasonable default.
     366        self.set_store_vertices_smoothly(False)
    364367
    365368        self.maximum_allowed_speed=0.0
     
    371374#        print '##########################################################################'
    372375#        print '#'
    373 #        print '# Using anuga_tsunami solver in anuga_work/development/gareth/experimental/anuga_tsunami/'
    374376#        print "#"
    375 #        print "# This solver is experimental. Here are some tips on using it"
     377#        print "# Here are some tips on using the 'tsunami' solver"
    376378#        print "#"
    377379#        print "# 1) When plotting outputs, I strongly suggest you examine centroid values, not vertex values"
     
    399401#        print "# You will probably be able to tell this is causing you problems by convergence testing"
    400402#        print "#"
    401 #        print '# 5) Note that many options in config.py have been overridden by the solver -- I have '
     403#        print '# 5) Note that many options in config.py have been overridden by the solver -- we have '
    402404#        print '# deliberately attempted to get the solver to perform well with consistent values of '
    403 #        print '# these parameters -- so I would advise against changing them unless you at least check that '
     405#        print '# these parameters -- so I advise against changing them unless you at least check that '
    404406#        print '# it really does improve things'
    405407#        print '#'
Note: See TracChangeset for help on using the changeset viewer.