Introduction - If you have any usage issues, please Google them yourself
Send a written discontinuous finite element program--- for solving two-dimensional Euler equations
The attachment is a C language program I wrote it myself. Discontinuous finite element method for solving two-dimensional Euler equations.
Example is the flow around a cylinder. Zip file which also contains the mesh generation process to write a MATLAB
Sequence, just do small changes can generate sparse different grid.
The program also some problems as follows:
Because there is no boundary, so the residuals of the calculation will not converge to a given decimal, such as
0.001 and so on. When the maximum residual is about 0.1, press the ESC key on the keyboard, the program calculates the end, will output
A file Result.dat, the use tecplot software to open this file, you can get some results, such as flow lines
And so on. Because the result does not converge, there will be two in the back of the cylinder vortices appear, if the calculation of longer, there will be
Th