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

UDF Outputs dont match exactly for volumetric heat generation.

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 31, 2015, 11:19
Default UDF Outputs dont match exactly for volumetric heat generation.
  #1
Member
 
nm
Join Date: Mar 2013
Posts: 60
Rep Power: 5
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: 758
Rep Power: 9
`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, 08:55
Default
  #3
Member
 
nm
Join Date: Mar 2013
Posts: 60
Rep Power: 5
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, 17:41
Default
  #4
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 758
Rep Power: 9
`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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
variable Heat Source for Solid Region with UDF Alex90 Fluent UDF and Scheme Programming 3 February 24, 2015 12:24
Define_profile UDF for Transient Heat flux boundary condition Amoljoshi Fluent UDF and Scheme Programming 1 May 9, 2014 11:17
use of pointers in specific heat udf mdakbari Fluent UDF and Scheme Programming 0 April 18, 2014 11:37
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
heat source UDF error co2 FLUENT 8 May 18, 2004 07:47


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