|
[Sponsors] |
how to define velocity for particle (DPM) at the inlet face |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Yanlong Li
Join Date: Jan 2013
Location: BeiJing
Posts: 47
Rep Power: 13 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Rodman
Join Date: Dec 2013
Posts: 7
Rep Power: 12 ![]() |
Maybe the DEFINE_DPM_INJECTION_INIT macro is uesful for you.
|
|
![]() |
![]() |
![]() |
Tags |
dpm in fluent, velocity |
|
|
![]() |
||||
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 |