HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Miscellaneous functions for the 2D Navier Stokes equations. More...
Go to the source code of this file.
Functions | |
int | NavierStokes2DRoeAverage (double *uavg, double *uL, double *uR, void *p) |
Miscellaneous functions for the 2D Navier Stokes equations.
Definition in file NavierStokes2DFunctions.c.
int NavierStokes2DRoeAverage | ( | double * | uavg, |
double * | uL, | ||
double * | uR, | ||
void * | p | ||
) |
Compute the Roe-averaged state for the 2D Navier Stokes equations. This function just calls the macro _NavierStokes2DRoeAverage_ and is not used by any functions within the 2D Navier Stokes module. However, it's necessary to define it and provide it to the the solver object (HyPar) so that it can then send it to interpolation functions for a characteristic-based reconstruction.
uavg | The computed Roe-averaged state |
uL | Left state (conserved variables) |
uR | Right state (conserved variables) |
p | Object of type NavierStokes2D with physics-related variables |
Definition at line 15 of file NavierStokes2DFunctions.c.