|
[Sponsors] |
how can I increase the number of injected particles? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 12, 2010, 15:16 |
how can I increase the number of injected particles?
|
#1 |
Member
Shawn Fotovati
Join Date: Jul 2009
Location: Dallas, TX
Posts: 42
Rep Power: 17 |
Dear users,
I know that the maximum number of injected particles from any surface is equal to the total number of mesh points over that surface. I wrote a UDF to increase that which is as followings: #include "udf.h" DEFINE_DPM_INJECTION_INIT(init_inject,I) { real x; real ymax; Particle *p; ymax=20e-3; x=rand()* ymax / RAND_MAX ; P_POS(p)[0]=0; P_POS(p)[1]=x; } but I recieve a SEGMENTATION VIOLATION error. Please help me to fix it. Last edited by sfotovati; July 12, 2010 at 19:31. |
|
July 14, 2010, 04:54 |
|
#2 |
Member
novice
Join Date: Nov 2009
Posts: 33
Rep Power: 17 |
Hi I donot know about the UDF, but u can increse the number of particles by incresing the number of tries option in the injections menu.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to find the number of particles trapped | prashant | FLUENT | 5 | January 3, 2020 04:33 |
Number of particles in CFX-Post | Kushagra | CFX | 4 | August 3, 2010 06:40 |
Coal combustion. Particles number at inlet. | Georg | CFX | 2 | November 29, 2008 09:33 |
injection particles | zenith | FLUENT | 0 | April 3, 2007 01:56 |
How to increase the Re number in a jet flow comput | Novice | Main CFD Forum | 6 | December 4, 2006 08:06 |