-
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
-
spline
样条插值算法的matlab代码,包括一次样条插值,二次样条插值和三次样条插值,可根据需要选择(Spline interpolation algorithm matlab code, including a spline interpolation, quadratic spline interpolation and cubic spline interpolation, can be selected)
- 2020-12-23 20:49:06下载
- 积分:1
-
daoxianzhaoxing-ansys
这是一段导线找形的命令流,可用于ansys有限元分析(This is a piece of wire to find the form of order flow, can be used for finite element analysis ansys)
- 2021-04-20 16:38:50下载
- 积分:1
-
szpGauss
用C++实现的高斯混合模型的算法类,方差矩阵是对角矩阵(C++ Gaussian mixture model algorithm category, variance matrix is diagonal matrix)
- 2005-08-09 16:32:03下载
- 积分:1
-
cPPpolyfit
多项式拟合,最小二乘法,c++版本实现,运行环境vc6(Polynomial fitting)
- 2013-04-29 10:37:54下载
- 积分:1
-
mg
说明: 迭代算法中的多重网格计算程序Visual C++原代码(iterative algorithm of multiple grid computing procedures Visual C source code)
- 2007-03-31 10:11:48下载
- 积分:1
-
Factorial
C++的求阶乘的程序,对本科C++课程可能有些帮助(Factorial in C++ program, it maybe helpful for some C++ course)
- 2011-12-22 17:46:43下载
- 积分:1
-
tianwen
说明: VC实现,天文导航算法及实现
包括数据的获取、加工、处理、保存为文件(VC, astronomy, navigation algorithm and implementation including data acquisition, processing, handling, preservation of documents)
- 2020-09-29 16:17:44下载
- 积分:1
-
BigNumberPlusMinusMuitiplyDivide
可以实现十几位整数的四则运算,效率也较好(Four operations can be more than a dozen integer,and the efficiency is better)
- 2012-05-10 09:56:55下载
- 积分:1
-
LBM-cylinder
用LBM结合非平衡外推方法实现的圆柱绕流,柱面边界以非平衡外推方法实现。(LBM combined with the extrapolation method of achieving non-equilibrium flow around a cylinder, cylinder boundary to achieve non-equilibrium extrapolation method.)
- 2021-04-02 14:19:07下载
- 积分:1