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

Inert heating law doesnt activate

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 29, 2018, 13:05
Default Inert heating law doesnt activate
  #1
Member
 
sunil kumar
Join Date: May 2016
Posts: 80
Rep Power: 10
skumar112 is on a distinguished road
I am trying to implement a UDF and use my own evaporation within DPM UDF's.

I have complied the UDF and run the case however the inert heating law does not activate. The droplets remain at 300K. I have applied the switching law could anyone see what may be wrong here?

DEFINE_DPM_SWITCH(dpm_switch,tp,coupled)
{
cphase_state_t *c = &(tp->cphase[0]);
Material *m = TP_MATERIAL(tp);
/* If the particle temperature above the vaporization temperature switch to evaporation law */
if (TP_T(tp) > DPM_VAPOR_TEMP(tp,m))
{
TP_CURRENT_LAW(tp) = DPM_LAW_USER_1;
}
if (TP_T(tp) < DPM_VAPOR_TEMP(tp,m))
{
TP_CURRENT_LAW(tp) = DPM_LAW_INITIAL_INERT_HEATING;
}
}
skumar112 is offline   Reply With Quote

 


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
Non-Newtonian Power Law for Viscosity John FLUENT 16 September 12, 2015 06:18
What's is mixing law richard ben FLUENT 4 September 25, 2014 17:30
source code for inert heating custom law mat27x FLUENT 0 October 23, 2009 18:33
Pressure variation in a heating channel gRomK13 Main CFD Forum 0 August 6, 2009 12:18
questions about the DPM law rookie FLUENT 0 June 16, 2003 11:41


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