-
weno
weno计算阶跃函数 时间离散采取三阶RK法;使用五阶WENO方法计算函数在[-1,1]内的数值解。(weno calculation step function)
- 2020-12-28 17:09:01下载
- 积分:1
-
Euler_DG_Quadrilateral_2D
自己写了一个二维Euler方程的间断有限元程序
上次发了一个三角形单元的程序 因为不是曲边单元 所以在圆柱后面容易形成涡
现在把程序改为曲边四边形单元了 没有涡出现
单元是8节点四边形单元 节点编号顺序是 1 5 2 6 3 7 4 8 也就是四个角点依次
是1 2 3 4 然后是边的中点编号 5 6 7 8.
时间推进采用 Runge-Kutta 方法
数值通量采用全局Lax-Friedrichs通量
仍然不能捕捉激波 因为没有做重构或者加人工粘性 等这个做出来了 再发一次。
程序没有进行优化 比如说内存的消耗没有优化 比如直边单元的边界积分仍然采
用了曲边的积分方法 增加了计算量 比如面积分、线积分都是采用的是Gauss-
Legendre-Lobatto积分 积分精度会比一般的Gauss-Legendre积分精度低一阶 等
等问题。 二维的 纯属交流性质 就没有考虑这些问题 ^_^
如果物面全部是直边 那么只要改变一个参数N 就可以获得不同的计算精度 且具
有谱精度 因为单元的节点是Gauss-Legendre-Lobatto积分点。 其实就是谱元法
(物面是曲边的情况我不清楚是不是也可以通过提高基函数的阶数 也就是增加N
来提高计算精度)(Wrote a two-dimensional Euler equations with discontinuous finite element program
Last made a triangular element of the program, not curved edge unit is so easy to form a vortex in the cylinder behind the
Program to curved edge quadrilateral element vortices appear
Unit is the order of 8-node quadrilateral element node number is 15,263,748 which is the four corners of the points in turn
Is 1234 and then the side of the midpoint of the number 5678.
Time promote the use of Runge-Kutta method
Numerical flux of the overall situation of Lax-Friedrichs, flux
Still can not capture the shock wave did not do the reconstruction or artificial viscosity do it Zaifayici.
The program is not optimized for example, memory consumption is not optimized such as straight-edge boundary integral of the unit is still mining
Integral method to increase the amount of computation such as surface integral with a curved edge, the line integral using the Gauss-
The Legendr)
- 2021-01-29 12:58:40下载
- 积分:1
-
HLL2
计算流体力学,HLL格式的一个算例,可以直接计算,适合初学者,易懂,每步有说明。(The calculation of an example of fluid dynamics, HLL format, can be calculated directly, suitable for beginners, easy to understand each step is described.)
- 2021-04-21 01:38:49下载
- 积分:1
-
Calculator
Visual C++6.0 实现的多功能计算器(Visual C++6.0 achieve the multi-function calculator)
- 2012-05-29 15:50:21下载
- 积分:1
-
juzhenyushuzhifenxiMatlabjiefa
矩阵与数值分析的所有算法的Matlab实现(All matrix and numerical analysis algorithm Matlab)
- 2013-05-29 14:32:29下载
- 积分:1
-
MatrixInverse
说明: c语言编写的高效用LU分解法求任意维数的矩阵的逆,它是经典书籍《算法导论》(第二版)中矩阵求逆的c语言实现。 (The algorithm of matrix inverse is based on LU decomposition which is proposed by the book of introduction to algorithm (second edition).)
- 2009-08-03 08:34:24下载
- 积分:1
-
curl
利用风速u,v计算海表风应力以及风应力旋度。(Calculation of sea surface wind stress and wind stress curl.)
- 2021-01-06 12:48:53下载
- 积分:1
-
pmv-fluent
说明: fluent的udf程序,可以计算pmv(Fluent's udf program can calculate pmv)
- 2021-02-28 17:41:47下载
- 积分:1
-
Algorithm
说明: 算法设计第三版,算法设计第三版,算法设计第三版,算法设计第三版(Algorithm Design Third Edition)
- 2010-04-28 19:44:45下载
- 积分:1
-
LU分解程序
用LU和LDU分解求解方程组,给出了详细说明(The equations are solved by the decomposition of LU and LDU, and the detailed description is given.)
- 2020-11-26 13:49:31下载
- 积分:1