|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
said khaled
Join Date: Jan 2019
Posts: 3
Rep Power: 7 ![]() |
Dear all,
I hope all of u are doing well , I am solving natural convection inside heated cavity and i would like to calculate some quantities using custom field function. However as may be seen below the results are wrong and unfortunately this is the case for all mathematical operations. my question is do u have guys an idea how to solve this problem. thank you so muchcustom field function temperature.jpg |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
|
The reason for that is volume averaging. If all the cells in your mesh are of exactly same volume, then answer would be what you expect, i.e., 90000. However, that is certainly not the case. Volume averaged temperature is defined as
![]()
__________________
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. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
|
The solution is to report out the temperature values for the cell. Go to File > Export > Solution data and then report temperature values for all cells in a text file. Then you can load this file in a text editor, such as vi or textpad to look at how much variation is there in temperature values.
__________________
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. |
|
![]() |
![]() |
![]() |
Tags |
custom field function |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 17:22 |
Can i take contours from Custom field function i defined ? | rahulohlan | FLUENT | 3 | April 18, 2017 13:39 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 09:56 |
time step size in Custom Field Function | Tong | FLUENT | 0 | May 2, 2008 15:51 |