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

UDF in Re stress model

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

Reply
 
LinkBack Thread Tools 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

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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Modified k-e turbulence model UDF - help! Travis FLUENT 5 January 20, 2014 08:34
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 02:21
Reynolds Stress model in CFX vs Fluent Tim CFX 1 October 7, 2009 06:19


All times are GMT -4. The time now is 17:21.