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

about udf

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 2, 2012, 14:05
Default about udf
  #1
New Member
 
peiyuan
Join Date: Feb 2012
Posts: 3
Rep Power: 5
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

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 06: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 21:38
Dynamic Mesh UDF Qureshi FLUENT 1 December 2, 2009 01:27
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01


All times are GMT -4. The time now is 10:08.