CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   DPM :dpm law index (https://www.cfd-online.com/Forums/fluent-udf/220738-dpm-dpm-law-index.html)

maisui1993 September 20, 2019 02:52

DPM :dpm law index
 
hi,when I writing UDF's for the DPM law(inert heating law) to set particle temperature,it can be loaded in the Law option.
but when I creat countor with particle variable:particle law index,I got particle law index=8(no udf,heating law's particle law index=1),
what does "8" mean?


#include "udf.h"
#include "dpm.h"

//FLUENT 19.1
DEFINE_DPM_LAW(heat_law, tp, coupled)
{

InertHeatingLaw(tp);

if(TP_T(tp)<320.0)
{
TP_T(tp)=321;
}
}

maisui1993 October 9, 2019 04:38

finally,I understand what dose it mean.
you can find it in dpm_types.h file,dpm_laws_user1=8.


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