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

in the second version from July 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.1 of the package to be installed like

pip install gen-pod-uq==1.1.1

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

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-1.1.4.dev10.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

gen_pod_uq-1.1.4.dev10-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file gen_pod_uq-1.1.4.dev10.tar.gz.

File metadata

  • Download URL: gen_pod_uq-1.1.4.dev10.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for gen_pod_uq-1.1.4.dev10.tar.gz
Algorithm Hash digest
SHA256 43b0f2480a170e39bc2a25ee4f5e9caaa42d58fd7a390908d464bbf98ae50aa6
MD5 c903cdcc61147464a4266c6a29847fac
BLAKE2b-256 3351f14d94115bcd5f74ac6d48076d59beff0e797fffcaaa6969b1725e0e2901

See more details on using hashes here.

File details

Details for the file gen_pod_uq-1.1.4.dev10-py3-none-any.whl.

File metadata

File hashes

Hashes for gen_pod_uq-1.1.4.dev10-py3-none-any.whl
Algorithm Hash digest
SHA256 99954bfab6a5ffcda6e8d5d9cabb2fe1a39dc95455ff63a94363ef877a9e6283
MD5 8b4bf358ddd0708aaadb3452017b19cc
BLAKE2b-256 eff9c565428881113eeb65f48fd5c3829cb85d44fe847332c763fbc3c0681602

See more details on using hashes here.

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