|
[Sponsors] |
January 16, 2018, 12:44 |
Define DPM
|
#1 |
New Member
Ahmad
Join Date: Apr 2017
Posts: 19
Rep Power: 9 |
Hi Everyone
I want to track and specify exact location of injection particles in an emitter. I know I should use a UDF code for this, but I don't know C language; Please help me with it. How can I write this code? |
|
January 17, 2018, 10:43 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26 |
Open a text editor, look in the Fluent manual for the example that is closest to what you want, change it to what you think is good, test if it works, and if it does not work post it here (your code, the errors you got from Fluent, and what you wanted to achieve).
|
|
January 17, 2018, 11:02 |
|
#3 |
New Member
Ahmad
Join Date: Apr 2017
Posts: 19
Rep Power: 9 |
I found a similar code, but I don't know how to change it. As I said, I don't know C language.
|
|
January 18, 2018, 03:54 |
|
#4 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26 |
Changing is very easy: delete the text that you don't need, and replace it by the text that you want to have there.
I am 100% serious. Just give it a try, and show us what you got. It will probably not work, but you have to start somewhere... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
metal hydride reactor simulation | srj007 | Fluent UDF and Scheme Programming | 0 | August 28, 2017 02:28 |
Define DPM property function in temp | Ahmed21 | Fluent UDF and Scheme Programming | 3 | July 7, 2017 14:13 |
UDF carbon conversion | papteo | Fluent UDF and Scheme Programming | 1 | August 18, 2011 07:32 |
How to define injections in DPM model | lingo | FLUENT | 5 | December 16, 2003 10:22 |
Problem about DPM (how to define injections) | lingo | FLUENT | 2 | November 18, 2003 23:30 |