CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Define DPM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2018, 12:44
Default Define DPM
  #1
New Member
 
Ahmad
Join Date: Apr 2017
Posts: 19
Rep Power: 9
ap.ahmad7238 is on a distinguished road
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?
ap.ahmad7238 is offline   Reply With Quote

Old   January 17, 2018, 10:43
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
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).
pakk is offline   Reply With Quote

Old   January 17, 2018, 11:02
Default
  #3
New Member
 
Ahmad
Join Date: Apr 2017
Posts: 19
Rep Power: 9
ap.ahmad7238 is on a distinguished road
Quote:
Originally Posted by pakk View Post
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).
I found a similar code, but I don't know how to change it. As I said, I don't know C language.
ap.ahmad7238 is offline   Reply With Quote

Old   January 18, 2018, 03:54
Default
  #4
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
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...
pakk is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 18:09.