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

DPM :dpm law index

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2019, 02:52
Default DPM :dpm law index
  #1
New Member
 
maisui
Join Date: Jun 2018
Posts: 7
Rep Power: 7
maisui1993 is on a distinguished road
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 variablearticle 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 is offline   Reply With Quote

Old   October 9, 2019, 04:38
Default
  #2
New Member
 
maisui
Join Date: Jun 2018
Posts: 7
Rep Power: 7
maisui1993 is on a distinguished road
finally,I understand what dose it mean.
you can find it in dpm_types.h file,dpm_laws_user1=8.
maisui1993 is offline   Reply With Quote

Reply


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
Particle tracking error alchem OpenFOAM Bugs 5 May 6, 2017 16:30
[OpenFOAM] Paraview 3.98 - errors when saving geometry file pajot ParaView 1 September 28, 2013 10:45
injection problem Mark New FLUENT 0 August 4, 2013 01:30
OpenFOAM install on Ubuntu Natty 11.04 bkubicek OpenFOAM 13 May 26, 2011 05:48
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29


All times are GMT -4. The time now is 01:34.