Author Topic: How do I calculate concentration of water in a cell?  (Read 4660 times)

Offline william

  • Full Member
  • ***
  • Posts: 159
  • Reputation: +15/-0
  • Know it, share it.
    • View Profile
How do I calculate concentration of water in a cell?
« on: February 02, 2012, 04:14:59 PM »
Advertisement
I have mass transfer from the spheres (lagrangian tracking) to the air (continuous phase). The mass transfer depends on the difference in concentration between particle surface vapours and water vapours concentration in the gas phase. For this I suppose I will need the water vapour concentration of the cell in which the particle is located.

If that is the case, then how do I calculate the concentration water in the cell?

Thanks.
« Last Edit: February 02, 2012, 04:16:54 PM by william »

Offline piso

  • Newbie
  • *
  • Posts: 13
  • Reputation: +3/-0
  • Searching for solution
    • View Profile
Re: How do I calculate concentration of water in a cell?
« Reply #1 on: February 02, 2012, 04:31:00 PM »
You can get concentration in the cell using the following code:

C_YI(c,t,0)*C_R(c,t)

C_YI(c,t,0) will give you mass fraction of the component. C_R(c,t) will give you density of the phases in the cell. Hence multiplication of the two gives you the concentration of the component (whose ID is 0) in the cell.

where:
c is the cell identifier
t is the thread identifier
0 is the ID of the component. If it is first in your Materials > mixture-template > Mixture Species > names Edit list then its ID is 0. If it is second in the list then its ID is 1.

Offline william

  • Full Member
  • ***
  • Posts: 159
  • Reputation: +15/-0
  • Know it, share it.
    • View Profile
Re: How do I calculate concentration of water in a cell?
« Reply #2 on: February 02, 2012, 04:33:04 PM »
Thanks I will try that.