This is the fortran code for the unified bubble theory which is used to simulate bubble dynamics in different circumstances.
The code is written with modern Fortran. Thus, a Fortran compiler is required. We recommend the intel oneapi HPC toolkit. On windows, the visual studio is used as the IDE. On linux, it can be compiled with make utility.
There are two folders here:
- unified-bubble-theory: the bubble dynamics model to simulate the bubble motion in different circumstances.
- unified-bubble-theory-for-underwater-explosion: the complete code for the underwater explosion simulation, including the nearfield solver, far-field solver and bubble solver.
The instructions for both can be found in the readme.md
file in each folder, respectively.
Users can refer to the following paper for detailed theory and equations: