Code Monkey home page Code Monkey logo

pmocz / finitevolume2-python Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 5.0 69 KB

Create Your Own Finite Volume Fluid Simulation (With Python) Part 2: Boundary Conditions and Source Terms

Home Page: https://philip-mocz.medium.com/create-your-own-finite-volume-fluid-simulation-with-python-part-2-boundary-conditions-source-bda6994b4645

License: GNU General Public License v3.0

Python 100.00%
euler-equation finite-volume rayleigh-taylor scientific-computing simulation tutorial

finitevolume2-python's Introduction

Philip Mocz -- @pmocz

Computational Physicist and Software Engineer | Flatiron Institute

๐Ÿ’ฅ I am a computational scientist and software engineer, experienced in developing multi-physics simulation algorithms for advanced heterogeneous computing architectures. I like to develop scientific software for computational fluid dynamics, astrophysics, and plasma physics.

๐Ÿ“ I also blog about simulation methods, accessible at the undergraduate level, using Python, which you can find here: https://philip-mocz.medium.com

๐Ÿ‘‰ Follow me on:

Follow me on Medium! Follow me on Twitter! Follow me on GitHub! Follow me on Linkedin!

Popular Blog Posts

finitevolume2-python's People

Contributors

pmocz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

finitevolume2-python's Issues

Bug in left right naming

Great code as reference! I have looking at it many times and unless I am mistaken there is a naming convention error here that tripped me up a few times, https://github.com/pmocz/finitevolume2-python/blob/main/finitevolume2.py#L118. In this case f_XL is actually on the right (positive direction) of the cell instead of the left (negative direction). This doesn't impact the code although it makes a little more sense using the correct naming. I think this same issue is in all your FV examples (MHD) as well.

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.