|
[Sponsors] |
December 2, 2018, 04:37 |
Temperature of cells in every time steps
|
#1 |
New Member
NhanLe
Join Date: Jan 2016
Posts: 7
Rep Power: 10 |
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 |
|
December 5, 2018, 16:10 |
|
#2 |
New Member
Sanket Dange
Join Date: Jul 2013
Posts: 9
Rep Power: 13 |
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. |
|
December 5, 2018, 23:20 |
|
#3 |
New Member
NhanLe
Join Date: Jan 2016
Posts: 7
Rep Power: 10 |
Dear Sanket,
Thank you for your kind reply. I will try it. Best regards, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 6, 2023 00:48 |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |