登录
首页 » Visual C++ » Euler_DG_Quadrilateral_2D

Euler_DG_Quadrilateral_2D

于 2021-01-29 发布 文件大小:46KB
0 280
下载积分: 1 下载次数: 60

代码说明:

  自己写了一个二维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)

文件列表:

Euler_DG_Quadrilateral_2D
.........................\2DWeights_GaussLegendreLobatto2.cpp,192,2012-04-07
.........................\DGFEM_quadrilateral.h,11078,2012-04-11
.........................\DifferentialMatrix2.cpp,594,2012-04-11
.........................\DifferentialMatrix4eta.cpp,456,2011-11-02
.........................\DifferentialMatrix4xi.cpp,451,2011-11-02
.........................\DwDxy.cpp,2511,2012-04-07
.........................\dxydxieta.cpp,1956,2012-04-07
.........................\ElementInitialization.cpp,3804,2012-04-07
.........................\Element_Node.txt,29520,2012-04-04
.........................\fRight.cpp,12174,2012-04-11
.........................\Function.cpp,2065,2012-04-11
.........................\FunPoly.cpp,24907,2011-10-27
.........................\f_RungeKutta.cpp,19182,2012-04-07
.........................\GridCorrect.cpp,1153,2012-04-11
.........................\GridData.cpp,2246,2012-04-10
.........................\Inside_Node.txt,720,2012-04-04
.........................\InterpolationMatrix2.cpp,690,2012-04-10
.........................\InterpolationMatrix4.cpp,413,2012-04-07
.........................\InterpolationMatrixN_NEG.cpp,648,2012-04-08
.........................\InverseMatrixN.cpp,1294,2012-04-07
.........................\LengthNormal.cpp,10181,2012-04-11
.........................\MainFile_DGFEM_quadrilateral.cpp,579,2012-04-11
.........................\MassMatrix.cpp,5314,2012-04-07
.........................\Node_Coordinate.txt,32214,2012-04-04
.........................\Outside_Node.txt,720,2012-04-04
.........................\pre_RungeKutta.cpp,13564,2012-04-11
.........................\ProgramInitialization.cpp,2112,2012-04-09
.........................\Result.cpp,9325,2012-04-12
.........................\RungeKutta.cpp,3743,2012-04-11
.........................\SpectralRadius.cpp,0,2012-04-08
.........................\TimeStepDeltaT.cpp,602,2012-04-08
.........................\ZerosWeights_GaussLegendreLobattoCurve.cpp,1452,2012-04-07
.........................\ZerosWeights_GaussLegendreLobattoN.cpp,1401,2012-04-07
.........................\ZerosWeights_GaussLegendreLobattoNGLL.cpp,1519,2012-04-07

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • WilsonMethod
    进行结构响应分析的Wilson法,是直接积分的基本算法之一,相信进行有限元动力分析编程的诸位都能用上(structural response analysis of Wilson, which is direct integration one of the basic algorithm, believe that the dynamic finite element analysis program you can use)
    2006-07-09 11:15:54下载
    积分:1
  • zuixiaojiaocha
    偏最小二乘法中的交叉有效性计算,看看,可能有用(PLS cross-validity of the calculation, see, may be useful)
    2008-05-13 21:14:08下载
    积分:1
  • matrix
    基于OpenMP的大型矩阵相乘的算法源码(Based on OpenMP for large matrix multiplication algorithm source code)
    2014-06-11 19:47:16下载
    积分:1
  • 1
    本书用c语言编写了科研和工程中最常用的166个算法,这些算法包括复数 运算、... 4.3.1 【算法23】求一般复矩阵的逆 4.3.2 【算法24】求对称正定矩阵的(good study)
    2013-11-06 21:28:17下载
    积分:1
  • SHENGXUE_BEM
    求解声学问题的边界元程序,给声学研究的人员很大启发(Solving the problem of acoustic boundary element program, to inspire great acoustic research staff)
    2011-07-27 06:37:38下载
    积分:1
  • FilterCal
    这个我写的一个计算LC滤波器的程序,可以显示出最后的频率截止情况,有最平法,椭圆法等计算方法(this, I wrote a calculation of the LC filter procedures can demonstrate that the frequency of the final deadline, the most-France, oval law calculation method)
    2005-08-16 15:43:42下载
    积分:1
  • LU
    说明:  用Doolittle式的LU分解来求解线性方程组。(Solve the linear equations using Doolittle LU Decomposition!)
    2009-04-07 23:38:19下载
    积分:1
  • VLM
    涡格法进行无人机的设计,升力系数,阻力系数,力矩系数等等,美过圣母大学的设计辅助软件(VLM)
    2010-11-26 21:10:51下载
    积分:1
  • QR-decomposition
    QR分解法是目前求一般矩阵全部特征值的最有效并广泛应用的方法,一般矩阵先经过正交相似变化成为Hessenberg矩阵,然后再应用QR方法求特征值和特征向量。它是将矩阵分解成一个正规正交矩阵Q与上三角形矩阵R,所以称为QR分解法,(QR decomposition )
    2020-08-31 01:08:10下载
    积分:1
  • algorithms(CPP)
    计算机常用数值算法与程序(C++版) (Commonly used numerical algorithm of computer and program )
    2014-01-04 22:46:59下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载