登录
首页 » 算法 » 平面上的超声速流(有粘性边界层和激波)

平面上的超声速流(有粘性边界层和激波)

于 2022-11-13 发布 文件大小:76.36 kB
0 133
下载积分: 2 下载次数: 1

代码说明:

应用背景程序求解完全的二维N-S方程,考虑了粘性和导热。当来流Mach数为4时,计算结果与书上的结果一致,然而,我的程序不能计算Mach数为25的情况(即书中提供的另一种工况的比较结果),经过仔细检查,我认为自己的程序没毛病,可能是书中求解步长的公式给错了(eq.(10.16) in p.457),还望大家帮助检查一下。最后还要说明的是,该章在指导你写程序时,书上有些关键地方有印刷错误,会误导你,一定要小心。参考文献:Chapter 10, Computational Fluid Dynamics, The Basics with Applications, John D. Anderson, JR. McGraw-Hill, 2002, 4 《Anderson计算流体力学入门》 关键技术         bc.f---------------------边界条件          conver.f-----------------迭代收敛判断          dynvis.f-----------------计算粘性项          mac.f--------------------MacCormack求解器          mdot.f-------------------质量守恒判断          output.f-----------------结果输出          qcx.f,qcy.f--------------计算导热项          tauxx.f,tauyy.f,tauxy.f--计

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • The Free Finite Element Package is a library which contains numerical methods re...
    The Free Finite Element Package is a library which contains numerical methods required when working with finite elements. The goal of FFEP is to provide basic functions for approximating the solution of elliptic and parabolic PDEs in 2D.
    2022-07-20 14:50:33下载
    积分:1
  • 遗传分析TSP
    资源描述 遗传算法(GA)是一种解优化问题的随机搜索方法,它借助于生物进化中的自然选择和遗传(即适者生存)的规律. 算法步骤(基本遗传算法) Step 1.随机初始化pop_size个染色体.Step 2.用交叉算法更新染色体.Step 3.用变异算法更新染色体.Step 4.计算所有染色体的目标值.Step 5.根据目标值计算每个染色体的适应度.Step 6.通过轮盘赌的方法选择染色体.Step 7.重复第二至第六步直到终止条件满足.Step 8.输出最好的染色体作为最优解. 为利于遗传算法的计算,首先要对解进行编码,编码后的解称为染色体.对于约束优化问题,遗传算法是在染色体中进行操作,而把操作结果解码后去检验其可行性. 遗传算法的主要特征: 群体和种群的维数相等,为一个偶数维,且不随代数的变化而变化;适应函数直接选用目标函数;种群中的个体通过轮盘赌的方法选取;种群中的一对个体采用随机交配位的方式产生一对子代;每一个基因有相同的变异概率。
    2022-02-01 22:31:24下载
    积分:1
  • with Primbetov heap sorting algorithm using the shortest path to achieve the sea...
    用普里姆算法借助堆排序实现最短路径的查找,用C语言实现-with Primbetov heap sorting algorithm using the shortest path to achieve the search, using C language
    2022-11-01 15:05:03下载
    积分:1
  • 自己做的程序,可能对你有用
    自己做的程序,可能对你有用-own procedures that may be useful to you
    2022-10-07 10:35:02下载
    积分:1
  • subpixel motion architecture
    subpixel motion architecture
    2022-06-11 20:47:05下载
    积分:1
  • 棋盘马的遍历
    资源描述马走‘日’字,遍历完棋盘,贪心算法思想                                                                                                                                                                                                                                                                                 &nb
    2022-05-31 01:47:08下载
    积分:1
  • 常用的C程序。主要内容包括多项式的计、复数运、随机数的产生、矩阵运、矩阵特征值与特征向量的计、线性代数方程组的求解、非线性方程与方程组的求解、插值与
    常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。-Commonly used algorithm of C procedures. Include polynomial terms, complex computation, random number generation, matrix operations, matrix eigenvalue and eigenvector calculations, linear algebra equations, nonlinear equations with the equations, interpolation and approximation, numerical integration, solving ordinary differential equations, data processing, for solving extremum problems, mathematical transformation and filtering, the calculation of special functions, sorting and search.
    2022-05-01 03:01:58下载
    积分:1
  • STM32F103硬件IIC
    应用背景  STM32F103  硬件IIC可用于AT24C02  PCF8591  和IIC电调通信,稳定性好,基本不会当机,移植方便  关键技术  用库函数写的,方便新手看懂,硬件IIC保障信号的稳定性,比模拟IO口稳定 
    2022-02-06 18:08:47下载
    积分:1
  • contour of heat transfer
    contour of heat transfer
    2022-02-07 02:36:19下载
    积分:1
  • 贝塞尔曲线示例
    #include < iostream > #include < 矢量 > #include < math.h > #include"BezierPoint.h" 使用命名空间 std ; BezierPoint 贝塞尔 (方法 < BezierPoint > & pts,双 t) ; 双选择 (双 a,双 b) ; 双 factorial(double num) ; int main(void) { 方法 < < BezierPoint >> 方法警校 ; char endPointCount = 0; 双 inx ; 双 iny ; int ptCount = 0; int 终结点 ; 双 deltaT ; cin >> ptCount >> deltaT ; 为 (int 我 = 0 ; 我 < ptCount; i + +) { cin >> inx >> iny >> 终结点 ; BezierPoint p iny inx) ; 如果 (endPointCount = = 0 & & 终结点 = = 1) { pts.push_back (方法 < BezierPoint > ()) ; pts[pts.size()-1].push_back(p) ; endPointCount + +; 继续 ; } pts[pts.size()-1].push_back(p) ; 如果 (endPointCount! = 0 & & 终结点 = = 1 & & 我! = ptCount-1) { pts.push_back (方法 < BezierPoint > ()) ; pts[pts.size()-1].push_back(p) ; endPointCount + +; } } 为 (std::s
    2022-03-13 19:08:01下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载