📄 boundaryconditions.m
字号:
function BoundaryConditions(h,N)
global rou T V;
%Subsonic inflow boundary(point 1) conditions
rou(h,1)=1;
V(h,1)=2*V(h,2)-V(h,3);
T(h,1)=1;
%Supersonic outflow boundary(point N) conditions
V(h,N)=2*V(h,N-1)-V(h,N-2);
rou(h,N)=2*rou(h,N-1)-rou(h,N-2);
T(h,N)=2*T(h,N-1)-T(h,N-2);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -