Solving equation to model air pollution from traffic over time
Show older comments
Im trying to write some code to solve the below equation over a grid over time, where im only interested in the diffuse and decay terms.
The context is i have a stretch of road which i will model into a grid, there will be a car at some point in the grid releasing a fixed amount of pollution. The position of the car will be updated across the grid over time and i want to be able to calculate the concentration of pollution across the grid over time. (eventually ill be adding terms for wind etc but want to keep it simple for now)
Im unsure how exactly to construct the equations so any help would be appreciated.

Answers (1)
Benjamin Thompson
on 8 Feb 2022
0 votes
That is a partial differential equation, so you could look at the pdeval function or the Partial Differential Equations Toolbox to see what capabilities are offered to solve your problem. Try something then ask specific questions about problems you run into.
3 Comments
Ross Thompson
on 8 Feb 2022
Ross Thompson
on 8 Feb 2022
Benjamin Thompson
on 8 Feb 2022
I have little experience with PDEs, but if you post the whole equation and then maybe review the examples with the PDE Toolbox and try something out yourself, then the Community will have more information to offer help.
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!