Resolving the transport equation to visualise the evolution of a pollutant cloud
At the Ecole Centrale de Lyon, we had to elaborate a code to simulate the propagation of a fictional pollutant cloud, and analyze the concentration of pollutant to see if it was noxious.
3 factories are emitting pollutant, we have access to the wind velocity at
We are modelling the equation using :
where
The deposition of pollutant is modelled by the equation
The laplacian is approximated using the 5 point method :
where h represent the spatial step.
Likewise,
Several figures and data on the deposited pollutants were obtained, leading to the conclusion that the factories were noxious.
The main.m program executes the code and shows the results. The core of the simulation is handled in the simulation.m. The others files are mainly utility functions.
