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

about udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2012, 14:05
Default about udf
  #1
New Member
 
peiyuan
Join Date: Feb 2012
Posts: 3
Rep Power: 14
peiyuan is on a distinguished road
hi,
i meet a problem when i use udf.
i want to ascertain the heat flux of the wall.
but the steel is decreasing with time in the ladle.
so the heat flux is different for the wall and steel interface.
i write the following order, can you help me check whether it is correct?


#include "udf.h"
DEFINE_PROFILE(wall_heat_flux,t,i)
{
face_t f;
real y;

begin_f_loop(f,t)
{
y=F_R(f,t);
if(y>1.225)
F_PROFILE(f,t,i) =20000.0;
else
F_PROFILE(f,t,i) =900.0;
}
end_f_loop(f,t)
}


i am a beginner in learning udf.

thank you very much.
peiyuan 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
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 08:37
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 07:12
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 22:38
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01


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