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

So many questions in DPM & UDF - Help! URGENT!

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2009, 22:26
Default So many questions in DPM & UDF - Help! URGENT!
Posts: n/a
Hi All

This will be a long post as I have so many questions regarding DPM model and UDF's. I'm working towards a close deadline and hence decided to post all questions together. Sorry for the trouble.

1) My geometry has the flow and particle inlet at a certain distance from the point (0,0,0) - center of my whole geometry in the positive Z direction. To be precise, the center of my inlet's co-ordinates are (0, 0, 0.0381). For the first and last point of the group injection, I tried giving co-ordinates with respect to the center of my domain but I lost all particles. Now, when I give the initial and final point with respect to the center of my inlet, it works. Is this right?

2) Do I have to divide the total particle mass flow rate by the no of particle streams to get the mass flow rate to be input in the first and last point columns in a group injection?

3) How do I get the total mass of particles injected into the domain? I read some previous posts but not sure about the macro to be used for this.

4) This is probably where I'm so in doubt. My UDF was giving a segmentation error and also generating a message saying 'Stack Backtrace Generated'. I read in some posts that reading the case and data file, defining no. of UDM's, initializing the solution once, compiling the UDF and then running the particle tracks works. It worked for me too and I have some answer even though it is way off. Is this method right? Doesn't initializing the solution make the flow field variables to go to zero?

5) I tried just allocating and initializing my UDM's. I read in the case file, specify no of UDMs in GUI, Compile my UDF, Hook up my ON_DEMAND macro and then tried to initialize the solution & then load data file. But this results in a bug as follows:

Stack backtrace generated for process id 1462 on signal 1 : Please include this information with any bug report you file on this issue!

Error: fluent.6.3.33 received a fatal signal (SEGMENTATION VIOLATION).

When I load my case and data file together, specify no. of UDM's, compile and then hook up macros, it hooks up fine. Why is this?
  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
Urgent, Urgent, a UDF problem, PLEASE HELP!!! Max FLUENT 1 September 24, 2010 20:30
need paper very urgent humanity,very urgent,urgent mohamed FLUENT 0 August 9, 2006 11:40
Some questions --urgent Q FLUENT 1 December 19, 2005 10:11
Two urgent questions Lee Siemens 1 October 5, 2004 15:26
urgent questions? bob FLUENT 3 April 28, 2004 18:32

All times are GMT -4. The time now is 01:59.