HydroCODE_1D 0.1
This is a implementation of fully explict forward Euler scheme for 1-D Euler equations of motion on Lagrangian/Eulerian coordinate
finite_volume.h
浏览该文件的文档.
1
7#ifndef FINITEVOLUME_H
8#define FINITEVOLUME_H
9
10#include "../include/var_struc.h"
11
12// 1-D Godunov/GRP scheme (Lagrangian, single-component flow)
13void Godunov_solver_LAG_source(const int m, struct cell_var_stru CV, double * X[], double * cpu_time, double * time_plot);
14void GRP_solver_LAG_source(const int m, struct cell_var_stru CV, double * X[], double * cpu_time, double * time_plot);
15
16// 1-D Godunov/GRP scheme (Eulerian, single-component flow)
17void Godunov_solver_EUL_source(const int m, struct cell_var_stru CV, double * cpu_time, double * time_plot);
18void GRP_solver_EUL_source(const int m, struct cell_var_stru CV, double * cpu_time, double * time_plot);
19
20// 2-D Godunov/GRP scheme (Eulerian, single-component flow)
21void GRP_solver_2D_EUL_source(const int m, const int n, struct cell_var_stru * CV, double * cpu_time, double * time_plot);
22void GRP_solver_2D_split_EUL_source(const int m, const int n, struct cell_var_stru * CV, double * cpu_time, double * time_plot);
23
24#endif
void GRP_solver_2D_split_EUL_source(const int m, const int n, struct cell_var_stru *CV, double *cpu_time, double *time_plot)
This function use GRP scheme to solve 2-D Euler equations of motion on Eulerian coordinate with dimen...
void GRP_solver_LAG_source(const int m, struct cell_var_stru CV, double *X[], double *cpu_time, double *time_plot)
This function use GRP scheme to solve 1-D Euler equations of motion on Lagrangian coordinate.
void Godunov_solver_EUL_source(const int m, struct cell_var_stru CV, double *cpu_time, double *time_plot)
This function use Godunov scheme to solve 1-D Euler equations of motion on Eulerian coordinate.
void GRP_solver_2D_EUL_source(const int m, const int n, struct cell_var_stru *CV, double *cpu_time, double *time_plot)
This function use GRP scheme to solve 2-D Euler equations of motion on Eulerian coordinate without di...
void GRP_solver_EUL_source(const int m, struct cell_var_stru CV, double *cpu_time, double *time_plot)
This function use GRP scheme to solve 1-D Euler equations of motion on Eulerian coordinate.
void Godunov_solver_LAG_source(const int m, struct cell_var_stru CV, double *X[], double *cpu_time, double *time_plot)
This function use Godunov scheme to solve 1-D Euler equations of motion on Lagrangian coordinate.
pointer structure of VARiables on STRUctural computational grid CELLs.
Definition: var_struc.h:35