|
[Sponsors] |
January 15, 2021, 14:01 |
profile heat transfer coeffcient
|
#1 |
New Member
Join Date: Jan 2021
Posts: 1
Rep Power: 0 |
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) } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Coupled Heat and Mass Transfer | Mecroob | OpenFOAM Running, Solving & CFD | 1 | July 12, 2020 20:24 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
Heat transfer coeffcient flow | arehman1289 | STAR-CCM+ | 0 | July 27, 2018 09:26 |
Which Heat transfer coeffcient to use? | tengra | FLUENT | 1 | May 1, 2009 14:49 |
Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 16:55 |