




已阅读5页,还剩23页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1,2.4 常用的离散格式,在使用有限体积法建立离散方程时,很重要的一步是将控制体积界面上的物理量及其导数通过节点物理量插值求出。 引入插值方式的目的就是为了建立离散方程,不同的插值方式对应于不同的离散结果。 插值方式常称为离散格式。,2,离散格式,假设速度场已知,则为求解离散方程,需计算广义未知量在边界e和w处的值。 为完成这一任务,必须决定界面物理量如何通过节点物理量的插值表示。 各种不同的插值方法就构成了不同的离散格式。 中心差分格式 一阶迎风格式 混合格式 指数格式 乘方格式,3,2.4.1术语的约定,对离散格式的讨论以一维稳态对流扩散方程为例,不涉及瞬态项。 定义两个新的物理量: F:通过界面上单位面积的对流质量通量,简称对流质量流量; D:界面的扩散传导性 在此基础上定义一个非常重要的参数Peclet数,4,Peclet数(佩克莱数 ),1976年Roache提出,网格或单元Peclet数可以用来度量某点处的对流和扩散的强度比例。 从物理意义来说,Peclet数表示的是对流与扩散强度之比。而Re雷诺数表示作用于流体微团的惯性力与粘性力之比。Pr数是动量扩散厚度与热量扩散厚度之比。(粘性与导热性之比) 佩克莱特数(Peclet)是普朗特数(Prandtl)与雷诺数(Reynolds)的乘积,实际上反映了惯性力与紊动强度的比值。,5,Central differencing scheme 中心差分格式,We determine the value of at the face by linear interpolation between the cell centered values.就是界面上的物理量采用线性插值公式来计算。 具有二阶精度,扩散占优时计算具有较高精度。但流动为强对流时,计算的收敛性和精度较差。,interpolated value,6,中心差分格式的特点及适用性,Pe小于2时,中心差分格式的计算结果与精确解基本吻合。 Pe大于2时,数值解完全失去物理意义。 原因:离散方程系数出现负值,负的系数会导致物理上不真实的解。 解决办法:将计算网格加密,使网格间距变小,降低Pe数的大小。(计算量随之增大) 基于此限制,中心差分格式不能作为对于一般流动问题的离散格式,需创建其它更合适的格式(对纯扩散稳态,如热传导是适用的)。,7,对流扩散方程的精确解,8,精确解随Pe数的变化 (Pe0纯扩散,Pe增大对流增强),9,具体算例 (不同计算工况意味着不同Pe数),10,第一种工况Pe=0.2,尽管网格粗糙,但数值解与精确解非常接近。,11,第二种工况Pe=5,数值解在精确解周围振荡,计算精度不可接受。 离散方程中系数有负值。,12,第三种工况(加密网格Pe=1.25),13,First order upwind scheme 界面上的未知量恒取上游节点的值,This is the simplest numerical scheme. It is the method that we used earlier in the discretization example. We assume that the value of at the face is the same as the cell centered value in the cell upstream of the face. The main advantages are that it is easy to implement and that it results in very stable calculations, but it also very diffusive. Gradients in the flow field tend to be smeared out, as we will show later. This is often the best scheme to start calculations with.,interpolated value,在确定界面物理量时考虑了流动方向,14,一阶迎风格式的数学描述及特点,考虑了流动方向影响 具有一阶截差 unconditionally stable (no oscillations)(任何条件下都不会引起解的振荡,离散方程系数总是大于零) 不足:夸大了扩散项的影响,numerically diffusive,15,central difference scheme:,upwind scheme:,16,17,18,19,20,混合格式,Central differencing scheme is more accurate than the first order upwind scheme, but it leads to oscillations in the solution or divergence if the local Peclet number is larger than 2. It is common to then switch to first order upwind in cells where Pe2. Such an approach is called a hybrid scheme. 根据流体的Pe数在中心差分格式和迎风格式之间进行切换,综合两种格式的共同优点。 混合格式在CFD软件中广为采纳,是非常实用的格式,缺点是只有一阶精度。,21,指数格式,根据一维、稳态、无源的对流扩散方程的精确解建立的一种离散格式。 指数格式保证对任何佩克赖特数以及任何数量的网格点均可以得到精确解 缺点: 指数运算是费时的 对于二维或三维问题,以及源项不为零的情况,这种离散方案是不准确的。,22,This is based on the analytical solution of the one-dimensional convection-diffusion equation. The face value is determined from an exponential profile through the cell values. The exponential profile is approximated by the following power law equation: Pe is again the Peclet number. For Pe10, diffusion is ignored and first order upwind is used.,Power law scheme乘方格式,interpolated value,参考精确解所做的近似,与指数格式的精度比较相近但比指数格式要省时 与混合格式具有类似性质,可用作混合格式的替代格式。,23,假扩散在文献中,假扩散,人工粘性,数值粘性常常是作为同义词使用的。,假扩散是对流项离散过程中所引入的一个重要误差。由于对流扩散方程中一阶导数项的离散格式的截断误差小于二阶而引起较大数值计算误差的现象称为假扩散。在一个离散格式中,假扩散的存在会使数值解的结果偏离真解的程度加剧。假扩散系数越大,偏离得越严重。以上所指的假扩散是由于截断误差而引起的,也是假扩散这一概念的最初含义。现在,在计算传热学领域中,这一概念的含义有所扩大。能引起较大的数值计算误差的原因有三个:1.非稳态项或对流项采用一阶截差的格式;2.流动方向与网格线呈倾斜交叉(多维问题);3.建立差分格式时没有考虑到非常数的源项影响。现在一般把由这三种原因而引起的数值计算误差都归在假扩散的名称下。,24,低阶格式的假扩散特性,迎风格式,指数格式,混合格式及乘方格式等一阶格式应用于实际问题时都可能引起较严重的假扩散,这在HVAC领域的高大空间流体流动及传热计算中尤为明显. 因此,为了有效地克服或减轻假扩散所带来的计算误差,空间导数应当采用二阶或更高阶的格式(如QUICK格式,二阶迎风差分格式等).,25,Accuracy of numerical schemes,Each of the previously discussed numerical schemes assumes some shape of the function . These functions can be approximated by Taylor series polynomials: The first order upwind scheme only uses the constant and ignores the first derivative and consecutive terms. This scheme is therefore considered first order accurate. For high Peclet numbers the power law scheme reduces to the first order upwind scheme, so it is also considered first order accurate. The central differencing scheme and second order upwind scheme do include the first order derivative, but ignore the second order derivative. These schemes are therefore considered second order accurate. QUICK does take the second order derivative into account, but ignores the third order derivative. This is then considered third order accurate.,26,Accuracy and false diffusion (1),False diffusion is numerically introduced diffusion and arises in convection dominated flows, i.e. high Pe number flows. Consider the problem below. If there is no false diffusion, the temperature will be exactly 100 C everywhere above the diagonal and exactly 0 C everywhere below the diagonal. False diffusion will occur due to the oblique flow direction and non-zero gradient of temperature in the direction normal to the flow.,Grid refinement coupled with a higher-order interpolation scheme will minimize the false diffusion as shown on the next slide.,假设热传导系数为零,冷热水之间应该没有混合现象。 研究不同格式和不同网格密度对计算结果的影响,27,Accuracy and false diffusion (2),28,Solution accuracy,Higher order schemes will be more accurate. They will also be less stable and will increase computational time. It is recommended to always start calculations with first order upwind and after 100 iterations or so to switch over to second order upwind. This provides a good combination of stability and accuracy. The central differencing scheme should only be used for transient calculations involving the large eddy simulation
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025部编人教版小学三年级语文上册全册教案
- 重庆计算机类知识培训课件
- 重庆知识产权优势企业培训课件
- 新解读《GB-T 30638-2014杯装果冻包装机》
- 重庆春招直通车配套课件
- 重庆市驾校培训理论知识课件
- 图形的轴对称等腰三角形(2大考点5种解题方法)原卷版
- 图形的运动(12个考点)-2023学年七年级数学上学期期末考点复习(沪教版)
- 新解读《GB 30756-2014镍冶炼安全生产规范》
- 统计与概率:条件概率、全概率公式与贝叶斯公式、全概率公式与数列递推问题(原卷版)-2026届高三数学一轮复习
- GB/Z 43427-2023优质服务设计高品质服务以实现极致顾客体验
- 供热管道水压试验操作规范
- GB 5009.227-2023食品安全国家标准食品中过氧化值的测定
- 剑门关与三国的故事课件
- 师德师风建设问责制实施办法
- 提高留置针准确使用率完成PDCA
- 有限空间预案演练总结
- 养生之旅武穴山药
- 和政秧歌的发展历史、表演形式及音乐特点,舞蹈论文
- GB/T 42062-2022医疗器械风险管理对医疗器械的应用
- 第六节-食品新资源的开发-课件
评论
0/150
提交评论