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

particletime at specific position

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2013, 08:35
Default particletime at specific position
  #1
New Member
 
Join Date: Jun 2013
Posts: 5
Rep Power: 12
martin986 is on a distinguished road
hey!

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

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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 01:58
error message cuteapathy CFX 14 March 20, 2012 07:45
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02


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