CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

bubble diameter distribution

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

LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2010, 07:03
Default bubble diameter distribution
New Member
Join Date: Sep 2010
Posts: 3
Rep Power: 15
emrahdeniz is on a distinguished road
I am working on water-air flow thorugh horizontal channel. I use euler-euler mixture model for that. I want to give a bubble diameter distribution along radial direction instead of inserting a constant diameter value in the related menu. ( phases > secondary phase > diameter )
Below you can find the trial udf I wrote for that. y is the radial axis. I have the half of the channel thus y has the range between -r and +r, where r is the radius of the channel.

#include "udf.h"

real y;
real diameter= P_DIAM(c,t);

if (y < 0)
diameter = 0.001;

diameter = 0.005;

return diameter ;

I can interprate the udf successfully but after I initialize, it gives me the following error:

FLUENT received fatal signal (ACCESS_VIOLATION)
1. Note exact events leading to error.
2. Save case/data under new name.
3. Exit program and restart to continue.
4. Report error to your distributor.
Error Object: ()

I think I have problems in the udf. I will be glad if someone could tell me what mistake I am doing.

Thanks in advance...
emrahdeniz is offline   Reply With Quote


bubble diameter, e-e mixture model

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
DPM diameter mass distribution Wouter FLUENT 5 May 23, 2019 02:18
Bubble Diameter Santi FLUENT 3 March 4, 2010 10:56
Bubble diameter in Gas-solid Fluidized Bed Wee FLUENT 0 April 27, 2008 23:04
About bubble diameter setting in multiphase flow tchllc FLUENT 5 August 22, 2007 09:47
About bubble size distribution simulation tchllc FLUENT 0 August 12, 2007 04:07

All times are GMT -4. The time now is 14:15.