Numerical Solution of Heat By Conduction Eq. in 2 Dimensions
Version 1.0.0 (77.1 KB) by
Abdelrahman Adel
Numerical Solution of Conduction Eq. in 2 Dimensions Using FDM - Explicit FTCS Method
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:
- 2D Conduction Equation Solver: Implements the numerical solution for the 2D conduction equation to simulate heat transfer in a plate or domain.
- Explicit FTCS Method: Utilizes the Forward Time Central Space (FTCS) scheme for time-stepping to approximate the solution at each time step.
- Visualization: Generates visualizations of the temperature distribution over the specified time range.
Usage:
- 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 (2026). Numerical Solution of Heat By Conduction Eq. in 2 Dimensions (https://uk.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 LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
