wiki:u/johannjc/scratchpad

Version 6 (modified by Jonathan, 11 years ago) ( diff )

So Marshak boundary conditions are mixed

If we discretize this equation we get (E_g is ghost zone, E_i is internal zone at left edge)

which we can solve for as

and we have

and

If we then plug this into the time evolution equation:

we get

where is the time averaged energy and depends on the time stepping (crank-nicholson or forward euler)

and finally we arrive at

This is very similar to what we normally get ie

and noting that for the limiter

or flux is just

Note that for

4 \alpha \psi

Note: See TracWiki for help on using the wiki.