The phenomena of cavitation is explained in Cavitation.
This section presents 3 different tests of cavitation, based on Baer-Nunziato model [BN86], without relaxations, with infinite velocity relaxation and with infinite velocity and pressure relaxations,
realised with the Discrete Equation Method and the HLLC Riemann solver.
The equation of state used is stiffened gas with \(\gamma = 1.4\) and \(P_{\infty} = 0\) for air and \(\gamma = 4.4\) and \(P_{\infty} = 6 \times 10^{8}\). The input files for these tests can be found in ./libTests/referenceTestCases/NEqDEM/1D/cavitation/waterAir/ folder.
The line in ECOGEN.xml of the 2 tests is:
Remark:
If one wants to simulate cavitation phenomena without infinite relaxation procedure and with the same initial conditions, he must comment the lines relative to relaxation of the model.xml file.