CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   sprayFoam: more than one inert specie? (https://www.cfd-online.com/Forums/openfoam-solving/147989-sprayfoam-more-than-one-inert-specie.html)

wolfindark February 3, 2015 00:59

sprayFoam: more than one inert specie?
 
Dear All

in sprayFoam, is is possible to use two inert species?
In the tutorial, only one inert specie is written in the constant/thermophysicalProperties file...

thanks

novak_silich February 5, 2015 15:17

Quote:

Originally Posted by wolfindark (Post 530098)
Dear All

in sprayFoam, is is possible to use two inert species?
In the tutorial, only one inert specie is written in the constant/thermophysicalProperties file...

thanks

Hi
I think it's not possible to set two inert species. if you look YEqn.H ,solver calculates mass fraction of inert :(of231)
Code:

Y[inertIndex] = scalar(1) - Yt;
that Yt=mass fractions of all species except inert specie
so if you use two inert species for example A & B, solver is not able to calculate mass fraction of them.

wolfindark February 5, 2015 21:04

Thank you,
that is bad....:(

wolfindark February 9, 2015 06:07

I have another question...

In the sprayFoam, the input parameters for the gas species are mole fractions? or mass fractions?

thanks

novak_silich February 9, 2015 09:16

Quote:

Originally Posted by wolfindark (Post 531059)
I have another question...

In the sprayFoam, the input parameters for the gas species are mole fractions? or mass fractions?

thanks

in /opt/openfoam231/src/lagrangian/intermediate/phaseProperties/phaseProperties
Code:

//- List of component mass fractions
        scalarField Y_;


wolfindark February 9, 2015 09:42

I see...

i am trying to simulate water vapour condensation on the subcooled spray droplets.
Atmosphere is steam and air mixture. I am confused with what should be the inert specie?
which specie is carrier specie?


All times are GMT -4. The time now is 01:47.