-
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
-
waveinFFT_demo
录音程序,音频录音fft程序,并加界面显示(radio record code)
- 2016-03-01 00:29:08下载
- 积分:1
-
thin_plate
薄板样条,一种很好的拟合曲线的方法。是最近比较常用的拟合方法。(thin plate spline is so nice fitting method.
Features:
(1) support arbitrary control points
(2) allow regularization
(3) estimate the warp parameters from corresponding pairs
)
- 2009-03-13 15:32:13下载
- 积分:1
-
zantaifenxi
非常实用的时域仿真法暂态分析工具,利用牛顿法求解系统的微分方程组和代数方程组,得到转子摇摆曲线,判断暂态是否稳定(Very useful time-domain simulation tool for transient analysis method, using Newton method for solving systems of differential equations and algebraic equations, the rotor swing curves, to determine the stability of transient)
- 2011-09-02 14:48:18下载
- 积分:1
-
线性回归
说明: 能够实现线性回归,里面有一个线性回归的实例(It can realize linear regression. There is an example of linear regression)
- 2020-05-10 09:38:06下载
- 积分:1
-
digital filter
说明: 各种滤波器,包括高通、低通、带通等滤波器,可用,直接输入数值即可,可直接使用,没有bug(bandpass filter,Band pass filter, available, direct input value, can be used directly, no bug)
- 2021-04-16 21:20:00下载
- 积分:1
-
UC1
unit commitment with Gams
- 2012-08-31 22:54:32下载
- 积分:1
-
n_queen_QS4
利用QS4算法解决N皇后问题,解决300万的皇后所需时间在5s左右,特别快(Use QS4 algorithm to solve the N-queens problem, solve 3000000 Queen the time required for about 5s, particularly fast)
- 2020-11-29 21:29:27下载
- 积分:1
-
hhspectrum
Hilbert Haung spectrum
- 2012-07-19 00:52:09下载
- 积分:1
-
SPH3DOnTheBook
Dr. Liu 在《光滑粒子流体动力学--一种无网格方法》一书中提供的光滑粒子流体动力学(SPH)源程序,采用Fortran语言编写,用于计算可压缩流体力学问题。(Dr. Liu in the " Smooth Particle Hydrodynamics- a meshless method," a book provided by the smooth particle hydrodynamics (SPH) source code, using Fortran language, used to calculate the fluid flow problem.)
- 2021-01-08 11:58:51下载
- 积分:1