CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Adding mass source term to reactingFoam (https://www.cfd-online.com/Forums/openfoam-programming-development/134505-adding-mass-source-term-reactingfoam.html)

Bahram April 30, 2014 10:21

Adding mass source term to reactingFoam
 
Hi Foamers

I would like to add a mass source term to the reactingFoam. I defined my_source in the createFields.
I edited my equations like this:
rhoEqn == my_source

YEqn == my_source

PEqn == my_source

how should I modify my energy and momentum equations(EEqn, UEqn)?

Any help would be greatly appreciated.

Regards

Bahram

Bahram April 30, 2014 12:21

Isn't anybody interested in this topic? :(

Bahram May 2, 2014 05:58

can anybody help??????????????

dkxls May 2, 2014 06:18

Take a look at the reactingParcelFoam or sprayFoam solvers. These solvers have source terms in the conservation equations from the Lagrangian phase.

Bahram May 2, 2014 08:15

Thanks for your help, I'll check them... :)


All times are GMT -4. The time now is 10:05.