Solving two-temperature model using pdepe
이전 댓글 표시
Hi,
Am not so good in programming but am trying to do a simuation of laser ablation using two-temperature model. However, am not able to define boundary conditions correctly which is giving me a false output due to very limited temperature change. Can someone please help me code the boudary conditions for the following equation;

The code am having for the boudary condition is;
function [pl,ql,pr,qr] = pdebc(xl,ul,xr,ur,t) % Boundary Conditions
pl = [0;ul(1)];
ql = [300;300];
pr = [ur(1)-300;ur(2)];
qr = [300;300];
end
and the one for my initial condition is;
function u0 = pdeic(x) % Initial Conditions
u0 = [300; 300];
end
댓글 수: 1
Luis
2023년 2월 7일
Hey, Do you upload the code to Github or somewhere, I'm a new user of Matlab and I'll like to do the same simulation, nevertheless i can't find more information than this post to move forward.
Thx in advance.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Industrial Statistics에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!