Here is my implementation of Van-Leer fluxes (and Jacobians) in the following C code. It has the following functionalities:

1- Has a special python script for plotting contours on unstructured grids!!! I wrote this Python script to get rid of third party packages like Tecplot and Fieldview. I can plot any contour using Python script right away in my C-code without calling external program.

2- Solve two-dimensional Euler equations with first-order and second-order spatial accuracy.

3- Implements Van-Leer fluxes and Jacobians. (ANALYTICAL Jacobians)

4- Has built-in explicit and implicit time-marching schemes.

5- Reads arbitrary unstructured grid in ".mesh" format.

6- Has a library for verification and validation using method of manufacturing solutions.

Below are some results for NACA0012 airfoil

1- Has a special python script for plotting contours on unstructured grids!!! I wrote this Python script to get rid of third party packages like Tecplot and Fieldview. I can plot any contour using Python script right away in my C-code without calling external program.

2- Solve two-dimensional Euler equations with first-order and second-order spatial accuracy.

3- Implements Van-Leer fluxes and Jacobians. (ANALYTICAL Jacobians)

4- Has built-in explicit and implicit time-marching schemes.

5- Reads arbitrary unstructured grid in ".mesh" format.

6- Has a library for verification and validation using method of manufacturing solutions.

Below are some results for NACA0012 airfoil

Fig. 1- Mach = .8 angle of attack is 1.25 degrees (second-order)

Fig. 3- Mach = 1.2 angle of attack is 0.0 degrees (first-order)

Fig. 4- Mach = results from method of manufacturing solution. these contours are compared to exact solution and they are same contours.

To download my code please click on the following link:

__please put your email in the comments and I'll send you one copy of the source code.__

__UPDATE FEB 1, 2016 : The code is published in https://github.com/arrgasm/UnstEuler2D__

Hi, Mr. Ghasemi,

ReplyDeleteI would like to have a copy of your 2D unconstructured euler code.

My email is caplazy@me.com

Thanks in advance.

I sent the code to your email.

DeleteThis comment has been removed by the author.

ReplyDeleteHello. Check your mailbox.

DeleteCan I have a copy of the codes as well. My email is

ReplyDeleteandrei.cimpoeru@hotmail.co.uk

Hey I sent the code

DeleteHello Ghasemi,

ReplyDeleteCan I get a copy of your code? My email is:

m979a608@ku.edu

Thanks

I just sent you the code! plz check mail!

DeleteHello!

ReplyDeleteCould i have a copy of your code?

Here's my email:

maxditta@gmail.com

Thanks!

I sent you the code!

DeleteHi, Mr. Ghasemi,

DeleteI would like to have a copy of your 2D unconstructured euler code.

My email is kha_brahim@hotmail.com

Thanks in advance.

Hi, Mr. Ghasemi,

DeleteI would like to have a copy of your 2D unconstructured euler code.

My email is kha_brahim@hotmail.com

Thanks in advance.

Hi, can I have your code?

ReplyDeleteMy email is 726792163@qq.com.

Thanks in advance.

Hi, I am an aerospace student and have just started an introduction to cfd and I would like to have a copy of the code. Also I would want to know if it would be easier to code a basic cfd solver with matlab.

ReplyDeleteThanks in advance

This comment has been removed by the author.

DeleteSorry just forgotten my email: kahin1993@hotmail.com

DeleteYes. Always write little parts of your program in MATLAB for testing. Then if you need to run big cases then change your MATLAB code to either C or Fortran90. I sent you the code!

DeleteHi, Mr. Ghasemi,

ReplyDeleteMay I have a copy of your 2D unconstructured euler code.

My email is haozhu1987china@gmail.com

Thanks

please see https://github.com/arrgasm/UnstEuler2D

DeleteHey,

ReplyDeletecan I have your code

my emailID is : jagadishbabu.iitb@gmail.com

please see https://github.com/arrgasm/UnstEuler2D. Thanks!

Delete