CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Pollution dispersion (

CFD_user_2012 March 1, 2012 02:20

Pollution dispersion

I ran a steady state simulation of flow over a building. I want to introduce a source on to the top of the building. I am using simpleFoam for calculations. How do I simulate the pollution source. Do I have to modify simpleFoam or do I use another solver ? If so how do I modify the solver or is there an existing solver I should use ?


nimasam March 1, 2012 04:40

you have two options:
1) define a patch there, so you can assign a boundary with source there
2) modify your solver to insert a source term for specified cells

extra option:
3) i guess swak4foam have options for these kind of problems

CFD_user_2012 March 1, 2012 18:36


Can you tell the basic steps to define the patch ? Also where can I download swak4foam ?



nimasam March 2, 2012 02:53

go here to download swak4Foam:

and search in forum for
swak4Foam + source term

All times are GMT -4. The time now is 21:29.