Changes between Version 1 and Version 2 of ProtectionOfVariables


Ignore:
Timestamp:
06/11/11 23:06:10 (14 years ago)
Author:
Brandon Shroyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ProtectionOfVariables

    v1 v2  
    11== Protection of Variables ==
    22
    3 With some numerical schemes it is possible for variables to achieve unphysical values (negative pressure or density, for instance).  AstroBEAR can ''protect'' against these unphysical values by extrapolating a new value from the surrounding cells.  This is not ideal as a broad fix, since protections can violate conservation laws; it's okay if a few protections happen in isolated cells, but frequent protections in a large number of cells indicate serious problems.
     3With some numerical schemes it is possible for variables to achieve unphysical values (negative pressure or density, for instance).  AstroBEAR can ''protect'' against these unphysical values by replacing the bad value with the minimum value from the surrounding cells.  This is not ideal as a broad fix, since protections can violate conservation laws; it's okay if a few protections happen in isolated cells, but frequent protections in a large number of cells indicate serious problems.
    44
    55It's also important to note that most protection algorithms rely on the integrity of neighboring cells.  If there are no nearby cells with valid values, then protection algorithms will not work.