登录
首页 » Visual C++ » Euler_DG_Quadrilateral_2D

Euler_DG_Quadrilateral_2D

于 2021-01-29 发布 文件大小:46KB
0 297
下载积分: 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 个回复

  • raytracer111
    电磁场与微波技术下的射线追踪技术。应用c语言编程(Electromagnetic Field and Microwave Technology under the ray tracing technique. Application c programming language)
    2013-06-02 20:32:24下载
    积分:1
  • microdisk_FDTD_backup
    FDTD Solutions 是一款三维麦克斯韦方程求解软件,可以分析紫外、可见、红外至太赫兹和微波频率段电磁波与具有亚波长典型尺寸复杂结构的相互作用。 FDTD Solutions 使得设计师能够从容地面对光子设计复杂的挑战问题。快速原型制造和高精度仿真大大降低对费用高昂的原型试验的依赖,因而可以对设计概念进行快速评价,进而缩短产品研发周期,降低费用。 FDTD Solutions 可以帮助你成功应对各种复杂的应用,从基础光子学研究,到目前工业界领先应用领域如成像、照明、生物光子学、光伏、以及众多其他应用。(FDTD Solutions is a three-dimensional software for solving Maxwell' s equations, we can analyze the ultraviolet, visible, infrared and microwave to terahertz frequencies of electromagnetic waves having a typical size of subwavelength interaction of complex structures. FDTD Solutions allows designers to calmly face the complex photonic design challenges. Rapid prototyping and simulation precision greatly reduce dependence on costly prototype testing, which can quickly uate design concepts, and thus shorten the product development cycle and reduce costs. FDTD Solutions can help you successfully deal with a variety of complex applications, leading application areas such as imaging, lighting, biophotonics, photovoltaics, and many other applications basic photonics research, the current industry.)
    2016-03-20 17:40:02下载
    积分:1
  • abint_bchol_brinv
    将一些标准数值与非数值算法集中封装在几个DLL中,需要用时可在VB/Delphi/C#中分别调用,这里提供了3个小程序,分别用于线性方程组求根、计算行列式的值、矩阵求逆。(Some standard numerical and non-numerical algorithm focus on packaging in several DLL, it is necessary to use when in VB/Delphi/C# Call, respectively, this provides three small programs, respectively, for the roots of linear equations, calculation of the value of the determinant, matrix inversion.)
    2008-06-28 22:35:05下载
    积分:1
  • waveinFFT_demo
    录音程序,音频录音fft程序,并加界面显示(radio record code)
    2016-03-01 00:29:08下载
    积分:1
  • shuzhifenxi
    数值计算各算法的程序,包括:牛顿迭代法,超松驰迭代法,微分法等.对于初学数值分析这门课程的人有很大的帮助.(Numerical calculation procedure of the algorithm, including: Newton iteration, ultra-relaxation iteration method, differential method and so on. Beginner numerical analysis for this course were very helpful.)
    2008-01-24 14:50:44下载
    积分:1
  • pianxin
    计算偏心圆导热计算以及同位网格上的SIMPLE算法 (Calculating thermal calculations and eccentric position on the grid with SIMPLE algorithm)
    2013-07-02 21:26:11下载
    积分:1
  • powell
    优化设计算法:用powell法求解目标函数的最优解和最优值,已经验证算法的正确性,在visual c++6.0下开发(Optimization algorithm: Solving the objective function with powell optimal solution and optimal value, has verified the correctness of the algorithm, the visual c++6.0 under development)
    2021-04-20 10:18:50下载
    积分:1
  • fluid-1
    说明:  气泡上浮实验,基于fluent的二维模型(Bubble Floating Experiment)
    2019-03-28 21:16:57下载
    积分:1
  • migration(FKaPS)
    F-K域偏移法和相移法偏移程序(C语言)(FK domain migration method and the phase- shift method migration program (C language))
    2021-04-06 20:59:02下载
    积分:1
  • wenjian
    汽车油耗计算(C实现)对于家用经济型小轿车来说,统计油耗是经常做的一件事。本题目要求根据汽油单价、每次加油所用钱数,以及该次加的油所跑里程数计算出该车的百公里油耗,并进行保存,根据需要给出统计数据。(Vehicle fuel consumption calculation (C implementation) for the household economy cars, the fuel consumption statistics is often one of the things. The questions asked based on gasoline price, amount of money each fuel used, and the second oil added to calculate the mileage run car 100 km fuel consumption, and save, according to the need to give statistics.)
    2011-12-15 16:45:12下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载