CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

how can I increase the number of injected particles?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2010, 15:16
Default how can I increase the number of injected particles?
Shawn Fotovati
Join Date: Jul 2009
Location: Dallas, TX
Posts: 42
Rep Power: 13
sfotovati is on a distinguished road
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"
real x;
real ymax;
Particle *p;
x=rand()* ymax / RAND_MAX ;

but I recieve a SEGMENTATION VIOLATION error. Please help me to fix it.

Last edited by sfotovati; July 12, 2010 at 19:31.
sfotovati is offline   Reply With Quote

Old   July 14, 2010, 04:54
Join Date: Nov 2009
Posts: 33
Rep Power: 13
novice is on a distinguished road
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.
novice is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

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

All times are GMT -4. The time now is 03:22.