next up previous contents
Next: Summary of the Compressible Up: Compressible Viscous Magnetohydrodynamics Simulations Previous: Implementation of the Euler

Implementation of the Viscous Terms

The viscous terms are evaluated in two steps. First, we obtain the spatial derivatives of the primitive variables using the discontinuous Galerkin approach. Then, we repeat the process for each of the viscous fluxes using these derivatives. If the user supplies Dirichlet boundary conditions for the momentum and energy variables we set these terms explicitly after the fluxes have been evaluated and then project the result using the orthogonal basis.



T. Warburton
10/24/1998