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

UDF and DPM concentration

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 29, 2004, 09: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, 12: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: 677
Rep Power: 9
pakk is on a distinguished road
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT subhankar_bhandari Main CFD Forum 0 August 19, 2010 03:01
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
DPM with UDF - Step-by-Step Procedure???? Prashanth FLUENT 3 April 3, 2009 17:45
DPM - UDF for fluctuating bubble size Jaroslav Kotara FLUENT 1 April 19, 2006 09:02
udf of DPM questions! winnie FLUENT 6 April 30, 2003 02:52


All times are GMT -4. The time now is 21:29.