Recent content by mcgrane5
-
M
(CFD) Problem with C code for 1D linear convection equation
This is my c program below. Again everything works as expected up until the highlighted lines or the second for loop. When i run my program to output the arrays contents i get bizarre numbers that are not correct. # include <math.h> # include <stdlib.h> # include <stdio.h> # include <time.h>int...- mcgrane5
- Thread
- 1d C code Cfd Code Convection Linear
- Replies: 1
- Forum: Programming and Computer Science