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

UDF-transient temperature profile boundary condition

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

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

regards,


start the UDF:




/************************************************** *********************
udfexample.c
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)
{
F_CENTROID(x,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;

}
end_f_loop(f,t)
}
ahvz is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Imbalance HMR CFX 5 October 10, 2016 06: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 22:19
(Tabular) Transient Boundary Condition ??? Önder FLUENT 0 September 25, 2006 10:19


All times are GMT -4. The time now is 09:52.