# Define_profile UDF for Transient Heat flux boundary condition

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

 May 9, 2014, 05:33 Define_profile UDF for Transient Heat flux boundary condition #1 New Member   A Join Date: May 2014 Posts: 1 Rep Power: 0 hello sir, I want to write a udf for a time varying heat flux. From the udf manual i got the fluent code for heat generation which can be used for heat flux as mentioned in the manual is as bellows /* 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) } can u tell me the code i need to enter in place of that "Source" these are my set of heat flux values for each time step, after 0.03 for 0.031 onwards the values should repeat ! that is cyclic input. 0.001 -27.1163 0.002 -10.3526 0.003 69.5475 0.004 481.3076 0.005 2189.963 0.006 12918.4 0.007 2976.112 0.008 1021.374 0.009 535.6973 0.01 354.5292 0.011 265.0403 0.012 171.7695 0.013 82.56475 0.014 37.79121 0.015 101.5304 0.016 62.21896 0.017 36.57303 0.018 41.70274 0.019 29.81527 0.02 69.66194 0.021 2.02543 0.022 -50.8429 0.023 -65.3913 0.024 -69.4098 0.025 -70.7296 0.026 -70.9834 0.027 -59.6923 0.028 -31.3448 0.029 -31.4401 0.03 -27.9783 can u plz help ? thank you.

 May 9, 2014, 11:17 #2 New Member   hana Join Date: May 2014 Posts: 23 Rep Power: 3 In my opinion, you don't need to think about it Just put like this 1.0t*0.2t^2///whatever and hooking this function to appropriate position in fluent I am sorry for poor English

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post Saima CFX 35 May 12, 2014 20:28 vainilreb OpenFOAM Pre-Processing 0 January 22, 2013 14:13 Chander CFX 2 May 1, 2012 20:11 new_at_this Main CFD Forum 2 April 6, 2012 23:35 Hitch8 CFX 2 April 22, 2010 13:09

All times are GMT -4. The time now is 21:20.