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

Macro for rms temperature

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2020, 17:25
Default Macro for rms temperature
  #1
New Member
 
Larissa Lemos
Join Date: Jun 2020
Posts: 6
Rep Power: 5
LemosLD is on a distinguished road
Hi! Anyone know if fluent has a Macro for rms temperature? Modeling turbulent combustion the rms temperature is available as a result, but I want to use the information in one UDF. I did not find this on the manual.
Thank you!
LemosLD is offline   Reply With Quote

Old   June 19, 2020, 06:28
Default RMS Temperature
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
It depends on the combustion model. If you are using PDF, then you can try to use SV_T_RMS. It is defined, but whether available for UDFs or not, I am unsure.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 19, 2020, 10:56
Default rms temperature
  #3
New Member
 
Larissa Lemos
Join Date: Jun 2020
Posts: 6
Rep Power: 5
LemosLD is on a distinguished road
Thank you for answer. I am using PDF model, but is a steady state simulation and I think that SV_T_RMS works in transient solutions. I tried to use but the result is a single value for all the domain. Not a field of rms temperature. The PDF model provide this field of rms temperature as a result, so I think it would be possible to use.
LemosLD is offline   Reply With Quote

Old   June 19, 2020, 11:27
Default Rms
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
Transient RMS are usually not saved in data file, but you are most likely right because its used in unsteady.h. As far as PDF based RMS is concerned, I don't see any such variable.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 19, 2020, 11:35
Default An alternative
  #5
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
There is a way to fetch any variable that is available in Contours, but I don't remember it right now. However, I am sure that it exists and you might find it either on this forum or online.

And there is a function called Calc_Pdf_RMS that requires three arguments. First and second are standard cell_t and Thread but third one is an integer. In my view, that might corresponds to the index of the RMS variables. So, if you want temperature, then you have to use the index as given in list when it displays in Contours. It returns a real value corresponding to that cell.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 19, 2020, 16:27
Default
  #6
New Member
 
Larissa Lemos
Join Date: Jun 2020
Posts: 6
Rep Power: 5
LemosLD is on a distinguished road
Thank you again, I tested Calc_Pdf_RMS(c,t,integer number) and the function return the rms value of mass fractions, according the index of species.
I think I am close to finding the rms temperature.
LemosLD is offline   Reply With Quote

Old   June 28, 2020, 08:37
Default
  #7
New Member
 
Junjun Guo
Join Date: May 2019
Posts: 12
Rep Power: 6
Junjun Guo is on a distinguished road
Hi Larissa,

Did you find the way to get the RMS temperature in UDFs? I face the same issue.

Thanks
Junjun
Junjun Guo is offline   Reply With Quote

Old   June 28, 2020, 19:34
Default
  #8
New Member
 
Larissa Lemos
Join Date: Jun 2020
Posts: 6
Rep Power: 5
LemosLD is on a distinguished road
Hi! No, I still have not. I am using the PDF model for non-premixed combustion, so now I am trying integrating the temperature in PDF function. I am doing something that is ready, so it is the double of work, but I asked this question for many people and no one knows a macro for rms temperature. If I find I will write here, if you find could you do the same? Thanks!!
LemosLD is offline   Reply With Quote

Old   June 29, 2020, 06:05
Default
  #9
New Member
 
Junjun Guo
Join Date: May 2019
Posts: 12
Rep Power: 6
Junjun Guo is on a distinguished road
Quote:
Originally Posted by LemosLD View Post
Hi! No, I still have not. I am using the PDF model for non-premixed combustion, so now I am trying integrating the temperature in PDF function. I am doing something that is ready, so it is the double of work, but I asked this question for many people and no one knows a macro for rms temperature. If I find I will write here, if you find could you do the same? Thanks!!
I try to use Calc_Pdf_RMS(c,t,integer number), the integer number is one more than the number of species, if the mechanism you used has 47 species, then the integer number is 47, since the index of species starts from 0. In my case, it gives me the rms temperature which is the same with that in contour, but I don't know why should be this number.
Junjun Guo is offline   Reply With Quote

Old   June 29, 2020, 07:59
Default
  #10
New Member
 
Larissa Lemos
Join Date: Jun 2020
Posts: 6
Rep Power: 5
LemosLD is on a distinguished road
Yes, it really works!!! When I tested I think it was only for species, but the last one is rms temperature! Thank you so much!
What do you mean, do you want to know how is calculate the rms temperature? Thank you!!
LemosLD is offline   Reply With Quote

Old   June 29, 2020, 08:06
Default
  #11
New Member
 
Junjun Guo
Join Date: May 2019
Posts: 12
Rep Power: 6
Junjun Guo is on a distinguished road
Quote:
Originally Posted by LemosLD View Post
Yes, it really works!!! When I tested I think it was only for species, but the last one is rms temperature! Thank you so much!
What do you mean, do you want to know how is calculate the rms temperature? Thank you!!
Root mean square in Fluent, it is probably not genuine!
In this post, they guess the rms in Fluent is not the genuine RMS as we normally learned. Do you know the equation used to calculate the rms in Fluent?
Junjun Guo is offline   Reply With Quote

Old   June 29, 2020, 09:24
Default
  #12
New Member
 
Larissa Lemos
Join Date: Jun 2020
Posts: 6
Rep Power: 5
LemosLD is on a distinguished road
Actually I am testing this, I think the result of rms temperature is only about the fluctuating part, as commented in the post for velocity. However, I don't found this explication on the manual.
LemosLD is offline   Reply With Quote

Old   May 6, 2021, 15:15
Default
  #13
New Member
 
Krutika Appaswamy
Join Date: May 2020
Posts: 8
Rep Power: 5
Krutika Appaswamy is on a distinguished road
Hi,

I have been trying to obtain the RMS of temperature (PDF method for combustion calculations) but the RMS temperature's XY plot is much lesser than expected. I read a couple of posts explaining the reason being it is the RMS of the fluctuations. I was wondering if there is any way to obtain the actual RMS values.
Thanks!
Krutika Appaswamy is offline   Reply With Quote

Reply

Tags
macro, rms 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
fvOptions npatricia OpenFOAM 6 May 23, 2018 05:21
outlet temperature jigneshrohit99 FLUENT 1 March 25, 2016 13:26
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
Free stream temperature saharesobh FLUENT 1 October 11, 2012 20:52
Bulk temperature Tf is obtained from total or static temperature? NPU_conanxie FLUENT 0 March 30, 2011 05:56


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