Changes between Version 1 and Version 2 of ProtectionOfVariables
- Timestamp:
- 06/11/11 23:06:10 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProtectionOfVariables
v1 v2 1 1 == Protection of Variables == 2 2 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 newvalue 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.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 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. 4 4 5 5 It'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.