Giter VIP home page Giter VIP logo

willcox-research-group / affine-parametric-opinf Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 15.85 MB

Source code for the paper "Non-intrusive reduced-order models for parametric partial differential equations via data-driven operator inference" by McQuarrie, Khodabakhshi, and Willcox

Home Page: https://arxiv.org/abs/2110.07653

License: MIT License

Python 100.00%
model-reduction operator-inference scientific-machine-learning data-driven-reduced-model parametric-model-reduction

affine-parametric-opinf's Introduction

License Top language Code size Latest commit Research article

Operator Inference for Parametric PDEs

This repository is the source code for the preprint Non-intrusive reduced-order models for parametric partial differential equations via data-driven operator inference (PDF) by McQuarrie, Khodabakhshi, and Willcox.

BibTeX
@article{mcquarrie2021opinf,
author = {Shane A. McQuarrie and Parisa Khodabakhshi and Karen E. Willcox},
title = {Non-intrusive reduced-order models for parametric partial differential equations via data-driven operator inference},
journal = {arXiv preprint arXiv:2110.07753},
year = {2021},
}

Abstract

This work formulates a new approach to reduced modeling of parameterized, time-dependent partial differential equations (PDEs). The method employs Operator Inference, a scientific machine learning framework combining data-driven learning and physics-based modeling. The parametric structure of the governing equations is embedded directly into the reduced-order model, and parameterized reduced-order operators are learned via a data-driven linear regression problem. The result is a reduced-order model that can be solved rapidly to map parameter values to approximate PDE solutions. Such parameterized reduced-order models may be used as physics-based surrogates for uncertainty quantification and inverse problems that require many forward solves of parametric PDEs. Numerical issues such as well-posedness and the need for appropriate regularization in the learning problem are considered, and an algorithm for hyperparameter selection is presented. The method is illustrated for a parametric heat equation and demonstrated for the FitzHugh-Nagumo neuron model (shown above).

Repository Contents

Heat Equation

  • heat.py: defines classes for solving the one-dimensional parametric heat problem with piecewise constant diffusion.
    • HeatSolver: high-fidelity finite difference solver.
    • HeatROM: operator inference reduced-order model solver.

FitzHugh-Nagumo System

  • fhn.py: defines classes for solving the FitzHugh-Nagumo neuron model.
    • FHNSolver: high-fidelity finite difference solver.
    • FHNROMSolver: reduced-order model solver.
    • AffineFHNROM: operator inference reduced-order model.
    • AffineFHNROM_Intrusive: reduced-order model from intrusive projection.
  • fhn_rom_search.py: script for operator inference hyperparameter search.

Utilities

  • config.py: configuration (naming conventions, plot customizations, etc.).
  • utils.py: utilities (logging, timing, data management).

Citation

If you find this repository useful, please consider citing our paper:

McQuarrie, S. A., Khodabakhshi, P and Willcox, K. E., Non-intrusive reduced-order models for parametric partial differential equations via data-driven operator inference. arXiv preprint 2110.07653, 2021.

@article{mcquarrie2021popinf,
    author = {Shane A. McQuarrie and Parisa Khodabakhshi and Karen E. Willcox},
    title = {Non-intrusive reduced-order models for parametric partial differential equations via data-driven operator inference},
    journal = {arXiv preprint arXiv:2110.07753},
    year = {2021},
}

affine-parametric-opinf's People

Contributors

shanemcq18 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

aj-perry

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.