Skip to content

**experimental** preCICE-adapter for the open source computing platform FEniCS

License

Notifications You must be signed in to change notification settings

richahert/fenics-adapter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fenics-adapter

Build status GNU LGPL license

experimental preCICE-adapter for the open source computing platform FEniCS

Note: This adapter is currently purely expermental and limited in functionality. If you are interested in using it or you want to contribute, feel free to contact us via the preCICE mailing list.

currently only supports 2D simulations in FEniCS

This adapter was developed by Benjamin Rüth during his research stay at Lund University in the group for Numerical Analysis in close collaboration with Peter Meisrimel.

Installation

Dependencies

Make sure to install

Build and install the adapter

Run pip3 install --user . from your shell.

Test the adapter

As a first test, try to import the adapter via python3 -c "import fenicsadapter".

You can run the other tests via python3 setup.py test.

Use the adapter

Add from fenicsadapter import Adapter in your FEniCS code. Please refer to the examples in the tutorials repository for usage examples:

The adapter is configured via a json configuration file. For example configuration files and usage refer to the tutorials (fenics-fenics).

Packaging

To create and install the fenicsadapter python package the following instructions were used: https://python-packaging.readthedocs.io/en/latest/index.html.

Citing

preCICE is an academic project, developed at the Technical University of Munich and at the University of Stuttgart. If you use preCICE, please cite us:

H.-J. Bungartz, F. Lindner, B. Gatzhammer, M. Mehl, K. Scheufele, A. Shukaev, and B. Uekermann: preCICE - A Fully Parallel Library for Multi-Physics Surface Coupling. Computers and Fluids, 141, 250–258, 2016.

If you are using FEniCS, please also consider the information on https://fenicsproject.org/citing/.

Disclaimer

This offering is not approved or endorsed by the FEniCS Project, producer and distributor of the FEniCS software via https://fenicsproject.org/.

About

**experimental** preCICE-adapter for the open source computing platform FEniCS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%