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

UDF in Re stress model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2007, 04:49
Default UDF in Re stress model
  #1
Jihwan
Guest
 
Posts: n/a
Hi

I wanna analyze by k-e and Re stress model also.

I used UDF for temp gradient.

But my UDF file has a problem.

That didn't work at Re stress model.

But that did work at k-e model.

What is problem. I don't know about that.

I need your help.

The UDF file is given below.

************************************************** *********

#include "udf.h"

DEFINE_PROFILE(temp_profile,t,i) {

real x [ND_ND];

real a,y;

face_t f;

begin_f_loop(f,t)

{

F_CENTROID(x,f,t);

a=x[0];

F_PROFILE(f,t,i)=322.5-(15.*a);

}

end_f_loop(f,t) }

************************************************** *********
  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
Modified k-e turbulence model UDF Travis Fluent UDF and Scheme Programming 7 November 11, 2018 21:21
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
UDF for linear PTT model implementation dpitz Fluent UDF and Scheme Programming 1 February 4, 2011 11:08
UDF for Heat Exchanger model francois louw FLUENT 2 July 16, 2010 03:21
Reynolds Stress model in CFX vs Fluent Tim CFX 1 October 7, 2009 07:19


All times are GMT -4. The time now is 19:57.