Development of 2d solver for performing transient & steady state heat transfer simulations on square shaped structure using indirect iterative schemes
Objective: Steady state solver: %code to solve a second order two dimensional pde using steady state solver clear all close all clc %inputs nx=10; ny=10; x=linspace(0,1,nx); y=linspace(0,1,ny); T=ones(nx,ny); tol=1e-4; error=9e9; %boundary conditions T(:,1)=400; T(:,nx)=800; T(ny,:)=900; T(1,:)=600; Told=T; iterative_solver=input(\'enter…