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/)
-   -   new scalar transport eqn. with new density (https://www.cfd-online.com/Forums/openfoam-programming-development/106601-new-scalar-transport-eqn-new-density.html)

Tobi September 3, 2012 08:18

new scalar transport eqn. with new density
 
Hi all,

just a question. I build a new scalarRhoSimpleFoam solver which solves an additional transport eqn. for a scalar. So I am able to simulate mixing cases (scalar = 0 for inlet1; scalar = 1 for inlet2). But in that case I am using normal air as fluid.

The results are very nice but there are differences to the reallity in the mixing couse of the different density`s and there for I get other velocitys and other mixings.

So I want to extend my own build solver for that. The question is:
what do I have to implement in the new solver? I think I have to implement a second scalar eqn or? Or do I just have to change the calculation of rho?

Its a bit tricky I think. Maybe someone could give me an advice?
Tobi


All times are GMT -4. The time now is 15:00.