Watershed3d

Random terrain

  1. Random noise terrain object created in Blender 2.82.
  2. Terrain exported as STL which is readable by snappyHexMesh.
  3. Boundary patches set to be walls to enable obvious pooling.
  4. OpenFOAM 9 snappyHexMesh inserts the object as a patch in the grid with additional surface layer cells. This made a total of 651878 grid cells in the mesh.
  5. interFoam is used to simulate the water falling onto the terrain and pooling with 1ms timestep.
  6. Simulation was run on my AMD 12-core Ryzen 9 desktop in less than 12 hours.
  7. paraFoam (ParaView) is used manually to collect all written state frames into a movie.
Animation created with ParaView:

OpenFOAM case source files [zip] runnable on Linux + OpenFOAM9.

More Realistic Terrain

  1. terrain object created in Blender 2.82 using a height map exported from an online topography browser.
  2. Terrain exported as STL which is readable by snappyHexMesh.
  3. Boundary patches set to be walls to enable obvious pooling.
  4. OpenFOAM 9 snappyHexMesh inserts the object as a patch in the grid with additional surface layer cells. This made a total of 532937 grid cells in the mesh.
  5. interFoam is used to simulate the water falling onto the terrain and pooling.
  6. Simulation was run on my AMD 12-core Ryzen 9 desktop in less than 4 hours at 2ms timestep.
  7. paraFoam (ParaView) is used manually to collect all written state frames into a movie.
Animation created with ParaView:
Return to Env Modelling projects list.