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

DPM Vaporization UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2018, 07:20
Default DPM Vaporization UDF
  #1
Member
 
sunil kumar
Join Date: May 2016
Posts: 80
Rep Power: 10
skumar112 is on a distinguished road
Hi I am trying to model a droplet containing particles within a flow, I am trying to model the moisture content of the DPM Droplets so that once the liquid has vaporized the law is no longer active and so that I can modify the droplet properties as its composition changes. However once the moisture content of the droplet is 0 the evaporation stops. but the entire droplet is getting vaporized and I dont know why. The DPM switch I am using switch between laws is, where TP_USER_REAL(tp,0) is the moisture content:

Material *m = TP_MATERIAL(tp);
if (TP_USER_REAL(tp,0) > 0.)
{
TP_CURRENT_LAW(tp) = DPM_LAW_USER_1;
}
if (TP_USER_REAL(tp,0) == 0.)
{
TP_CURRENT_LAW(tp) = DPM_LAW_INITIAL_INERT_HEATING;
}
skumar112 is offline   Reply With Quote

Old   February 4, 2020, 07:44
Default
  #2
New Member
 
Join Date: Sep 2019
Posts: 12
Rep Power: 7
edris3320 is on a distinguished road
hi
did you solve your problem? because i have your problem
can you help me?
thanks a lot
edris3320 is offline   Reply With Quote

Old   February 18, 2020, 14:30
Default
  #3
New Member
 
Martin
Join Date: Apr 2017
Location: Germany
Posts: 26
Rep Power: 9
2phase is on a distinguished road
As far as I have used droplets, they only consist of a single liquid phase.
That said: if they have no more moisture Content, they have no content at all, or am I wrong here?

If I were right, then you have to stop evaporation before the drop is evaporated and therefore removed from the Domain. There, you should consider time step size and evaporation rate for the switch criterion, as the Limit should not be too small and the drop might disappear within this very timestep.

Perhaps it would be an Option to go for multicomponent drops.

Good luck
Martin
2phase is offline   Reply With Quote

Old   February 18, 2020, 16:02
Default Multicomponent
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Yes, as Martin mentioned, when droplet is the selected type of particle, then it consists of only one material. If it evaporates, whole of it will evaporate until user stops it by lowering the temperature. If, on the other hand, the particle contains volatile material, then it needs to be handled as multicomponent particle. This type of particle is made up of at least two materials. One component could evaporate while the other may not.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm 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
Custom DPM laws using UDF Sowmi Fluent UDF and Scheme Programming 2 March 19, 2019 02:54
Reading a file from 32-bit Fluent 15.0 through a UDF for DPM in parallel anthony05 Fluent UDF and Scheme Programming 0 July 11, 2014 02:52
Conditional Release of DPM Particles in Fluent - UDF nvschandra Fluent UDF and Scheme Programming 0 December 16, 2013 21:32
Conditional Release of DPM particles - UDF nvschandra Fluent UDF and Scheme Programming 0 December 10, 2013 12:02
DPM - UDF Umesh Shah FLUENT 2 May 12, 2003 18:36


All times are GMT -4. The time now is 21:25.