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

particletime at specific position

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

LinkBack Thread Tools Display Modes
Old   September 29, 2013, 07:35
Default particletime at specific position
New Member
Join Date: Jun 2013
Posts: 5
Rep Power: 6
martin986 is on a distinguished road

I want to store the particletime in steady dpm at a specific position, in my define body force udf I did it like that but it wont work, is there a better solution?

real y[ND_ND];
real z[ND_ND];

y[1] = P_POS(p)[1];
z[2] = P_POS(p)[2];

if (z[2] < -0.200000 && y[1] == -0.720000)
C_UDMI(c,t,2) = P_TIME(p);
martin986 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
error message cuteapathy CFX 14 March 20, 2012 07:45
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
Simulation of a single bubble with a VOF-method Suzzn CFX 18 October 2, 2009 04:18
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02

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