GithubHelp home page GithubHelp logo

isabella232 / data-driven-advection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google-research/data-driven-advection

0.0 0.0 0.0 2.62 MB

License: Apache License 2.0

Python 8.80% Jupyter Notebook 91.20%

data-driven-advection's Introduction

Data driven discretizations for solving 2D advection problems

This repository contains the code used in the paper

Learned discretizations for passive scalar advection in a two dimensional turbulent flow. Jiawei Zhuang, Dmitrii Kochkov, Yohai Bar-Sinai, Michael P. Brenner, Stephan Hoyer. Physical Review Fluids, in print. arXiv: 2004.05477

This is an extension of the techniques developed in:

Learning data-driven discretizations for partial differential equations. Yohai Bar-Sinai*, Stephan Hoyer*, Jason Hickey, Michael P. Brenner. PNAS 2019, 116 (31) 15344-15349.

See this repository for the code used to produce results for the PNAS paper.

This is not an official Google product.

Installation

Installation is most easily done using pip.

  1. Create or activate a virtual environment (e.g. using virtualenv or conda).

  2. Install TensorFlow.

  3. If you just want to install the package without the code, simply use pip to install directly from github:

    pip install git+git//github.com/google-research/data-driven-pdes

    If you want to fiddle around with the code, cd to where you want to store the code, clone the repo and install:

cd <your directory>
git clone git+https://github.com/google-research/data-driven-pdes
pip install -e data-driven-pdes

Usage

We aim to make the code accessible for researchers who want to apply our method to their favorite PDEs. To this end we wrote, and continue to write, tutorials and documentation. This is still very much in development, please open an issue if you have questions.

  1. A tutorial notebook that explains some of the basic notions in the code base and demonstrates how to use the framework to define new equations.
  2. This notebook contains a complete example of creating a training database, defining a model, training it and evaluating the trained model (well documented, though less pedagogical).

data-driven-advection's People

Contributors

jiaweizhuang avatar shoyer avatar yohai avatar

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.