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

Temperature in rhoSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tomf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2011, 11:46
Question Temperature in rhoSimpleFoam
  #1
Member
 
Ammar Tareen
Join Date: Jan 2011
Location: Boston University
Posts: 61
Rep Power: 15
atareen64 is on a distinguished road
Hi all,

Does anybody know how temperature is handled in rhoSimpleFoam? I have a semi-complicated simulation that runs really well and I am getting great results for pressure and velocity but the temperature profile seems quite wrong. From the rhoSimpleFoam.C files I couldn't figure if enthalpy is taking care of temperature.

Basically, this might be stupid but I have no clue how temperature is solved for in rhoSimpleFoam or a simple loop in OF. Can somebody give me some insights?

Thanks a million,
~Ammar.
atareen64 is offline   Reply With Quote

Old   December 3, 2015, 07:59
Default rhoSimpleFoam
  #2
jcw
New Member
 
Christian Wolf
Join Date: Mar 2009
Posts: 27
Rep Power: 17
jcw is on a distinguished road
Hello!

I am facing the same problem. I try to simulate a radial compressor with pressure ratio about 2. I can not see any temperature rise. This behaviour is unphysical. OF2.3.
Does anyone have a hint?

Regards, JCW
jcw is offline   Reply With Quote

Old   December 3, 2015, 10:05
Default
  #3
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17
olivierG is on a distinguished road
hello,
take a look at http://cfd.direct/openfoam/energy-equation/
... and also the source file EEqn.H for rhoSimpleFoam.

what did you use in you thermophysicalProperties ? enthalpy or internal energy ?

regards,
olivier
olivierG is offline   Reply With Quote

Old   February 11, 2021, 10:33
Default
  #4
New Member
 
Join Date: Oct 2019
Posts: 13
Rep Power: 6
anthony761 is on a distinguished road
Quote:
Originally Posted by olivierG View Post
hello,
take a look at http://cfd.direct/openfoam/energy-equation/
... and also the source file EEqn.H for rhoSimpleFoam.

what did you use in you thermophysicalProperties ? enthalpy or internal energy ?

regards,
olivier
Ok, I think I understand now ...
I observed same problem with a calculation of a centrifugal compressor.

OpenFOAM-v2006
Geometry: Centrifugal compressor, only one blade passage with cyclic/cyclicAMI (with diffuser vanedless and without volute)
BCs: flowRateInletVelocity with fixedValue temperature inlet and fixedValue pressure outlet
MRF model
Turbulence: kOmegaSST
Thermophysical: hePsiThermo/heRhoThermo, pureMixture, transport const, hConst, perfectGas, sensibleInternalEnergy/Enthalpy
Solvers: rhoSimpleFoam, rhoCentralFoam, sonicFoam

The pressure increased as expected at the exit but not the temperature which seems remain almost constant.

So is this due to the viscous heating term \mathbf{\nabla\cdot(\tau\cdot U)} missing in the energy equation? And probably the most important question: Why OpenFOAM doesn't include this term in energy equation?

It seems that lot of people is facing about this problem, see:

Last edited by anthony761; March 1, 2021 at 08:47.
anthony761 is offline   Reply With Quote

Old   February 12, 2021, 05:28
Default
  #5
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

It is usually not important for a lot of flows, but it is available via fvOptions in the OpenFOAM.com variants:

viscous dissipation fvOption

I do remember I once created something myself many years ago, but I would use that fvOption if I need it again.

Cheers,
Tom
anthony761 likes this.
tomf is offline   Reply With Quote

Old   March 1, 2021, 08:54
Default
  #6
New Member
 
Join Date: Oct 2019
Posts: 13
Rep Power: 6
anthony761 is on a distinguished road
Quote:
Originally Posted by tomf View Post
Hi,

It is usually not important for a lot of flows, but it is available via fvOptions in the OpenFOAM.com variants:

viscous dissipation fvOption

I do remember I once created something myself many years ago, but I would use that fvOption if I need it again.

Cheers,
Tom
Thanks a lot! It's better behaviour is much more phyisical, I haven't my temperature level I have expected but I will continue to look for it.
anthony761 is offline   Reply With Quote

Reply


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
Problem with zeroGradient wall BC for temperature - Total temperature loss cboss OpenFOAM 12 October 1, 2018 06:36
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
monitoring point of total temperature rogbrito FLUENT 0 June 21, 2009 17:31
High temperature methane+air Peter FLUENT 5 January 26, 2009 18:04
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 00:07


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