This file is a function which generates Eulerian fluxes in y-direction of 2-D Euler equations solved by 2-D GRP scheme. 更多...
#include <stdio.h>#include <math.h>#include "../include/var_struc.h"#include "../include/flux_calc.h"| 函数 | |
| int | flux_generator_y (const int m, const int n, const int nt, const double tau, struct cell_var_stru *CV, struct b_f_var *bfv_D, struct b_f_var *bfv_U, const _Bool Transversal) | 
| This function calculate Eulerian fluxes of 2-D Euler equations in y-direction by 2-D GRP solver.  更多... | |
This file is a function which generates Eulerian fluxes in y-direction of 2-D Euler equations solved by 2-D GRP scheme.
在文件 flux_generator_y.c 中定义.
| int flux_generator_y | ( | const int | m, | 
| const int | n, | ||
| const int | nt, | ||
| const double | tau, | ||
| struct cell_var_stru * | CV, | ||
| struct b_f_var * | bfv_D, | ||
| struct b_f_var * | bfv_U, | ||
| const _Bool | Transversal | ||
| ) | 
This function calculate Eulerian fluxes of 2-D Euler equations in y-direction by 2-D GRP solver.
Passes variable values on both sides of the interface to the structure variables b_f_var bfv_L and bfv_R, and use function GRP_2D_scheme() to calculate fluxes.
| [in] | m | Number of the x-grids: n_x. | 
| [in] | n | Number of the y-grids: n_y. | 
| [in] | nt | Current plot time step for computing updates of conservative variables. | 
| [in] | tau | The length of the time step. | 
| [in,out] | CV | Structure of cell variable data. | 
| [in] | bfv_D | Structure pointer of fluid variables at downside boundary. | 
| [in] | bfv_U | Structure pointer of fluid variables at upper boundary. | 
| [in] | Transversal | Whether the tangential effect is considered. | 
| 0 | Successful calculation. | 
| 1 | Calculation error of left/right states. | 
| 2 | Calculation error of interfacial fluxes. | 
在文件 flux_generator_y.c 第 30 行定义.