9#ifdef MULTIFLUID_BASICS
10#undef MULTIFLUID_BASICS
15#define MULTIFLUID_BASICS
17#ifdef LAGRANGIAN_MAIRE
18#undef LAGRANGIAN_MAIRE
23#define LAGRANGIAN_MAIRE
50#ifdef MULTIFLUID_BASICS
52 double * PHI, * gamma;
53#ifdef MULTIPHASE_BASICS
54 double * RHO_b, * U_b, * V_b, * P_b;
71#ifdef MULTIFLUID_BASICS
93#ifdef MULTIFLUID_BASICS
94 double **F_e_a, *U_e_a, **Z_a_p, *gradx_z_a, *grady_z_a;
95 double **F_phi, *U_phi, **PHI_p, *gradx_phi, *grady_phi;
96 double **F_gamma, *U_gamma, **gamma_p, *gradx_gamma, *grady_gamma;
98 double **U_qt_star, **V_qt_star;
99 double **U_qt_add_c, **V_qt_add_c;
101#ifdef MULTIPHASE_BASICS_abandoned
102 double **RHO_star, **gamma_star, **P_star;
103 double **RHO_minus_c, **gamma_minus_c, **P_minus_c, **U_qt_minus_c, **V_qt_minus_c;
104 double **RHO_add_c, **gamma_add_c, **P_add_c;
105 double **u_star, **u_minus_c, **u_add_c;
107#ifdef LAGRANGIAN_MAIRE
108 double **F_p_x, **F_p_y;
109 double **dt_U_p, **dt_V_p, **dt_F_p_x, **dt_F_p_y;
128#ifdef MULTIFLUID_BASICS
129 double Z_a, d_z_a, t_z_a, F_e_a, U_e_a;
130 double PHI, d_phi, t_phi, F_phi, U_phi;
131 double d_gamma, t_gamma, F_gamma, U_gamma;
133 double U_qt_star, V_qt_star;
134 double U_qt_add_c, V_qt_add_c;
136#ifdef MULTIPHASE_BASICS_abandoned
137 double RHO_star, gamma_star;
138 double RHO_minus_c, gamma_minus_c, P_minus_c, U_qt_minus_c, V_qt_minus_c;
139 double RHO_add_c, gamma_add_c, P_add_c;
140 double u_star, u_minus_c, u_add_c;
182typedef struct radial_mesh_var {
191} Radial_Mesh_Variable;
Fluid VARiables at Boundary in one direction.
double V
primitive variables on the ghost grid cell at boundary.
double SV
spatial derivatives in coordinate x (slopes).
double H
cell width of the ghost grid at boundary.
double TV
spatial derivatives in coordinate y (slopes).
pointer structure of VARiables on STRUctural computational grid CELLs.
double ** E
specific total energy.
double ** F_v
numerical fluxes at (x_{j-1/2}, t_{n}).
double ** pIx
interfacial variable values in coordinate x at t_{n+1}.
double ** G_v
numerical fluxes at (y_{j-1/2}, t_{n}).
double * d_p
spatial derivatives in one dimension.
double ** s_p
spatial derivatives in coordinate x (slopes).
double ** pIy
interfacial variable values in coordinate y at t_{n+1}.
double ** P
density, velocity components in direction x and y, pressure.
double ** t_p
spatial derivatives in coordinate y (slopes).
pointer structure of VARiables on unstructured computational grid CELLs.
double * Y_c
x- and y-coordinates of the center point of grid cells.
int ** cell_cell
Topological relationships between grid cells.
double ** F_v
interfacial fluxes.
double * gradx_v
spatial derivatives in coordinate x (gradients).
double * U_v
conservative variables.
double ** n_y
x- and y-coordinates of the interfacial unit normal vector.
double * grady_v
spatial derivatives in coordinate y (gradients).
double * vol
area(volume) of each grid cell.
pointer structure of FLUid VARiables array.
Interfacial Fluid VARiables.
double V
primitive variable values at t_{n}.
double V_int
interfacial primitive variables at t_{n+1}.
double lambda_v
grid moving velocity components in direction x and y.
double d_p
normal spatial derivatives.
double n_y
x- and y-coordinates of the interfacial unit normal vector.
double t_p
tangential spatial derivatives OR spatial derivatives in Lagrangian coordinate ξ.
double gamma
specific heat ratio.
double delta_y
distance from the interfacial center to the grid cell center in direction x and y.
double length
length of the interface.
double F_v
interfacial fluxes at t_{n+1/2}.
double U_v
interfacial conservative variables at t_{n}.
int * border_pt
Serial number of each grid node on the connected boundary in the clockwise direction.
int * period_cell
Serial number of ghost grid cells at the periodic boundary.
int num_ghost
Total number of ghost grid cells.
int num_border[10]
num_border[0] is the total number of connected boundaries on the entire computational domain.
void(* bc)(struct cell_var *cv, const struct mesh_var *mv, struct flu_var *FV, double t)
Pointer to the boundary condition function.
int ** cell_pt
Serial number of each grid node on a grid cell in the clockwise direction.
int * border_cond
Boudary condition indicator of i-th grid cell interface at the boundary.
int num_pt
Total number of grid nodes.
struct mesh_var Mesh_Variable
MESHing VARiables.
struct i_f_var Interface_Fluid_Variable
Interfacial Fluid VARiables.
struct cell_var Cell_Variable
pointer structure of VARiables on unstructured computational grid CELLs.
struct flu_var Fluid_Variable
pointer structure of FLUid VARiables array.
struct b_f_var Boundary_Fluid_Variable
Fluid VARiables at Boundary in one direction.
double config[]
Initial configuration data array.
struct cell_var_stru Cell_Variable_Structured
pointer structure of VARiables on STRUctural computational grid CELLs.