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

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

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

浏览源代码.

函数

void HLL_2D_solver (double *F, double *lambda_max, const struct i_f_var *ifv_L, const struct i_f_var *ifv_R)
 A HLL approxiamate Riemann solver for unsteady compressible inviscid single-component flow in two space dimension. 更多...
 

详细描述

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

在文件 hll_2D_solver.c 中定义.

函数说明

◆ HLL_2D_solver()

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

A HLL approxiamate Riemann solver 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.
参见
Theory is found in Chapter 10 of Reference [1].
[1] E. F. Toro, "Riemann Solvers and Numerical Methods for Fluid Dynamics". Springer-Verlag, Second Edition, 1999

在文件 hll_2D_solver.c25 行定义.

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