ECMM461 CA1 advection2D
/******************************************************************************* 2D advection example program which advects a Gaussian u(x,y) at a fixed velocity Outputs: initial.dat – inital values of u(x,y) final.dat – final values of u(x,y) The output files have three columns: x, y, u Compile with: gcc -o advection2D -std=c99 advection2D.c -lm Notes: The time step is calculated using the CFL condition ********************************************************************************/ […]
ECMM461 CA1 advection2D Read More »