https://github.com/ababaee1/2d_heat_conduction
MATLAB based simulation for Two Dimensional Transient Heat Transfer Analysis using Generalized Differential Quadrature (GDQ) and Crank-Nicolson Method
https://github.com/ababaee1/2d_heat_conduction
Last synced: 2 months ago
JSON representation
MATLAB based simulation for Two Dimensional Transient Heat Transfer Analysis using Generalized Differential Quadrature (GDQ) and Crank-Nicolson Method
- Host: GitHub
- URL: https://github.com/ababaee1/2d_heat_conduction
- Owner: ababaee1
- License: mit
- Created: 2024-10-29T03:03:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T03:16:32.000Z (over 1 year ago)
- Last Synced: 2025-01-15T05:45:01.938Z (over 1 year ago)
- Language: MATLAB
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Super-Fast Mesh-Free 2D Transient Heat Conduction Simulation in Circular Plate
This MATLAB code simulates transient heat conduction in circular functionally graded material (FGM) plates using the Generalized Differential Quadrature (GDQ) and Crank-Nicolson (CN) methods.
## Purpose
The script models temperature distribution over time within a 2D circular FGM plate. It incorporates material properties that vary with temperature and can handle partial thermal loading, an essential feature for real-life applications.
## Key Features
- Super-Fast
- Customizable Boundary Conditions: The code supports boundary conditions such as insulation, convection, prescribed temperature, and heat flux on any edge within the domain. Each condition can be applied partially across boundaries to accurately simulate real-world thermal loading.
- Variable Material Properties: Thermal conductivity, specific heat, Young’s modulus, and other material properties change based on material type and temperature, allowing for a more accurate FGM representation.
## Usage
To run the simulation, specify the following:
- Mesh details: Number of nodes along the radius (`nr`) and thickness (`nz`).
- Time details: Time step (`dt`) and simulation duration.
- Material and geometric properties: Parameters such as a, b, hh, and kisi.
- Boundary conditions: Set `right_edge`, `top_edge`, `bottom_edge`, `left_edge` for each boundary with options for full or partial application using `partial_ratio_top` and `partial_ratio_bottom`.
## Inputs and Outputs
- **Inputs**: `nr`, `nz`, `dt`, `a`, `b`, `hh`, `kisi`, `right_edge`, `top_edge`, `bottom_edge`, `left_edge`, `partial_ratio_top`, `partial_ratio_bottom`
- **Outputs**: `TT` (temperature matrix), `tt` (time vector), and material-specific outputs.