/openfoam-smartsim

Sub-module for OpenFOAM that provides a solver for embedding SmartSim and its external dependencies (i.e. SmartRedis) into OpenFOAM.

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0

openfoam-smartsim

General Description

Sub-module for OpenFOAM that provides a solver for embedding SmartSim and its external dependencies (i.e. SmartRedis) into arbitrary OpenFOAM simulations.

The sub-module provides examples for coupling OpenFOAM with SmartSim - pre-processing application - function object - mesh motion solver

License

The source code license: GPL-3.0-or-later

Requirements

  1. OpenFOAM-v2212 or newer, or a recent development version from OpenFOAM.com.
  2. SmartSim 0.5.1
  3. SmartRedis N.N.N

Building

The OpenFOAM-SmartSim coupling functions over a connection that OpenFOAM as a client maintains with the SmartRedis database. This means that OpenFOAM elements (application, solver, function object, boundary condition, etc.) must be able to include SmartRedis source folders and link with a SmartRedis library. To facilitate this, ensure that the OpenFOAM environment is active and that SmartRedis can be found. Check that the PETSC_ARCH_PATH environment variable is properly set. If the variable is empty, source the configure-smartredis.sh script.

Using the supplied Allwmake script without arguments:

./Allwmake

will install the example OpenFOAM-SmartSim applications and libraries into FOAM_USER_LIBBIN.

How to use it

TODO

Authors / Contributors

Name Affiliation Email
Alessandro Rigazzi HPE
Andrew Shao HPE
Andre Weiner TU Dresden
Matt Ellis HPE
Tomislav Maric TU Darmstadt

References