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

how to define velocity for particle (DPM) at the inlet face

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 4, 2013, 08:17
Default how to define velocity for particle (DPM) at the inlet face
  #1
Member
 
Yanlong Li
Join Date: Jan 2013
Location: BeiJing
Posts: 47
Rep Power: 4
Yanlong Li is on a distinguished road
Hi,
Dear All, I want to define velocity for particle at the inlet face of the DPM model. the z-velocity is assumed to increase from 0 m/s to 1.085 m/s in 2 min (such as 2s to 4s). I read the UDF help, and found : DEFINE_DPM_BC, but I have no idea to use it ,the examples are too hard to understand. What I know now is:

#include "udf.h"
DEFINE_DPM_BC(z-velocity,p,t,f,f_normal,dim)
{
real time,vz;
time = CURRENT_TIME;
if (time>=2&&time<=4)
vz = (time-2)*1.085/2;
else
vz = 1.085;
?
}
but I do not know how to return, bros, can you help me?
thanks in advance.
Yanlong Li is offline   Reply With Quote

Old   December 26, 2013, 03:17
Default
  #2
New Member
 
Rodman
Join Date: Dec 2013
Posts: 7
Rep Power: 3
ldm273507 is on a distinguished road
Maybe the DEFINE_DPM_INJECTION_INIT macro is uesful for you.
ldm273507 is offline   Reply With Quote

Reply

Tags
dpm in fluent, velocity

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
Internal walls of zero thickness anger OpenFOAM Native Meshers: blockMesh 21 March 19, 2015 10:21
Inlet Velocity in CFX aeroman CFX 12 August 6, 2009 18:42
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13


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