-
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
-
71001
基于全相位谱分析的相位差频谱校正法,结合了全相位FFT与传统FFT谱分析法。(Phase Difference Correcting Spectrum Method)
- 2009-05-19 21:40:09下载
- 积分:1
-
matrix_transpose.c
适用于大型稀疏矩阵 矩阵转置 c语言 来自于有限元方法编程(From the finite element method suitable for large-scale sparse matrix matrix transpose c language programming)
- 2013-05-20 10:43:20下载
- 积分:1
-
Tin_Method
离散数据生成tin的优秀代码,注释多,易于学习和移植(Discrete data generated tin excellent code, comments, easy to learn and transplantation)
- 2012-05-18 13:12:23下载
- 积分:1
-
Dot-Matrix-5x7-(1)
Dot Matrix 5 x 7 sample progmam , hope you enjoy
- 2012-12-11 10:33:42下载
- 积分:1
-
saolei
实现扫雷功能,基于c语言实现的,能够控制输入矩阵的大小(Implement demining capabilities, based on the c language, able to control the size of the input matrix)
- 2013-06-25 14:29:31下载
- 积分:1
-
Gauss
高斯消元法、高斯列主元消元法解线性方程组。程序由本人独立完全独立完成。版权所有!(Gaussian elimination method out PCA Gaussian elimination method for solving linear equations. I am independent program consists entirely independently. All rights reserved!)
- 2013-08-10 12:31:59下载
- 积分:1
-
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
-
Riemann-problem
一维黎曼问题,计算流体力学,C和Frotran预言代码(Riemann problem)
- 2015-04-29 09:58:22下载
- 积分:1
-
mass-5
fluent模拟焊接,熔滴过渡的质量源项(Welding Simulation, mass source)
- 2020-07-02 21:00:01下载
- 积分:1