HydroCODE_2D 0.1
This is a implementation of fully explict forward Euler scheme for 2-D Euler equations of motion on Eulerian coordinate
roe_2D_solver.c 文件参考

This is a two-dimensional Roe solver for compressible inviscid flow. 更多...

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "../include/var_struc.h"
roe_2D_solver.c 的引用(Include)关系图:

浏览源代码.

函数

void Roe_2D_solver (double *F, double *lambda_max, const struct i_f_var *ifv_L, const struct i_f_var *ifv_R, const double delta)
 An approxiamate Riemann solver of Roe for unsteady compressible inviscid single-component flow in two space dimension. 更多...
 

详细描述

This is a two-dimensional Roe solver for compressible inviscid flow.

在文件 roe_2D_solver.c 中定义.

函数说明

◆ Roe_2D_solver()

void Roe_2D_solver ( double *  F,
double *  lambda_max,
const struct i_f_var ifv_L,
const struct i_f_var ifv_R,
const double  delta 
)

An approxiamate Riemann solver of Roe for unsteady compressible inviscid single-component flow in two space dimension.

参数
[out]FAll four fluxes.
[out]lambda_maxMaximum characteristic velocity.
[in]ifv_LLeft States (rho_L, u_L, v_L, p_L, gamma, n_x, n_y).
[in]ifv_RRight States (rho_R, u_R, v_R, p_R).
  • gamma: the constant of the perfect gas.
  • (n_x, n_y): unit normal vector coordinates.
[in]deltaParameter to modify the modulus of the eigenvalues.
参见
Theory is found in Reference [1].
[1] H. Nishikawa & K. Kitamura, Very simple, carbuncle-free, boundary-layer-resolving, rotated-hybrid Riemann solvers. Journal of Computational Physics, 227.4: 2560-2581, 2008.

在文件 roe_2D_solver.c26 行定义.

这是这个函数的调用关系图: