HydroCODE_2D 0.1
This is a implementation of fully explict forward Euler scheme for 2-D Euler equations of motion on Eulerian coordinate
flux_calc.h
浏览该文件的文档.
1
7#ifndef FLUXCALC_H
8#define FLUXCALC_H
9
10#include "../include/var_struc.h"
11
12// Generate fluxes for 2-D Godunov/GRP scheme (Eulerian, single-component flow)
13int flux_generator_x(const int m, const int n, const int nt, const double tau, struct cell_var_stru * CV,
14 struct b_f_var * bfv_L, struct b_f_var * bfv_R, const _Bool Transversal);
15int flux_generator_y(const int m, const int n, const int nt, const double tau, struct cell_var_stru * CV,
16 struct b_f_var * bfv_D, struct b_f_var * bfv_U, const _Bool Transversal);
17
18// Flux of 2-D GRP solver (Eulerian, two-component flow)
19int GRP_2D_flux(struct i_f_var * ifv, struct i_f_var * ifv_R, const double tau);
20
21#endif
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.
Definition: flux_solver.c:24
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.
int flux_generator_x(const int m, const int n, const int nt, const double tau, struct cell_var_stru *CV, struct b_f_var *bfv_L, struct b_f_var *bfv_R, const _Bool Transversal)
This function calculate Eulerian fluxes of 2-D Euler equations in x-direction by 2-D GRP solver.
Fluid VARiables at Boundary.
Definition: var_struc.h:63
pointer structure of VARiables on STRUctural computational grid CELLs.
Definition: var_struc.h:35
Interfacial Fluid VARiables.
Definition: var_struc.h:47