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

How can temperature e treated as a passive scalar be used in transport equation?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By granzer
  • 1 Post By Mohmed Zayed
  • 1 Post By Mohmed Zayed

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 4, 2021, 09:11
Default How can temperature e treated as a passive scalar be used in transport equation?
  #1
Senior Member
 
Mandeep Shetty
Join Date: Apr 2016
Posts: 188
Rep Power: 10
granzer is on a distinguished road
Hello,
Temperature is not a conserved quantity. Then how can temperature be treated as a passive scalar and used in a scalar transport equation? Looking at the transport equation for Temperature it seems to be the same as the energy equation but used for an incompressible isotropic flow independent of temperature. So, is the 'Temperature scalar transport same as energy transport equation?

Also, in OpenFOAM when reading about the energy equation I came across internal energy and enthalpy dependent energy equation (HEqn) but the temperature transport equation (TEqn) is not mentioned here. So why is the temperature transport equation not recognized as an Energy equation?
lpz456 likes this.
granzer is offline   Reply With Quote

Old   June 5, 2021, 08:15
Default
  #2
New Member
 
Mohamed Zayed
Join Date: Sep 2020
Posts: 5
Rep Power: 6
Mohmed Zayed is on a distinguished road
There is only the energy conservation equation, originaly expressed in the internal energy and enthalpy terms in its non simplified form http://cadfamily.blogspot.com/2014/1...-transfer.html , it is just in case of incompressible flows can be simplified and considered as the known passive scalar temperature equation to solve for the temperature field.

For incompressible flow you need the "Mass conservation" and "Momentum conservation" to solve the field (that is why in the OpenFOAM incompressible solvers you don't find EEqn files), and the Temperature equation is an independet solved equation (if you add it to the solver as a passive scalar) depending on its thermal diffusivity coefficient, as the velocity and pressure field is already known from the solved coupled Mass and Momentum equations.

But for compressible flows the density is changing and so you need an additional equaitons to to solve the field, so the "Energy conservation" and the "state equation" have to be added in the solver to close the set of equations. But this time you have to consider the non simplified form of the energy equation as the internal energy is not only dependent on the temperature anymore.

I hope it helped.
lpz456 likes this.
Mohmed Zayed is offline   Reply With Quote

Old   June 6, 2021, 11:33
Default
  #3
Senior Member
 
Mandeep Shetty
Join Date: Apr 2016
Posts: 188
Rep Power: 10
granzer is on a distinguished road
Quote:
Originally Posted by Mohmed Zayed View Post
There is only the energy conservation equation, originaly expressed in the internal energy and enthalpy terms in its non simplified form http://cadfamily.blogspot.com/2014/1...-transfer.html , it is just in case of incompressible flows can be simplified and considered as the known passive scalar temperature equation to solve for the temperature field.

For incompressible flow you need the "Mass conservation" and "Momentum conservation" to solve the field (that is why in the OpenFOAM incompressible solvers you don't find EEqn files), and the Temperature equation is an independet solved equation (if you add it to the solver as a passive scalar) depending on its thermal diffusivity coefficient, as the velocity and pressure field is already known from the solved coupled Mass and Momentum equations.

But for compressible flows the density is changing and so you need an additional equaitons to to solve the field, so the "Energy conservation" and the "state equation" have to be added in the solver to close the set of equations. But this time you have to consider the non simplified form of the energy equation as the internal energy is not only dependent on the temperature anymore.

I hope it helped.
Thank you...Yes the energy equation is decoupled and can be solved seperately when assuming incompressible flow. But it is still energy equation ...calling it temperature scalar transport ....doesn't have the same feel as calling the scale trasport of some 'species' like say carbon-dioxide, as temperature is not a conserved quantity. In some certain situation, I have read, temperature can be assumed conserved. But still I guess it bugs me. For ex: if we consider the mixing of 2 flows at different temperatures at a elbow bend, it's not the hotter temperature that is diffusing...it's the energy. Temperature is not additive.
granzer is offline   Reply With Quote

Old   June 6, 2021, 17:35
Default
  #4
New Member
 
Mohamed Zayed
Join Date: Sep 2020
Posts: 5
Rep Power: 6
Mohmed Zayed is on a distinguished road
I totally agree with you. There is confusion with using temperature instead of energy for the equation naming, but the energy is the quantity conserved in all cases. I think this confusion arises from the fact that the energy equation solves for temperature field.

I will write energy equations for compressible and incompressible flows for future reference.

compressible:

\rho \left \lfloor \frac{\partial h}{\partial t} + \nabla . (h\overrightarrow{V}) \right \rfloor = -\frac{Dp}{Dt} + \nabla . ( {k \nabla T} ) + \phi

incompressible:

\rho c_{p} {\left \lfloor \frac{\partial T}{\partial t}+(\overrightarrow{V}.\nabla)T \right \rfloor} = K\nabla^{2}T+\phi

Also, the following document represents the upper equations and the reasons behind the simplification of the equation in the incompressible case clearly:
http://users.metu.edu.tr/csert/me582...%20Ch%2001.pdf
lpz456 likes this.
Mohmed Zayed is offline   Reply With Quote

Reply

Tags
energy equation, transport equation


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
Temperature calculation from total enthalpy in OpenFOAM (XiFOAM) sharifi OpenFOAM Running, Solving & CFD 1 October 8, 2020 10:16
Adding a scalar transport equation to twoPhaseEulerFoam shanvach OpenFOAM Running, Solving & CFD 1 October 29, 2018 05:17
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 05:18
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion faizan_habib7 CFX 4 February 1, 2016 18:00
transport equation for SGS scalar variance chinthakindi Main CFD Forum 0 April 27, 2004 10:26


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