Numerical Solution of Heat By Conduction Eq. in 2 Dimensions

Numerical Solution of Conduction Eq. in 2 Dimensions Using FDM - Explicit FTCS Method
34 Downloads
Updated 11 Jan 2024

View License

Overview:
This MATLAB script provides a numerical solution for the 2D conduction equation using the explicit Forward Time Central Space (FTCS) finite difference method. The script aims to simulate heat conduction in a 2D domain and visualize the temperature distribution over time.
Features:
  1. 2D Conduction Equation Solver: Implements the numerical solution for the 2D conduction equation to simulate heat transfer in a plate or domain.
  2. Explicit FTCS Method: Utilizes the Forward Time Central Space (FTCS) scheme for time-stepping to approximate the solution at each time step.
  3. Visualization: Generates visualizations of the temperature distribution over the specified time range.
Usage:
  1. Input Parameters:
  • Define the size of the 2D domain (length, width).
  • Set the spatial and temporal discretization parameters.
  • Specify the initial temperature distribution and boundary conditions.
2. Run the Script:
  • Execute the script to perform the numerical simulation.
3.Visualize Results:
  • Visualize the temperature distribution at different time steps using built-in plotting functions.
  • Animate Temperature Distribution over time

Cite As

Abdelrahman Adel (2024). Numerical Solution of Heat By Conduction Eq. in 2 Dimensions (https://www.mathworks.com/matlabcentral/fileexchange/157431-numerical-solution-of-heat-by-conduction-eq-in-2-dimensions), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0