With the assistance of OpenCFD [4], we then extended the 2D Dam Break tutorial case to run in full 3D, with such a fine mesh that water droplets can be seen.
The value of hex in blockMeshDict is set to
hex (0 1 2 3 4 5 6 7) (184 184 184) simpleGrading (1 1 1)which gives 6.23 million cells.
Interestingly, as part of the pre-processing routines, the routine blockMesh failed due to lack of memory when running in HECToR's serial queue. This was circumvented by running blockMesh within a small parallel queue. (See Section 4.3).
![]() |
It can be seen from table 3 that the optimum number of processors is 128, when running interFoam using 6.23 million cells.
The case was configured so that increasing the resolution was simply updating the value of hex in blockMeshDict to read
hex (0 1 2 3 4 5 6 7) (230 230 230) simpleGrading (1 1 1)which gives 12.17 million cells. However, it was found that this case was simply too large to pre-process on either HECToR or Ness.
The 3D Dam Break benchmark case is available on the HECToR's OpenFOAM web page [12].