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

UDF and DPM concentration

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2004, 10:37
Default UDF and DPM concentration
  #1
caroline
Guest
 
Posts: n/a
I am trying to define the drag force coefficient of the Discrete Phase Model using the particle concentration. Is it possible to access the particle concentration in the DEFINE_DPM_DRAG user function ? Many thanks, Caroline
  Reply With Quote

Old   March 29, 2004, 13:48
Default Re: UDF and DPM concentration
  #2
thomas
Guest
 
Posts: n/a
Utilise la macro DPM_CONCENTRATION qui va te premettre de reconstruire ta fraction de volume ( je pense que c'est ce que tu recherches pour reconstruire ta force de trainee). Cependant ceci peut t'amener dans certaine cellule à avoir une fraction de volume > 1, donc besoin de limiteur. Aussi, attention à l'utilisation de cette macro en instationnaire.

thomas
  Reply With Quote

Old   January 22, 2015, 22:54
Default
  #3
New Member
 
Looti Rika
Join Date: Sep 2014
Posts: 2
Rep Power: 0
jabereslami is on a distinguished road
Quote:
Originally Posted by thomas
;111417
Utilise la macro DPM_CONCENTRATION qui va te premettre de reconstruire ta fraction de volume ( je pense que c'est ce que tu recherches pour reconstruire ta force de trainee). Cependant ceci peut t'amener dans certaine cellule à avoir une fraction de volume > 1, donc besoin de limiteur. Aussi, attention à l'utilisation de cette macro en instationnaire.

thomas
Hi
I want to know how can find this macro?
C_DPMS_CONCENTRATION(c,t)
thanks
jabereslami is offline   Reply With Quote

Old   January 23, 2015, 03:53
Default
  #4
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
Please ask your question only once. There is no reason to ask it seven times, and certainly no reason to ask it in a thread that is more than 10 years old.

And be more clear in what you are asking. What do you want the macro to do?

If you add
Code:
#DEFINE C_DPMS_CONCENTRATION(c,t) 0
in the top of your code, you have a macro with the name that you requested. One that will probably be useless for you, but we can not guess what you want the macro to do.
pakk is offline   Reply With Quote

Old   January 23, 2015, 18:28
Default
  #5
New Member
 
Looti Rika
Join Date: Sep 2014
Posts: 2
Rep Power: 0
jabereslami is on a distinguished road
Quote:
Originally Posted by pakk View Post
Please ask your question only once. There is no reason to ask it seven times, and certainly no reason to ask it in a thread that is more than 10 years old.

And be more clear in what you are asking. What do you want the macro to do?

If you add
Code:
#DEFINE C_DPMS_CONCENTRATION(c,t) 0
in the top of your code, you have a macro with the name that you requested. One that will probably be useless for you, but we can not guess what you want the macro to do.
Hi
Thanks for your reply
I want to know when i use DPM model calculate the particle trajectory, How can i get concentration field? where i can find this code?
jabereslami is offline   Reply With Quote

Old   January 27, 2015, 16:02
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by jabereslami View Post
Hi
I want to know how can find this macro?
C_DPMS_CONCENTRATION(c,t)
thanks
It's explained here:
Quote:
Originally Posted by RE13 View Post
you have been misinformed, the correct macro is C_DPMS_CONCENTRATION(c,t) and it is located in sg_mem.h
In other words, you need to include the following line near the other #include lines you have in your UDF code:
Code:
#include "sg_mem.h"
For example:
Code:
#include "udf.h" 
#include "sg_mem.h"
wyldckat 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
UDF for deleting particles in DPM imanmirzaii Fluent UDF and Scheme Programming 12 November 25, 2020 20:27
Problem with DPM simulation with particles injection and EXECUTE_AT_THE_END UDF. Ari Fluent UDF and Scheme Programming 4 May 31, 2016 09:51
DPM Steady Local Collection Efficiency and Concentration Cells Error Manathan Fluent UDF and Scheme Programming 0 April 8, 2015 13:06
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29
DPM with UDF - Step-by-Step Procedure???? Prashanth FLUENT 3 April 3, 2009 18:45


All times are GMT -4. The time now is 17:13.