Feeds
提问
how to solve a 1d heat eqn with periodic BCs, u(0)=u(L) using implicit euler and finding the maximum error at Tend after comparing with the exact solution? obviously creating a finite difference matrix..i have done till finding the exact soln..
L = 1; %length of the rod n = 2; nu = 1; % thermal diffusivity nu=1 Nx = 50; %length steps Nt = 100; %time steps ...
8 years 前 | 1 个回答 | 0