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

DPM Particles not changing diameter/mass/rho

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 19, 2011, 07:41
Default DPM Particles not changing diameter/mass/rho
  #1
New Member
 
Kelvin Loh
Join Date: Mar 2009
Posts: 25
Rep Power: 17
kel85uk is on a distinguished road
Hi all,

Am having some problems with FLUENT in that it is not changing the density of the inert particles via my udf. Can someone check and see if I have made any errors?

Thank you.

A snippet of my udf

Code:
DEFINE_DPM_LAW(bio_algae_test,p,ci)
{
  InertHeatingLaw(p);
  P_RHO(p) = 996.0 + 6.0*(P_POS(p)[2]);
  P_DIAM(p) = 100e-6;
  P_MASS(p) = P_RHO(p)*(4/3)*M_PI*pow((P_DIAM(p)/2),3);
}
Attached Files
File Type: c custom_functions_mod.c (4.1 KB, 8 views)
kel85uk is offline   Reply With Quote

Old   July 22, 2011, 03:57
Default
  #2
New Member
 
zino
Join Date: Mar 2010
Posts: 23
Rep Power: 16
zino is on a distinguished road
why dont you change density from material panel. it provide all these option for inert particles as well. i did it.
zino is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Injection of specific number of particles in DPM DH FLUENT 12 March 16, 2016 22:04
Constant & independent velocity for DPM particles Wikie Fluent UDF and Scheme Programming 1 September 23, 2010 06:35
Changing the acceleration of DPM particles?? Wikie Fluent UDF and Scheme Programming 2 April 27, 2010 05:41
DPM - do the particles affect the liquid? Nikhil Dani FLUENT 0 January 1, 2009 12:58
DPM - Why do the particles not vanish? Johannes FLUENT 12 July 6, 2007 12:19


All times are GMT -4. The time now is 04:58.