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_solver.c 文件参考

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

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

浏览源代码.

函数

void Roe_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 one space dimension. 更多...
 

详细描述

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

在文件 roe_solver.c 中定义.

函数说明

◆ Roe_solver()

void Roe_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 one space dimension.

参数
[out]FAll three fluxes.
[out]lambda_maxMaximum characteristic velocity.
[in]ifv_LLeft States (rho_L, u_L, p_L, gamma).
[in]ifv_RRight States (rho_R, u_R, p_R).
  • gamma: the constant of the perfect gas.
[in]deltaParameter to modify the modulus of the eigenvalues. (NOT USED!)
参见
Theory is found in Chapter 11 of Reference [1].
[1] E. F. Toro, "Riemann Solvers and Numerical Methods for Fluid Dynamics". Springer-Verlag, Second Edition, 1999

在文件 roe_solver.c25 行定义.

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