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

Temperature of cells in every time steps

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2018, 03:37
Default Temperature of cells in every time steps
  #1
New Member
 
NhanLe
Join Date: Jan 2016
Posts: 7
Rep Power: 10
NhanLe is on a distinguished road
Hi everyone, I am writing a UDF for temperature dependent material properties using DEFINE_PROPERTY(), I can used C_T() and C_T_M1() to get the temperature of the cell for for the current and previous time step. Is it possible to store and use all of the cell's temperature ?

For example, 1 cell after 4 time steps will have 5 temperature values, I would like to get the max of that 5 values to switch that cell material property in the UDF. I am pretty new to this so if anyone can shed a light for me about this, I would deeply appreciate. Thanks.

NhanLe
NhanLe is offline   Reply With Quote

Old   December 5, 2018, 15:10
Default
  #2
New Member
 
Sanket Dange
Join Date: Jul 2013
Posts: 9
Rep Power: 12
sanketdange2007 is on a distinguished road
You can use User defined memory (UDM) for storing cell data over the domain.
But saving it at every time step would be very much memory intensive and difficult to achieve. Rather try to write a logic which will use single UDM and which will save only max temperature value by comparing current value and stored value from UDM.
sanketdange2007 is offline   Reply With Quote

Old   December 5, 2018, 22:20
Default
  #3
New Member
 
NhanLe
Join Date: Jan 2016
Posts: 7
Rep Power: 10
NhanLe is on a distinguished road
Dear Sanket,
Thank you for your kind reply. I will try it.

Best regards,
NhanLe 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
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 5, 2023 23:48
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 05:28
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 13:40
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 16:09.