Git Product home page Git Product logo

fvm-1d-steady-state-diffusion-solver-python's Introduction

FVM-1D-Steady State Diffusion solver

Python code for Finite Volume Method for 1 Dimension Steady State Diffusion

Read FVM-1D.pdf in the repository to understand the finite volume method for 1D steady state diffusion. If you want to study about Finite Volume Methods in detail then refer 'An Introduction to Computational Fluid Dynamics - The Finite Volume Method' by H K Versteeg and W Malalasekera.

Click on the following link to checkout the video to easily use this python code.

The governing equation used in the python code is

governing equation

The Exact (Analytical) solution is given by

Exact solution

The python code has all the necessary comments to understand the solver.

Note : In this solver cross sectional area is not required as we deal in one dimension only, so we measure heat diffusion across the length only.

Motivation

To learn Python programming and use python packages.

Dependencies

Output

User input data :

input

Solution which is printed in tabular form :

table

New window of graph is showed (close graph to continue) :

quit without export

Export result to output folder :

Note : Previous saved result will be overwritten so copy the previous result to some other folder.

export

License

Apache License 2.0

Author

Yahya Ansari

fvm-1d-steady-state-diffusion-solver-python's People

Contributors

yahya-ansariii avatar

Stargazers

 avatar  avatar

Watchers

 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.