11void example_io(
const char * example,
char * add_mkdir,
const int i_or_o);
24 double * X[],
const double * cpu_time,
const char * name,
const double * time_plot);
26 double ** X,
double ** Y,
const double * cpu_time,
const char * name,
const double * time_plot);
28 double ** X,
double ** Y,
const double * cpu_time,
const char * problem,
const double * time_plot);
33void config_write(
const char * add_out,
const double * cpu_time,
const char * name);
struct flu_var _2D_initialize(const char *name)
This function reads the 2-D initial data file of velocity/pressure/density.
void _2D_file_write(const int n_x, const int n_y, const int N, const struct cell_var_stru CV[], double **X, double **Y, const double *cpu_time, const char *name, const double *time_plot)
This function write the 2-D solution into output .dat files.
int flu_var_read(FILE *fp, double *U, const int num)
This function reads the initial data file to generate the initial data.
int flu_var_count_line(FILE *fp, const char *add, int *n_x)
This function counts the line and column number of the numbers are there in the initial data file.
void config_write(const char *add_out, const double *cpu_time, const char *name)
void example_io(const char *example, char *add_mkdir, const int i_or_o)
This function produces folder path for data input or output.
struct flu_var _1D_initialize(const char *name)
This function reads the 1-D initial data file of velocity/pressure/density.
void _1D_file_write(const int m, const int N, const struct cell_var_stru CV, double *X[], const double *cpu_time, const char *name, const double *time_plot)
This function write the 1-D solution into output .dat files.
int flu_var_count(FILE *fp, const char *add)
This function counts how many numbers are there in the initial data file.
void configurate(const char *name)
This function controls configuration data reading and validation.
void _2D_TEC_file_write(const int n_x, const int n_y, const int N, const struct cell_var_stru CV[], double **X, double **Y, const double *cpu_time, const char *problem, const double *time_plot)
This function write the 2-D solution into Tecplot output files.
pointer structure of VARiables on STRUctural computational grid CELLs.
pointer structure of FLUid VARiables.