CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

profile heat transfer coeffcient

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2021, 13:01
Lightbulb profile heat transfer coeffcient
  #1
New Member
 
Join Date: Jan 2021
Posts: 1
Rep Power: 0
YSim is on a distinguished road
I have written a UDF to define profil heat transfer coefficient at boundary condition
When i interpret it, It shows the following Error in Line - 14.
"invalid type conversion: double -> pointer to char"
Please Suggest me something how to remove this Error?
Best regards
The UDF is as follows
#include"udf.h"
#definehg 30
#definehd 30
DEFINE_PROFILE(htc, thread, position)
{
real t = CURRENT_TIME;
face_t f;
cell_t c1;
begin_f_loop (f, thread)
{
if (t < 10.)
F_PROFILE(f, thread, position) = hg;
else
F_PROFILE(f, thread, position) = hd * (1-C_LIQF(c,t)) + hd * C_LIQF(c,t);
}
end_f_loop (f, thread)
}
YSim is offline   Reply With Quote

Reply


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
Coupled Heat and Mass Transfer Mecroob OpenFOAM Running, Solving & CFD 1 July 12, 2020 19:24
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Heat transfer coeffcient flow arehman1289 STAR-CCM+ 0 July 27, 2018 08:26
Which Heat transfer coeffcient to use? tengra FLUENT 1 May 1, 2009 13:49
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55


All times are GMT -4. The time now is 19:01.