Skip to main content

Galerkin POD for PDEs with Uncertainties

DOI

This is the code of the numerical experiments in our paper

Benner, Heiland (2020): Space and Chaos-expansion Galerkin POD Low-order Discretization of PDEs for Uncertainty Quantification

in the third version from December 2022.

Installation

Install dolfin and gmesh.

Then clone this repo and install the package with dependencies via

pip install -e .  # make sure you use Python 3

if the installation of multim-galerkin-pod fails because of scikit-sparse try pip install --no-deps multidim-galerkin-pod==1.1.0 instead.

The source are in gen_pod_uq and the files for the simulations are in scripts.

Rerun the simulations

NOTE: For reproduction of the results, use version 1.1.4 of the package to be installed like

pip install gen-pod-uq==1.1.4

from the pypi repo

Generate the mesh

cd mesh
mkdir 3D-mshs
source maketheme-3D.sh

Results of the PCE and POD approximations

To reproduce the results of the manuscript

cd scripts
source runitall.sh

You may want to comment out some parts.

The raw data of our simulations is provided in the folder rawdata. In order to postprocess copy it to the scripts/cached-data folder

# ## caution: this may replace computed data
# cp rawdata/*json scripts/cached-data/
# ## caution: this may replace computed data

Post Processing

cd scripts
source postprocess.sh

Evaluating the Kolmogorov Metric

cd scripts
python3 kolmogorov-metrix.py

In order to (only) compute the plots, one may run a reduced experiment by setting

onlyplots = True

in kolmogorov-metrix.py.

Release files for gen-pod-uq 1.1.4

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

Source distribution (sdist)

Source distribution for gen-pod-uq 1.1.4
File Size Uploaded
gen_pod_uq-1.1.4.tar.gz 1.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for gen-pod-uq 1.1.4
File Interpreter ABI Platform
gen_pod_uq-1.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / gen_pod_uq-1.1.4.tar.gz

Download URL gen_pod_uq-1.1.4.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
dd1f72fff7f8278f3ac01d6f4b99e3fb94449ef16fcb4c4be9a5400647f5b175
BLAKE2b-256 checksum
How to use checksums
7e27e319d58553c791fec1f84e4d0e080ef68e300fc0b19a79fd061071fca163
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release files / gen_pod_uq-1.1.4-py3-none-any.whl

Download URL gen_pod_uq-1.1.4-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ccceb73179788567bd9e7a12cdad2c56ce81065215457f718863cba879321e4c
BLAKE2b-256 checksum
How to use checksums
dfbf1b20aef997064b0c4f3d7fe23f0c88cd9bd2d1385463227130d54473c8b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10
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