Skip to main content

Core module for genpod for UQ

Project description

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

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.0.2 instead.

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

Rerun the simulations

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.

Meshtest

cd scripts
python3 test_the_meshs.py

The small examples of Section 6

cd scripts
python3 test_pce_mc.py

The file test_pce_mc.py has appended the commands that can be processed in Mathematica to compute the reference values.

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

gen_pod_uq-0.0.3.tar.gz (45.5 kB view hashes)

Uploaded Source

Built Distribution

gen_pod_uq-0.0.3-py3-none-any.whl (5.4 kB 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