-
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
-
zuijinercheng
基于C环境下的最小二乘法的计算编程算法相当相当实用。(C based on the circumstances of the least squares algorithm for calculating the programming very well.)
- 2009-05-12 23:42:37下载
- 积分:1
-
PolyFractionValu
本程序提供大量实用多项式计算函数:求一维实(复)多项式值、求一维多项式组值、求二维实(复)多项式值、两一维多项式相乘、两一维多项式除法、计算连分式函数值。(look it yourself.)
- 2021-02-19 10:19:44下载
- 积分:1
-
ART2100
一种借助lowtran7计算大气透过率和目标辐射的软件平台ART2100(A program that used for calculate air transferrate and object randience based on lowtran7)
- 2021-05-07 16:49:36下载
- 积分:1
-
Pointandsegment
判断点和线段之间的关系,包括点在线段的上,点在线段的延长线,反向延长线,点在线段外四种情况(Judge the relationship between the point and line, including the point on the line, in line at the extension of reverse extension cord, and so on.)
- 2013-01-08 14:54:18下载
- 积分:1
-
test1_1
说明: 研究舍入误差的例程,可以帮助初学计算方法的人。(Of rounding error in the routine that can help beginners who calculation.)
- 2011-04-11 23:55:26下载
- 积分:1
-
fourier_trans
傅立叶变换的C语言实现,可在Turbo C以及Visual C++下实现。(Fourier Transform C language, in Turbo C and Visual C under.)
- 2006-12-31 11:06:45下载
- 积分:1
-
GBAS
利用蚁群算法求解TSP问题,
从Location.dat文件输入每个城市的坐标。(The use of Ant Colony Algorithm for TSP problems Location.dat file input from the coordinates of each city.)
- 2009-06-18 09:08:14下载
- 积分:1
-
log
之前找不到合适精度的log2x函数的定点化源码,经过实现并验证后,发上来大家一起学习(fixed version for log2x)
- 2012-06-27 20:19:22下载
- 积分:1
-
db
说明: 本程序用在测试采煤机煤矸识别系统中,验证小波算法(Wavelet Algorithm for caving coal)
- 2013-08-10 18:33:01下载
- 积分:1