|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Yanlong Li
Join Date: Jan 2013
Location: BeiJing
Posts: 46
Rep Power: 2 ![]() |
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. |
|
|
|
|
|
![]() |
| Tags |
| dpm in fluent, velocity |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Inlet Velocity in CFX | aeroman | CFX | 12 | August 6, 2009 18:42 |
| Internal walls of zero thickness | anger | OpenFOAM Native Meshers: blockMesh | 20 | April 6, 2009 01:50 |
| 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 |