CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   source term in interFoam (http://www.cfd-online.com/Forums/openfoam-programming-development/124240-source-term-interfoam.html)

alighaffari September 30, 2013 11:27

source term in interFoam
 
Hi everybody
I want to add a source term in the momentum equation of the "interFoam" solver. It seems that "swak4Foam" has solved this problem with "InterFoamWithSources".
http://openfoamwiki.net/index.php/Co...oamWithSources

But I could not find any document and/or example to show me how to use it. It is obvious that a "momentumSourceDict" file should be created in "constant" folder. I have no Idea on the structure of this file. If anyone could provide any insight will be most appreciated.


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