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

UDF and DPM concentration

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

Like Tree1Likes
  • 1 Post By wyldckat

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: 1,070
Rep Power: 14
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,919
Blog Entries: 39
Rep Power: 108
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
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"
BlnPhoenix likes this.
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
Problem with DPM simulation with particles injection and EXECUTE_AT_THE_END UDF. Ari Fluent UDF and Scheme Programming 4 May 31, 2016 08:51
DPM Steady Local Collection Efficiency and Concentration Cells Error Manathan Fluent UDF and Scheme Programming 0 April 8, 2015 12:06
UDF for deleting particles in DPM imanmirzaii Fluent UDF and Scheme Programming 5 January 29, 2013 08:02
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


All times are GMT -4. The time now is 00:32.