Sloshing of water in a tank (3D, 3 degree of freedom)

OpenFOAM 4.x

Case directory

$FOAM_TUTORIALS/multiphase/interDyMFoam/ras/sloshingTank3D3DoF

Summary

This tutorial is the same analysis as the tutorial "Sloshing of water in a tank (3D)", but the parameter values in the file "constant/dynamicMeshDict" are different from the tutorial.

Commands

cp -r $FOAM_TUTORIALS/multiphase/interDyMFoam/ras/sloshingTank3D3DoF sloshingTank3D3DoF
cd sloshingTank3D3DoF

m4 system/blockMeshDict.m4 > system/blockMeshDict
blockMesh
cp 0/alpha.water.orig 0/alpha.water
setFields
interDyMFoam

# Display in 3D
paraFoam

# Draw the pressures at the specified coordinates as a graph
gnuplot
gnuplot>plot "postProcessing/probes/0/p" using 1:2 title 'point 1' with lines lc rgb "black", "postProcessing/probes/0/p" using 1:3 title 'point 2' with lines dt (5,5) lc rgb "black"

Calculation time

42 minutes 38.69 seconds *Single, Inter(R) Core(TM) i7-2600 CPU @ 3.40GHz 3.40GHz