Core module for genpod for UQ
Project description
Galerkin POD for PDEs with Uncertainties
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gen_pod_uq-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fc0af297789fef4139a734036ac560334d6a43ca3c7f8f15bd570682c96c3fd |
|
MD5 | e5d174124739f744cd98d988627bb426 |
|
BLAKE2b-256 | 78e055d8afd1916c4b47e4325e596411df94fd71274a80ec97e343a9987a9c8e |