Skip to main content

RBniCSx - reduced order modelling in FEniCSx

RBniCSx contains an implementation in FEniCSx of several reduced order modelling techniques for parametrized problems. RBniCSx is still at a very early development stage compared to legacy RBniCS, and many features are presently missing.

RBniCSx is currently developed and maintained at Università Cattolica del Sacro Cuore by Prof. Francesco Ballarin.

Like all core FEniCSx components, RBniCSx is freely available under the GNU LGPL, version 3.

Prerequisites

RBniCSx has a few build dependencies that must be installed manually. Follow the appropriate instructions below based on how dolfinx was installed.

If dolfinx was installed via conda

conda install -c conda-forge nanobind scikit-build-core

If dolfinx was installed via apt

apt install python3-nanobind python3-scikit-build-core

If dolfinx was installed via Docker or built from source

python3 -m pip install nanobind scikit-build-core[pyproject]

Installation

RBniCSx is available on PyPI. Use pip extras to install additional dependencies needed for the tutorials.

python3 -m pip install --no-build-isolation 'rbnicsx[backends,tutorials]'

Running tutorials

Tutorials are parameterized, meaning that 01_thermal_block.ipynb actually contains several cases, e.g. 01_thermal_block[reduction_method=POD Galerkin,online_efficient=True].ipynb and 01_thermal_block[reduction_method=Reduced Basis,online_efficient=True].ipynb. To run the tutorials, first clone the RBniCSx repository. Then, ensure you check out the tag that corresponds to the version of RBniCSx currently installed. Finally, generate all tutorials according to the parameterization.

git clone https://github.com/RBniCS/RBniCSx.git
cd RBniCSx
RBNICSX_VERSION=$(python3 -c "import rbnicsx; print(rbnicsx.__version__)")
git checkout ${RBNICSX_VERSION}
cd tutorials
python3 generate_tutorials.py

Metadata

Release files for RBniCSx 0.1.1

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

Source distribution (sdist)

Source distribution for RBniCSx 0.1.1
File Size Uploaded
rbnicsx-0.1.1.tar.gz 77.8 kB Details

Release files / rbnicsx-0.1.1.tar.gz

Download URL rbnicsx-0.1.1.tar.gz
Size 77.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b8ce2e43198389e692b49ac024b6955f18fc0b2e20c9d267f62679a284cba5f1
BLAKE2b-256 checksum
How to use checksums
2573be7bc6795e2085ecf431e580c6c1899a8cef8f540c27abdb8de28f8b58d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

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