Machine learning enhanced exploration of bubble dynamics beneath horizontal wall
0_BubbleRising_Basilisk_Code
Multi-task running scripts
run_script.sh
basilisk code
- bubbleRise.c: main program
- run_continure.sh: Resumption of calculations after interruption
- run.sh: New calculation, which clears the result file
- Post-processing
- dumpToVTU.c: Converting snap to a paraview file
- run_vtu.sh: Load snap, batch generate vtu files
- getResults.c: Based on the snap file, perform restore, then calculate the position, deformation, and velocity of the bubble
- run_results.sh: Load snap, extract bubble results
- plot_script.gp: Plotting with gnuplot
- Header file
- adapt_wavelet_limited.h: Used for grid refinement, based on the maximum level of the specified refinement area.
- output_boundary.h: Calculate the boundary of the bubble based on the f-field and calculate the top, bottom, left, and right coordinates to compute the Ratio
- output_vtu_foreach.h: Converting paraview files
- output_mpi.h:Changed the original dump and restore files (conflicting with mpi), which can be run after the modifications, which are as follows, commenting out the last few lines(//s.dirty = true;)
An example
Take Ga40-Bo0.1-Lrise1-Level6 as an example
- model: Stores the basilisk source files corresponding to the different parameters.
- results: Stores the result files corresponding to the different parameters
- results_Picture: Stores the plots corresponding to the different parameters
1_BubbleRising_FeaturePre
0_Data_pre: Extract data
1_Normalization: Training set preprocessing
2_Pre_Feature Character values prediction for bubble rise
All data are located in folder "a_Ga_Bo_results_level6".
All input and output data are summarised in file "a_data_Ga_Bo.csv".