#include <stdio.h>
#include <math.h>
#include "../../util/source/compiler.h"
#include "../../util/source/useful.h"
#include "flux_calc.h"
#include "../../mb_cns/source/cns_work_vector.h"
Defines | |
| #define | K_SWITCH 10.0 |
| #define | C_EFIX 0.125 |
Functions | |
| int | ausmdv (struct flow_state Lft[], struct flow_state Rght[], struct flux_data_1D IF[], int first, int last) |
| Compute the fluxes across an interface. | |
Implemented from details in their AIAA paper with hints from Ian Johnston.
* Y. Wada and M. -S. Liou (1994) * A flux splitting scheme with high-resolution and * robustness for discontinuities. * AIAA-94-0083. *
* 26-Jun-97: Initial coding. * 08-Jul-97: Fix entropy fix (ironic, eh?) * And finally debugged by Ian J. * 12-Oct-97: data structure for fluxes, array data * 15-Oct-97: vectorise for Cray *
|
||||||||||||||||||||||||
|
Compute the fluxes across an interface.
* IF[i].mass : flux of mass across the interface (kg/s/m**2) * IF[i].n_mom : flux of normal momentum * IF[i].p_mom : flux of tangential momentum * IF[i].q_mom * IF[i].energy : flux of energy * IF[i].species[] : array of species fluxes * e_vib[] : vibrational energies * e_e : free-electron energy * |
1.4.4