Skip to content

Solving a 1D Advection Diffusion problem with Finite Difference Method

Notifications You must be signed in to change notification settings

Homanloo/advection-diffusion-FDM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

1D Advection Diffusion with Finite Difference Method

By simplifying differential term into algebriac equations, some of the more complex problems can be solved numerically. In FDM, a mesh grid is created and the properties of each node in the grid will then be estimated using its neighbor nodes and its previous condition.
In this notebook, a simple 1D advection diffusion problem is solved with FDM. image

How to use on your local machine?

  1. Creat a virtual environment. For example, in windows, open the cmd in a folder and type the command python -m venv {any_name_you_like}.
  2. Activate the venv by {any_name_you_like}\Scripts\activate.
  3. Install the requirements with pip install -r requiremets.txt.
  4. Open the jupyter note book in any IDE and set the kernel to the venv you just made.

About

Solving a 1D Advection Diffusion problem with Finite Difference Method

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published