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

Dpm_surften

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 31, 2015, 06:23
Default Dpm_surften
  #1
Senior Member
 
Join Date: Mar 2014
Posts: 375
Rep Power: 5
hwet is on a distinguished road
Trying to use DPM_SURFTEN in my UDF to calculate the Weber number, end up getting an error saying DPM_LIQUID_PROPERTY not available. I can get it working by just putting the actually value of the surface tension of water (0.072) in my UDF, but wanted to know why it is not working in the first place.

Could someone explain?
Thanks
hwet is offline   Reply With Quote

Old   March 31, 2015, 07:17
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 800
Rep Power: 11
`e` is on a distinguished road
What is your UDF and when and what exactly is the error? Perhaps you have not enabled a certain setting that DPM_SURFTEN requires (which is why it's unavailable).
`e` is offline   Reply With Quote

Old   March 31, 2015, 18:02
Default
  #3
Senior Member
 
Join Date: Mar 2014
Posts: 375
Rep Power: 5
hwet is on a distinguished road
Here is it, also printed the calculated Weber number, it is being calculated at every timestep i think, shouldn't it be just calculated for the wall boundary when the particles reach the boundary?

#include "udf.h"
#include "dpm.h"
DEFINE_DPM_BC(drop_col_wet_scrubber, particle_data, thread_face, f_index, f_normal, dim)
{
real collision_weber_number;

collision_weber_number=(P_RHO(particle_data) * P_DIAM(particle_data) * 10) / DPM_SURFTEN(particle_data);

if (collision_weber_number >= 50)
{return PATH_END;
}
else
{return PATH_ACTIVE;
}
}
hwet is offline   Reply With Quote

Old   March 31, 2015, 18:14
Default
  #4
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 800
Rep Power: 11
`e` is on a distinguished road
Quote:
Originally Posted by `e` View Post
and when and what exactly is the error? Perhaps you have not enabled a certain setting that DPM_SURFTEN requires (which is why it's unavailable).
Side note: the dpm.h header file is already included in the udf.h header file.
`e` is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:16.