This file is a set of functions to calculate interfacial fluxes and demanded variables according to the left and right state of the cell interface by certain solver. 更多...
#include <stdio.h>
#include <math.h>
#include "../include/var_struc.h"
#include "../include/inter_process.h"
#include "../include/riemann_solver.h"
函数 | |
void | Roe_flux (struct i_f_var *ifv, struct i_f_var *ifv_R) |
This function calculate Eulerian fluxes of Euler equations by Roe solver. 更多... | |
void | HLL_flux (struct i_f_var *ifv, struct i_f_var *ifv_R) |
This function calculate Eulerian fluxes of 2-D Euler equations by HLL solver. 更多... | |
int | Riemann_exact_flux (struct i_f_var *ifv, struct i_f_var *ifv_R) |
This function calculate Eulerian fluxes of 2-D Euler equations by Riemann solver. 更多... | |
int | GRP_2D_flux (struct i_f_var *ifv, struct i_f_var *ifv_R, const double tau) |
This function calculate Eulerian fluxes of 2-D Euler equations by 2-D GRP solver. 更多... | |
This file is a set of functions to calculate interfacial fluxes and demanded variables according to the left and right state of the cell interface by certain solver.
在文件 flux_solver.c 中定义.
This function calculate Eulerian fluxes of 2-D Euler equations by 2-D GRP solver.
[in,out] | ifv | Structure pointer of interfacial evaluated variables and fluxes and left state. |
[in] | ifv_R | Structure pointer of interfacial right state. |
[in] | tau | The length of the time step. |
0 | Successful calculation. |
1 | < 0.0 error. |
2 | NAN or INFinite error of mid[]. |
3 | NAN or INFinite error of dire[]. |
在文件 flux_solver.c 第 158 行定义.
This function calculate Eulerian fluxes of 2-D Euler equations by HLL solver.
[in,out] | ifv | Structure pointer of interfacial evaluated variables and fluxes and left state. |
[in] | ifv_R | Structure pointer of interfacial right state. |
在文件 flux_solver.c 第 49 行定义.
This function calculate Eulerian fluxes of 2-D Euler equations by Riemann solver.
[in,out] | ifv | Structure pointer of interfacial evaluated variables and fluxes and left state. |
[in] | ifv_R | Structure pointer of interfacial right state. |
0 | Successful calculation. |
1 | < 0.0 error. |
2 | NAN or INFinite error of mid[]. |
在文件 flux_solver.c 第 75 行定义.
This function calculate Eulerian fluxes of Euler equations by Roe solver.
[in,out] | ifv | Structure pointer of interfacial evaluated variables and fluxes and left state. |
[in] | ifv_R | Structure pointer of interfacial right state. |
在文件 flux_solver.c 第 19 行定义.