Classical Finite Differences Schemes for numerically solve different Partial Differential Equations.
All the codes are distributed under MIT License on GitHub and are free to use, modify, and distribute giving the proper copyright notice.
This repository contains a variety of Classical Finite Differences Schemes to solve:
-
Poisson Equation.
- Iterative approach.
- Classical 1D problem with Dirichlet conditions.
- Classical 2D problem with Dirichlet conditions.
- 1D problem with Neumann and Dirichlet conditions with a two-point-backward approach for Neumann condition.
- 1D problem with Neumann and Dirichlet conditions with a two-point-centered approach for Neumann condition.
- 1D problem with Neumann and Dirichlet conditions with a three-point-forward approach for Neumann condition.
- Matrix approach.
- Classical 1D problem with Dirichlet conditions.
- Classical 2D problem with Dirichlet conditions.
- 1D problem with Neumann and Dirichlet conditions with a two-point-backward approach for Neumann condition.
- 1D problem with Neumann and Dirichlet conditions with a two-point-centered approach for Neumann condition.
- 1D problem with Neumann and Dirichlet conditions with a three-point-forward approach for Neumann condition.
- Iterative approach.
-
Diffusion Equation.
- Iterative approach.
- Classical 1D problem with Dirichlet conditions.
- Classical 1D problem with Dirichlet conditions with a Crank-Nicolson approach.
- Classical 2D problem with Dirichlet conditions.
- Classical 2D problem with Dirichlet conditions with a Crank-Nicolson approach.
- 1D problem with Dirichlet conditions using a MOL approach.
- 2D problem with Dirichlet conditions using a MOL approach.
- Matrix approach.
- Classical 1D problem with Dirichlet conditions.
- Classical 1D problem with Dirichlet conditions with a Crank-Nicolson approach.
- Classical 2D problem with Dirichlet conditions.
- Classical 2D problem with Dirichlet conditions with a Crank-Nicolson approach.
- Iterative approach.
-
Advection Equation.
- Iterative approach.
- Classical 1D problem with Dirichlet conditions using a FTCS stencil.
- Classical 1D problem with Dirichlet conditions using a FTBS stencil.
- Classical 1D problem with Dirichlet conditions using a FTFS stencil.
- Classical 1D problem with Dirichlet conditions using a Leapfrog approach.
- Classical 1D problem with Dirichlet conditions using a Lax-Wendroff approach.
- Classical 1D problem with Dirichlet conditions using a Beam Warming approach.
- Classical 2D problem with Dirichlet conditions using a FTCS stencil.
- Classical 2D problem with Dirichlet conditions using a FTBS stencil.
- Classical 2D problem with Dirichlet conditions using a FTFS stencil.
- Classical 2D problem with Dirichlet conditions using a Lax-Wendroff approach.
- Classical 2D problem with Dirichlet conditions using a Beam Warming approach.
- 1D problem with Dirichlet conditions using a MOL approach.
- 2D problem with Dirichlet conditions using a MOL approach.
- Matrix approach.
- Classical 1D problem with Dirichlet conditions using a FTCS stencil.
- Classical 1D problem with Dirichlet conditions using a FTBS stencil.
- Classical 1D problem with Dirichlet conditions using a FTFS stencil.
- Classical 1D problem with Dirichlet conditions using a Leapfrog approach.
- Classical 1D problem with Dirichlet conditions using a Lax-Friedrichs approach.
- Classical 1D problem with Dirichlet conditions using an optimized Lax-Friedrichs approach.
- Classical 1D problem with Dirichlet conditions using a Lax-Wendroff approach.
- Classical 1D problem with Dirichlet conditions using a Beam Warming approach.
- Classical 2D problem with Dirichlet conditions using a FTCS stencil.
- Classical 2D problem with Dirichlet conditions using a FTBS stencil.
- Classical 2D problem with Dirichlet conditions using a FTFS stencil.
- Classical 2D problem with Dirichlet conditions using a Lax-Wendroff approach.
- Classical 2D problem with Dirichlet conditions using a Beam Warming approach.
- Iterative approach.
-
Advection-Diffusion Equation.
- Iterative approach.
- Classical 1D problem with Dirichlet conditions.
- Classical 1D problem with Dirichlet conditions with a Crank-Nicolson approach.
- Classical 2D problem with Dirichlet conditions.
- Classical 2D problem with Dirichlet conditions with a Crank-Nicolson approach.
- 1D problem with Dirichlet conditions using a MOL approach.
- 2D problem with Dirichlet conditions using a MOL approach.
- Matrix approach.
- Classical 1D problem with Dirichlet conditions.
- Classical 1D problem with Dirichlet conditions with a Crank-Nicolson approach.
- Classical 2D problem with Dirichlet conditions.
- Classical 2D problem with Dirichlet conditions with a Crank-Nicolson approach.
- Iterative approach.
All the codes presented were developed by:
-
Dr. Gerardo Tinoco Guerrero
Universidad Michoacana de San Nicolás de Hidalgo
Aula CIMNE-Morelia
gerardo.tinoco@umich.mx
https://orcid.org/0000-0003-3119-770X -
Dr. Francisco Javier Domínguez Mota
Universidad Michoacana de San Nicolás de Hidalgo
Aula CIMNE-Morelia
francisco.mota@umich.mx
https://orcid.org/0000-0001-6837-172X -
Dr. José Gerardo Tinoco Ruiz
Universidad Michoacana de San Nicolás de Hidalgo
jose.gerardo.tinoco@umich.mx
https://orcid.org/0000-0002-0866-4798 -
Dr. José Alberto Guzmán Torres
Universidad Michoacana de San Nicolás de Hidalgo
Aula CIMNE-Morelia
jose.alberto.guzman@umich.mx
https://orcid.org/0000-0002-9309-9390
-
Heriberto Arias Rojas
Universidad Michoacana de San Nicolás de Hidalgo
heriberto.arias@umich.mx
https://orcid.org/0000-0002-7641-8310 -
Gabriela Pedraza Jiménez
Universidad Michoacana de San Nicolás de Hidalgo
2220157h@umich.mx
https://orcid.org/0009-0002-8118-0260 -
Miguel Ángel Rodríguez Velázquez
Universidad Michoacana de San Nicolás de Hidalgo
miguel.rodriguez@umich.mx
https://orcid.org/0009-0009-7245-1517 -
Ricardo Román Gutiérrez
Universidad Michoacana de San Nicolás de Hidalgo
ricardo.roman@umich.mx
https://orcid.org/0000-0001-8521-9391
With the financing of:
-
National Council of Humanities, Sciences and Technologies, CONAHCyT (Consejo Nacional de Humanidades, Ciencias y Tecnologías, CONAHCyT), México.
-
Coordination of Scientific Research, CIC-UMSNH (Coordinación de la Investigación Científica de la Universidad Michoacana de San Nicolás de Hidalgo, CIC-UMSNH), México.
-
Aula CIMNE-Morelia, México.