CFD Online Logo CFD Online URL
Home > Forums > FLUENT

UDF DPM injection

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

LinkBack Thread Tools Display Modes
Old   June 13, 2000, 08:28
Default UDF DPM injection
M.A. Rakib
Posts: n/a
Hello, I am a UDF beginner, with little knowledge in C language. I want to define an injection which is injected at a position at time t=0. Does the following thing make any sense? Anyway it does not, because, it gives errors. Can somone help me out?

If any one has any small UDF for any DPM, can you please give an idea of that?

#include "udf.h" #include "dpm.h" #include "udfconfig.h" DEFINE_DPM_INJECTION_INIT(injection_initialization , /* function name */


/* Particles will be injected at time = 0 */

{ if (t==0) { P_INIT_DIAM(p)[1] =1e-06; P_INIT_MASS(p)[1]=0.0; P_INIT_DIAM(p)[2] = 1e-06; P_INIT_MASS(p)[2]=0.0;

} }

  Reply With Quote


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
DPM UDF Injection leads to 2 different particles sega Fluent UDF and Scheme Programming 4 December 28, 2017 23:57
UDF for particle injection in DPM model sohail FLUENT 0 July 22, 2008 10:12
UDF for particle injection in DPM model sohail FLUENT 0 April 30, 2008 17:27
DPM, UDF, Injection Type Zhang FLUENT 0 June 8, 2005 15:51
UDF about DPM injection majestywzh FLUENT 1 April 5, 2003 00:44

All times are GMT -4. The time now is 16:56.