Changes between Version 77 and Version 78 of FluxLimitedDiffusion
- Timestamp:
- 03/27/13 15:00:36 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FluxLimitedDiffusion
v77 v78 289 289 290 290 === Constant Slope Boundary === 291 Here we want the flux to be constant so energy does not pile up near the boundary. So we want [[latex(\alpha_g = \alpha_i) \mbox { and } E_g=2*E_i-E_j)]] This will effectively cancel all terms related to alpha. However, we want to maintain this boundary during the implicit solve, so we also need to modify the matrix connections and subtract [[latex(\alpha_g \mbox{ from } \alpha_i)]] but this will effectively zero out the matrix connections to the interior as well. This can also be done by setting [[latex(\alpha_g = \alpha_i = 0)]]291 Here we want the flux to be constant so energy does not pile up near the boundary. If we cancel all derivative terms on both sides of the cell, this will effectively match the incoming flux with the outgoing flux. This can also be done by setting [[latex(\alpha_g = \alpha_i = 0)]] 292 292 293 293 === Periodic Boundary ===