Changes between Version 121 and Version 122 of FluxLimitedDiffusion


Ignore:
Timestamp:
03/30/13 22:41:15 (12 years ago)
Author:
Jonathan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • FluxLimitedDiffusion

    v121 v122  
    401401so that the first equation can be written as
    402402
    403   [[latex(\frac{\partial e}{\partial t}  = f \left ( e_0 \right ) + \frac{\partial f}{\partial e} \left ( e - e_0 \right ) )]]
     403  [[latex(\frac{\partial e}{\partial t}  = f \left ( e_0 \right ) + g \left ( E,\nabla E \right )  + \frac{\partial f}{\partial e} \left ( e - e_0 \right ) )]]
    404404
    405405and then discretized as
    406406
    407   [[latex(e^{n+1}_i-e^{n}_i = \frac{\Delta t}{\Delta x}  \left ( f \left ( e_n \right ) + g \left ( e_n,E^*,\nabla E^* \right ) \right ) + \left ( \left ( \bar{\psi} - 1 \right ) \phi \right ) e_n +  \psi \phi e^{n+1}_i ]]
     407  [[latex(e^{n+1}_i-e^{n}_i = \frac{\Delta t}{\Delta x}  \left ( f \left ( e^i_n \right ) + g \left ( e^n_i,E^*,\nabla E^* \right ) \right ) + \left ( \left ( \bar{\psi} - 1 \right ) \phi \right ) e^n_i +  \psi \phi e^{n+1}_i) ]]
    408408
    409409which can be solved for [[latex(e^{n+1} = \frac{1}{1-\psi \phi} \left ( \left ( \bar{\psi} - 1 \right ) \phi e^n_i + f \left ( e^n_i \right ) + g \left ( e^n_i,E^*,\nabla E^* \right ) \right ) )]]