|
[Sponsors] |
How to add heat flux value instead of heat transfer coefficient? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 23, 2017, 07:53 |
How to add heat flux value instead of heat transfer coefficient?
|
#1 |
New Member
Gene
Join Date: Mar 2017
Posts: 13
Rep Power: 9 |
Hi, I have amount of heat flux let's say its 2000 W/m2. I want to add it in the face of the cell which I already have it in UDMI.
Please help DEFINE_HEAT_FLUX(heat_flux, f, t, c0, t0, cid, cir) { begin_f_loop(f,t){ if(F_UDMI(f,t,1)==1){ //apply heat cid[0] = 2000; } } } |
|
April 24, 2017, 18:18 |
|
#2 |
Member
Join Date: Nov 2016
Posts: 73
Rep Power: 10 |
you need to define cid[1] and cid[2], otherwise it will not work
|
|
April 25, 2017, 09:39 |
|
#3 |
New Member
Gene
Join Date: Mar 2017
Posts: 13
Rep Power: 9 |
||
April 25, 2017, 18:50 |
|
#4 |
Member
Join Date: Nov 2016
Posts: 73
Rep Power: 10 |
You need to take into account how the heat transfer coefficient is calculated by Fluent.
|
|
April 27, 2017, 08:19 |
|
#5 | |
New Member
Gene
Join Date: Mar 2017
Posts: 13
Rep Power: 9 |
Quote:
/* Wall Heat Generation Rate Profile UDF */ #include "udf.h" DEFINE_PROFILE(wallheatgenerate,thread,i) { real source = 0.001; face_t f; begin_f_loop(f,thread) F_PROFILE(f,thread,i) = source; end_f_loop(f,thread) } |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How To Calculate Average Heat Transfer Coefficient in CFD-Post? | Shomaz ul Haq | CFX | 16 | November 24, 2019 19:57 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
Code to obtain correct heat transfer coefficient in a cylinder wt constant heat flux | cdf_user | Main CFD Forum | 4 | May 7, 2012 06:04 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 09:56 |
Question on heat transfer coefficient!!! | Benny | FLUENT | 7 | June 7, 2005 10:25 |