CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   momentum source (

vinnithepooh January 18, 2011 12:44

momentum source
dear all,

has anyone worked on giving momentum source in rhoPorousSimpleFoam?
could somebody give me a hint as how to proceed.

thanks in advance.

nakul January 20, 2011 06:01


I haven't added a source term before but you may just define the "source" field in createfields.h file locate in the source code of this solver that you would find in "applications" folder.

Also you may add your source term to momentum equation in the C file located in the source code folder of this solver. Then you may specify relevant solvers to solve for this sorce term in fvSolution.

You may find the exact procedure if you thoroughly search this forum.

All times are GMT -4. The time now is 14:20.