CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Energy equation for multi-component systems

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2018, 08:24
Default Energy equation for multi-component systems
  #1
Senior Member
 
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16
Andrea_85 is on a distinguished road
Dear All,

i have a question regarding the energy equation in chtMultiRegionFoam or, in general, the energy equation for multi-component systems. The fluid i am working with is moist air, which is a binary mixture of dry air (a) and water vapor (v). The total heat flux for this multi-components system should be the sum of conductive heat flux (given by Fourier's law) and the heat flux resulting from mass diffusion (see for example [1], Chapter 19):


Code:
q_{tot} =q + \sum_{i=1} h_i g_{d,i} 


where


q = -\lambda\nabla T 


h_i = c_{p,i}(T-T_{ref}) --> enthalpy of component "i"


g_{d,i} = -\rho D_i \nabla Y_i
 
with

Y_i = \frac{\rho_i}{\rho}--> mass fraction of component "i
\rho = \rho_a + \rho_v--> density of the mixture
i = a,v
However, if we look at how the energy equation is implemented in (for example) chtMultiRegionFoam, it seems that the contribution of mass diffusion to the heat flux is not there (i am copying from OF 6):


Code:
 fvScalarMatrix EEqn
     (                      
   fvm::ddt(rho, he) + fvm::div(phi, he)
+ fvc::ddt(rho, K) + fvc::div(phi, K)
+ (  

       he.name() == "e"  

      ? fvc::div                                   

        (                                       
              fvc::absolute(phi/fvc::interpolate(rho), U),                                             p,
              "div(phiv,p)" 
        )
        : -dpdt
     )
- fvm::laplacian(turbulence.alphaEff(), he)
== 
    rho*(U&g) 
+ rad.Sh(thermo, he)
+ Qdot
+ fvOptions(rho, he)
);
I guess the term:


- fvm::laplacian(turbulence.alphaEff(), he)


only accounts for conductive heat flux. So, where is the mass diffusion contribution?

Thanks,

Andrea



[1]Bird, R. Byron. "Transport phenomena." Applied Mechanics Reviews 55.1 (2002): R1-R4.
Andrea_85 is offline   Reply With Quote

Old   September 20, 2018, 10:24
Default
  #2
Senior Member
 
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16
Andrea_85 is on a distinguished road
I just wanted to add that mass diffusivity is correctly accounted for in the specie equation:

Code:
fvScalarMatrix YiEqn
    (
        fvm::ddt(rho,Yi)
      + mvConvection->fvmDiv(phi, Yi)
      - fvm::laplacian(turbulence.muEff(), Yi) 
    ==
        reaction.R(Yi)
     + fvOptions(rho, Yi)
   );
Here OF uses the effective viscosity instead of mass diffusivity, which I think is ok for turbulent flows. If I understand correctly, the diffusive mass flux for turbulent flows should be written as:

g_{d,i} = ( \rho D_i + \frac{\mu_t}{Sc_t})\nabla Y_i

In OF this becomes

g_{d,i} = \left (\mu+ \mu_t\right)\nabla Y_i

under the assumption that \rho D_i = \mu and Sc_t=1


It seems to me that this term is then neglected in the Energy equation. The approximation (if it is neglected) should be ok for Lewis number close to 1, where Lewis number for component i is defined as:

Le_i = \frac{\kappa}{\rho c_{p}D_i}


where k is the thermal conductivity. Note that Le=1/Pr following OF implementation.


Are these ideas correct? Is the the heat flux due to mass diffusion neglected in energy equation? Or am i missing something?


Thanks,

Andrea
Andrea_85 is offline   Reply With Quote

Old   September 24, 2018, 22:19
Default
  #3
New Member
 
Gao Zhengwei
Join Date: Jan 2017
Location: HangZhou, P.R.China
Posts: 10
Rep Power: 9
Gaozw is on a distinguished road
Hi Andrea,

I have read this part of the code and I think what you said is right. In OF, the unity Sc number assumption is used for specie equation since the differential diffusion model is not available.

Gao
Gaozw is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in computing Energy equation faab OpenFOAM Running, Solving & CFD 0 February 3, 2017 14:04
Pyrolisis energy equation yaqb OpenFOAM Programming & Development 0 May 22, 2014 18:25
Questions about the energy equation aestas Fluent UDF and Scheme Programming 5 April 6, 2014 12:28
problem on energy and flow equation solving separately preetam69 FLUENT 2 July 30, 2013 22:08
Why FVM for high-Re flows? Zhong Lei Main CFD Forum 23 May 14, 1999 14:22


All times are GMT -4. The time now is 03:12.