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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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