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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2019, 03:52
Default DPM :dpm law index
  #1
New Member
 
maisui
Join Date: Jun 2018
Posts: 7
Rep Power: 5
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, 05:38
Default
  #2
New Member
 
maisui
Join Date: Jun 2018
Posts: 7
Rep Power: 5
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

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


All times are GMT -4. The time now is 22:24.