Skip to main content

A lightweight framework that enables the packaging of OpenFOAM as co-simulation FMUs.

Project description

FMU4FOAM

A framework that enables the coupling of OpenFOAM with FMUs or the distribution of OpenFOAM as an FMU

Accurate CFD simulations often require complex boundary conditions that may be depend on numerous other engineering disciplines. Currently, these boundary conditions would require the addition of new models to the open-source CFD framework OpenFOAM which is error-prone and time-consuming. FMI standard offers a container (FMUs) to exchange multi-physics models that can be used to simulate these multi-physics. This library provides the possibility of coupled FMUs with OpenFOAM or exporting OpenFOAM as an FMU.

Documentation

Documentation hosted in github pages

How to install?

Assumes that the OpenFOAM version 2012 or higher and python v3.8+ is already installed

  1. Install FMU4FOAM package:

requires conan and pythonfmu

pip install fmu4foam

Compile OpenFOAM

./build-ECI4FOAM.sh # init submodule
./Allwmake

more details are found in the documentation

run example

cd examples/TempControlFlange/
./Allrun

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FMU4FOAM-1.0.0.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

FMU4FOAM-1.0.0-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file FMU4FOAM-1.0.0.tar.gz.

File metadata

  • Download URL: FMU4FOAM-1.0.0.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for FMU4FOAM-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4e291737435bb71f4425f6720888d460a2fcb72b07845109ee4c3df1b4b63462
MD5 fdecdfcdac951fbefd74429094069257
BLAKE2b-256 4619886295dd4eedd2688d4524616c21d8ae3c068b3dd428aafb35fdaf76dcc5

See more details on using hashes here.

File details

Details for the file FMU4FOAM-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: FMU4FOAM-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for FMU4FOAM-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a04ffe0c13f86740ab69d0afa0fc62489abfbdc447148035254730f440db55f7
MD5 0515769b6882b42399312aa902d36994
BLAKE2b-256 7aa8a7ade43b2a27cba3af17f8c2d8e376f7995a00367a95a309a78fe92b3d5e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page