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

codedMixed temperature in compressibleInterFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 13, 2024, 15:54
Default codedMixed temperature in compressibleInterFoam
  #1
Senior Member
 
Julio Pieri
Join Date: Sep 2017
Posts: 109
Rep Power: 9
JulioPieri is on a distinguished road
Dear all,

I'm running a simulation (high pressure gas injected into water) in which T varies at the inlet with a codedMixed BC, with OF2212. The coded part itself is ok, and the T value is updated correctly.

However, the T.gas field is not updated with the coded T during the simulation - it is kept constant as the initialized value. This leads to a wrong rho, thus changing the inlet mass flow rate and giving wrong results. Only when I stop and resume the simulation the T.gas field is updated to the proper value of T (which was freshly calculated from the coded BC at the begining of the run, during 'mixture' construction).

Did anyone face problems like this one? Is there any workaround? I believe the thermo1 and thermo2 objects should be updated form T every timestep, but for some reason it isn't.

Thanks!

Last edited by JulioPieri; December 13, 2024 at 17:28.
JulioPieri is offline   Reply With Quote

Old   December 16, 2024, 13:23
Default
  #2
Senior Member
 
Julio Pieri
Join Date: Sep 2017
Posts: 109
Rep Power: 9
JulioPieri is on a distinguished road
For those interested in something similar, it seems to be a bug with ESI OF. Running in Foundation v11 did the trick.
JulioPieri is offline   Reply With Quote

Reply

Tags
coded, codedmixed, compressibleinterfoam, temperature


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
Outlet temperature to temperature boundary condition of velocity inlet. (UDF) dillon Fluent UDF and Scheme Programming 3 March 25, 2018 12:06
Static temperature and Total temperature Jong-Yoon FLUENT 0 September 25, 2016 02:42
Free stream temperature saharesobh FLUENT 1 October 11, 2012 21:52
How to get free stream temperature in boundary condition saharesobh FLUENT 0 October 9, 2012 18:12
monitoring point of total temperature rogbrito FLUENT 0 June 21, 2009 18:31


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