close all; clear all; clc
g = 1.4; % Specific heat ratio for air
beta = 0:(pi/180):(pi/2); % Range for shock wave angle
m = 0;
% theta (=flow deflection angle)
for M1 = 1:0.01:5 % Upstream Mach Number
m = m+1;
%================================
% theta-beta-M relation
%================================
Nr = ((M1^2)*((sin(beta)).^2))-1;
Dr = ((g+(cos(2*beta)))*M1^2)+2;
theta = atan(2*cot(beta).*Nr./Dr);
%================================
% max. theta for a M1
%================================
a(m) = max(theta); % max theta for the Mach No.
b(m) = beta(find(theta==a(m))); % find the beta for max. theta
plot(theta,beta,'-b')
hold on
end
plot(a,b,'-r','Linewidth',1.5)
xlabel('\theta')
ylabel('\beta')
axis([0 42*pi/180 0 pi/2])
基于Matlab模拟斜激波的 Theta-Beta-MachNo 关系.zip
版权申诉
154 浏览量
2023-02-01
19:53:51
上传
评论
收藏 9KB ZIP 举报
天天Matlab科研工作室
- 粉丝: 3w+
- 资源: 7259
最新资源
- 本科毕业设计基于C# wpf人脸识别的考勤系统的设计与实现源码.zip
- 基于Ruoyi+uniapp实现学生考勤系统 学生考勤源码+项目说明.zip
- feae6bc968ca68a099455d8b8a8dea35
- 基于Pytorch训练CIRAR10上分类算法.zip
- Pytorch-pytorch深度学习教程之Tensorboard.zip
- 基于C++和Python开发yolov8-face作为人脸检测器dlib作为人脸识别器的人脸考勤系统源码+项目说明.zip
- Pytorch-pytorch深度学习教程之变分自动编码器.zip
- Pytorch-pytorch深度学习教程之神经风格迁移.zip
- Pytorch-pytorch深度学习教程之深度残差网络.zip
- Pytorch-pytorch深度学习教程之循环神经网络.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈