Skip to main content

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

Metadata

Release files for FMU4FOAM 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for FMU4FOAM 1.0.0
File Size Uploaded
FMU4FOAM-1.0.0.tar.gz 2.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for FMU4FOAM 1.0.0
File Interpreter ABI Platform
FMU4FOAM-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 MB

Release files / FMU4FOAM-1.0.0.tar.gz

Download URL FMU4FOAM-1.0.0.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
4e291737435bb71f4425f6720888d460a2fcb72b07845109ee4c3df1b4b63462
BLAKE2b-256 checksum
How to use checksums
4619886295dd4eedd2688d4524616c21d8ae3c068b3dd428aafb35fdaf76dcc5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / FMU4FOAM-1.0.0-py3-none-any.whl

Download URL FMU4FOAM-1.0.0-py3-none-any.whl
Size 2.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a04ffe0c13f86740ab69d0afa0fc62489abfbdc447148035254730f440db55f7
BLAKE2b-256 checksum
How to use checksums
7aa8a7ade43b2a27cba3af17f8c2d8e376f7995a00367a95a309a78fe92b3d5e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page