Giter Site home page Giter Site logo

alirezabhz / 1d-heat-transfer-in-fins Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7 KB

Python script to solve the 1D heat equation and gain temperature distribution in a fin with Dirichlet or Neumann boundary condition at tip.

Python 100.00%
cfd computational-flu finite-difference-method heat-transfer tdma tridiagonal-matrix-algorithm tdma-method

1d-heat-transfer-in-fins's Introduction

♨ 1D Heat Transfer in Fins ♨

🟢 Python script to solve the 1D heat equation and gain temperature distribution in a fin with Dirichlet or Neumann boundary condition at tip, using TDMA algorithm.
🟢 This solution is based on finite difference method.
🟢 Compare numerical solution with analytical solution.

🧬 Input variables to define the problem:

L: Length of the fin (in meters)
D: diameter of the fin (in meters)
Nx: Number of nodes along the rod

thermal_conductivity: Thermal conductivity for steel (in W/m·K)
convection_coef: Convection Coefficient (in W/m^2.K)

T_env: Environment temperature (in K)
T_base: Base temperature (in K)
T_tip: Tip temperature (in K) (for Dirichlet B.C only)

🤖 Usage

Just replace the existing values of input parameters with your desired values and run the code.

1d-heat-transfer-in-fins's People

Contributors

alirezabhz 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.