CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS (https://www.cfd-online.com/Forums/ansys/)
-   -   DPM Particles not changing diameter/mass/rho (https://www.cfd-online.com/Forums/ansys/90709-dpm-particles-not-changing-diameter-mass-rho.html)

kel85uk July 19, 2011 06:41

DPM Particles not changing diameter/mass/rho
 
1 Attachment(s)
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);
}


zino July 22, 2011 02:57

why dont you change density from material panel. it provide all these option for inert particles as well. i did it.


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