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

Fluent Custom Field function

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By vinerm
  • 1 Post By vinerm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2020, 09:46
Default Fluent Custom Field function
  #1
New Member
 
said khaled
Join Date: Jan 2019
Posts: 3
Rep Power: 7
saidkhaled is on a distinguished road
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
saidkhaled is offline   Reply With Quote

Old   March 28, 2020, 16:20
Default Volume Average
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
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

\frac{\sum T_{cell} \times V_{cell}}{\sum V_{cell}}
Sai Krishna and saidkhaled like this.
__________________
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   March 30, 2020, 07:16
Default Exact Solution
  #3
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
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.
Bibill likes this.
__________________
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

Reply

Tags
custom field function


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
Can i take contours from Custom field function i defined ? rahulohlan FLUENT 3 April 18, 2017 14:39
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
time step size in Custom Field Function Tong FLUENT 0 May 2, 2008 16:51


All times are GMT -4. The time now is 03:24.