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

UDF Outputs dont match exactly for volumetric heat generation.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 31, 2015, 11:19
Default UDF Outputs dont match exactly for volumetric heat generation.
  #1
Senior Member
 
nm
Join Date: Mar 2013
Posts: 100
Rep Power: 13
nvarma is on a distinguished road
I checked and crosschecked and backcalculated and everything.

I have a volumetric heat generation rate set as a function of coordinates. If I manually calculate the numbers (which I have set in the udf) I get say 10kW exact. But when it comes to udf, the total volume integral is only 9500W.

The contour plot makes sense. Heat balance is exact. But the 500W difference?

Anybody?
nvarma is offline   Reply With Quote

Old   January 2, 2016, 18:38
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
Are you calculating heat generation at the nodes or cell centres? What is the UDF you are using to calculate the volume integral?
`e` is offline   Reply With Quote

Old   May 23, 2016, 09:55
Default
  #3
Senior Member
 
nm
Join Date: Mar 2013
Posts: 100
Rep Power: 13
nvarma is on a distinguished road
Based on cell centres.

I have come to the conclusive assumption that this is the discretization error from the mesh?
nvarma is offline   Reply With Quote

Old   May 23, 2016, 18:41
Default
  #4
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
The mesh would need to be quite coarse to be missing 5 % of the heat generation (try mesh refinement). What is the UDF you are using, are you sure it's calculating across the full volume?
`e` is offline   Reply With Quote

Reply

Tags
fluent 14.5.7


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
Define_profile UDF for Transient Heat flux boundary condition Amoljoshi Fluent UDF and Scheme Programming 2 June 20, 2018 22:55
variable Heat Source for Solid Region with UDF Alex90 Fluent UDF and Scheme Programming 3 February 24, 2015 12:24
use of pointers in specific heat udf mdakbari Fluent UDF and Scheme Programming 0 April 18, 2014 12:37
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
heat source UDF error co2 FLUENT 8 May 18, 2004 08:47


All times are GMT -4. The time now is 14:48.