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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2013, 07: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: 13
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, 02:17
Default
  #2
New Member
 
Rodman
Join Date: Dec 2013
Posts: 7
Rep Power: 12
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


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
[blockMesh] Internal walls of zero thickness anger OpenFOAM Meshing & Mesh Conversion 23 February 6, 2020 18:25
Inlet Velocity in CFX aeroman CFX 12 August 6, 2009 18:42
Missing math.h header Travis FLUENT 4 January 15, 2009 11: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 05:13


All times are GMT -4. The time now is 10:43.