CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Diameter variation eulerian model

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

LinkBack Thread Tools Display Modes
Old   April 5, 2012, 12:25
Default Diameter variation eulerian model
New Member
Join Date: Apr 2012
Posts: 4
Rep Power: 7
alekso is on a distinguished road
I'm tryng to write an udf for diameter-time dipendent laws. For example


where current_time is the flow time (in seconds). But seems it doesn't works

This is my UDF

#include "udf.h"


Thread **pt = THREAD_SUB_THREADS(t);
Thread *tp = pt[0]; //
Thread *ts = pt[1];
real diam;

real current_time = RP_Get_Real("flow-time");


return diam;

Is it possible to print every time step the diameter on the window to check if the udf works?

Thank you.
alekso is offline   Reply With Quote


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
Use of k-epsilon and k-omega Models Jade M Main CFD Forum 28 November 5, 2017 23:40
Bubble size for eulerian model thecfduser FLUENT 1 April 28, 2010 11:09
Puzzling about the "diameter" in Eulerian Model yuanyuan FLUENT 2 October 22, 2009 08:38
non-granular diameter Eulerian model jan FLUENT 0 December 8, 2006 11:48
the Eulerian model and the lower volume fraction hx li FLUENT 2 October 27, 2005 06:17

All times are GMT -4. The time now is 02:27.