v2412: New and improved usability

Updated to C++17

TOP

The minimum C++ standard has been increased from C++14 to C++17 to help support ongoing GPU developments

New tutorial demonstrations

TOP

missingCorner

This is a simple tutorial to showcase various mesh utilities:

  • cellDecomposition functionObject to create a tet mesh
  • polyDualMesh to convert the tets to polyhedra
  • surfaceMeshExtract to create additional pointPatches
  • moveDynamicMesh to slightly morph the mesh. The mesh morphing is done using a Laplacian point smoothing ignoring the feature constraints so does a bad job of improving the mesh quality.

Tet mesh and polyhedral mesh:

Source code

Tutorial

damBreakLeakage

This is a variant of the damBreak tutorial to showcase using cyclicACMI to control flow. In this tutorial

  • additional (cyclicACMI) baffles block the flow of the liquid
  • at time 0.5s a set of faces at the bottom half of the blockage open
  • this is done through a cyclicACMI which uses the scale factor to convert from fully uncoupled, i.e. wall, to fully coupled.
  • the scale is set through a coded Function1 entry in the patch definition in constant/polyMesh/boundary
  • Initial condition: closed blockage (red)

Source code

Tutorial