Skip to content

heySourabh/PracticeCodeForStudents

Repository files navigation

PracticeCodeForStudents

Some code for students to experiment with, and program the solvers taught in the class.

To understand the code start by looking at the algorithm (in comments) written in main.c file.

This folder contains a Makefile, so running make at the command line will compile the code. If you do not have make-tools installed, then you can run the following command:

gcc -Wall ./src/*.c -I./include -lm -o output.exe

I have tested the code only on Ubuntu 14.04 and Ubuntu 16.04. Nevertheless, on other distributions of Linux it should have no problems.

For Windows using Visual Studio will most probably work, as the code uses only standard libraries.

Here is a plot of a solution generated by the code (the plotting program is included):

Plot

About

Some CFD code for students to practice on

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published