CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

UDF-transient temperature profile boundary condition

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

LinkBack Thread Tools Display Modes
Old   April 2, 2013, 09:30
Default UDF-transient temperature profile boundary condition
Senior Member
Join Date: Mar 2013
Location: EU
Posts: 103
Rep Power: 0
ahvz is on a distinguished road
Sponsored Links
how can I be sure that, if the UDF is true and work or not?


start the UDF:

/************************************************** *********************
UDF for specifying transient temperature profile boundary condition
************************************************** **********************/

#include "udf.h"

DEFINE_PROFILE(Temp_Profile, thread, position)
face_t f;
real x[ND_ND]; /* this will hold the position vector */
real y;

begin_f_loop(f, thread)
y = x[0];
F_PROFILE(f, thread, position) = (-1e-26*x*x*x*x*x*x)+(3e-21*x*x*x*x*x)-(3e-16*x*x*x*x)+(1e-11*x*x*x)-(2e-7*x*x)+((1/1000)*x)+13;

ahvz is offline   Reply With Quote
Sponsored Links


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
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
UDF for degassing boundary condition peaker007 Fluent UDF and Scheme Programming 5 November 23, 2015 13:55
Boundary Temperature Profile UDF error shikamaru Fluent UDF and Scheme Programming 1 May 18, 2012 21:19
(Tabular) Transient Boundary Condition ??? ├ľnder FLUENT 0 September 25, 2006 09:19

Sponsored Links

All times are GMT -4. The time now is 07:06.