Update: July 1, 2017

$FOAM_TUTORIALS/multiphase/interPhaseChangeFoam/cavitatingBullet

We calculate the cavitation (bubbles that form and disappear due to pressure differences) around a bullet moving through water at 20 m/s for 0.05 seconds.

Model

The fluid flows in from the region "inlet" at (0, 0, 20) m/s and out from the region "outlet". The bullet surface is assumed to be no-slip, and the side walls of the analysis region are assumed to be symmetric.

The meshes are as follows, and the number of mesh is 711261.

Meshes (on YZ-plane)

Meshes (on YZ-plane, zoomed)

The calculation result is as follows.

Volume ratio of water (alpha.water)

Flow velocity at final time (U)

Pressure at final time (p_rgh)

Volume ratio of water at final time (alpha.water)

cp -r $FOAM_TUTORIALS/multiphase/interPhaseChangeFoam/cavitatingBullet cavitatingBullet

cd cavitatingBullet

cp $FOAM_TUTORIALS/resources/geometry/bullet.stl.gz constant/triSurface/

blockMesh

snappyHexMesh -overwrite

cp -r 0.orig 0

potentialFoam -pName p_rgh

interPhaseChangeFoam

paraFoam

cd cavitatingBullet

cp $FOAM_TUTORIALS/resources/geometry/bullet.stl.gz constant/triSurface/

blockMesh

snappyHexMesh -overwrite

cp -r 0.orig 0

potentialFoam -pName p_rgh

interPhaseChangeFoam

paraFoam

- Making meshes: 1 minutes 12.04 seconds
- Calculating: 2 hours 59 minutes 30.25 seconds

*Single, Core(TM) i7-2600 CPU @ 3.40GHz 3.40GHz