# DEFINE_PROPERTY(diameter,c,t)

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

 April 4, 2008, 04:36 DEFINE_PROPERTY(diameter,c,t) #1 bohis Guest   Posts: n/a Hello, If I use this macro to define diameter of secondary phase in Euler-Euler model, cell thread is thread of secondary phase. Am I right? thanks in advance!!

 April 7, 2008, 06:21 Re: DEFINE_PROPERTY(diameter,c,t) #2 Aris Guest   Posts: n/a No, t is the thread of secondary phase. c is a pointer to the current cell. Fluent loops over all cells of your domain. Be carefull with changing the diameter. I believe that fluent increases/ decreases volume fraction when you do such a thing in order to conservate the mass

 April 7, 2008, 07:07 Re: DEFINE_PROPERTY(diameter,c,t) #3 bohis Guest   Posts: n/a waw, thanks a lot, why does Fluent change the volume fraction? I just wanna change diameter depending on coordinates. Do you know how Fluent handles between diameter and vof? uff, thank you very much

 April 7, 2008, 08:41 Re: DEFINE_PROPERTY(diameter,c,t) #4 Aris Guest   Posts: n/a I'm not sure. Just check it out! If you see the equations there shouldn't be any problem. But if you for example reduce the diameter from 300μm to 200μm isn't there a mass loss? I had some problems in the past with this. Just check it out.

 April 7, 2008, 09:16 Re: DEFINE_PROPERTY(diameter,c,t) #5 bohis Guest   Posts: n/a you are right! I have also loss of mass! strange, I will check it out and let you know. Anyway, my routine is wrong, so I must firstly repair then, maybe, problem will disappear. thank you!

 April 8, 2008, 03:10 Re: DEFINE_PROPERTY(diameter,c,t) #6 Aris Nikolopoulos Guest   Posts: n/a I'm very interested in this. If you find something please let me know

 April 10, 2008, 08:58 Re: DEFINE_PROPERTY(diameter,c,t) #7 bohis Guest   Posts: n/a ehmm, now it is really clear, that there is mass and momentuum loss in domain, if I adjust the diameter every timestep. Unfortunately, I do not know why. I would expect Fluent to retain the volume fraction. It doesn´t! It means that I need other UDFs for defininig sources. Doesn´t it? any suggestions?

 April 10, 2008, 09:21 Re: DEFINE_PROPERTY(diameter,c,t) #8 Aris Nikolopoulos Guest   Posts: n/a No, the problem isn't with the UDF. I believe you should find the mass loss in the secondary phase and you should adjust it to the correct value in a UDF.

 April 10, 2008, 10:23 Re: DEFINE_PROPERTY(diameter,c,t) #9 bohis Guest   Posts: n/a This could be expression for source for continuity equation: source = (vof*density/d^3)*(d^3-D^3)*velocity vof = volume fraction of water before diameter adjustment d = diameter before breakup D = after breakup ehm, since it is euler euler model there should be then also mass loss of primary phase. That means, if I have energy equation off, there will be 4 sources. mass and momentum for each phase. Am I right? friend, check me please. have a nice day

 April 11, 2008, 06:09 Re: DEFINE_PROPERTY(diameter,c,t) #10 Aris Nikolopoulos Guest   Posts: n/a About Source terms. In your case i believe that the best way is a "patch". For example when you enter your UDF before any change of your diameter find the mass of water. Then change your diameter and afterwards rechange your mass in the cell (not with source term!). Nevertheless as now i see what you want to do i believe the best way to model breakup is population balance model. Check it out! Do you have the kernel for the breakup? A little complicated model (pbm)but very good. In 6.4 fluent there is a very good upgrade for population balance model.

 April 11, 2008, 06:57 Re: DEFINE_PROPERTY(diameter,c,t) #11 bohis Guest   Posts: n/a Hi and thanks for the reply! Regarding PBM, I do not have a license for that anyway. How would you change the mass? C_VOF(c,t) ? which macro would you use for hooking new vof? thank you again!

 April 14, 2008, 05:41 Re: DEFINE_PROPERTY(diameter,c,t) #12 HP Guest   Posts: n/a C_VOF(c,t)=0.1; For example will cet volume fraction in that cell 0.1

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Erik Fluent UDF and Scheme Programming 2 September 4, 2012 04:10 bohis FLUENT 3 April 8, 2008 03:38 Abhilash Chandy FLUENT 0 June 2, 2006 17:07 David FLUENT 4 June 22, 2005 04:20 Salman FLUENT 0 April 10, 2003 14:06

All times are GMT -4. The time now is 20:35.