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

UDF for VOF model

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 8, 2004, 13:13
Default UDF for VOF model
  #1
Kunal Ashar
Guest
 
Posts: n/a
I am trying to use the VOF model to study the rise of bubbles in water. I am writing a UDF to give me the location of the bubble centroid after each time step (using DEFINE_EXECUTE_AT_END). I am trying to use the looping macros to loop over all the cells of the secondary phase (air). Unfortunately the udf gives me the centroid of the entire domain rather than the centroid of the bubble.

My first question (may be a bit silly) is 1. what is the difference between phase domain and phase thread? 2. I tried using the sub_domain_loop and the mp_thread_loop_c with the begin_c_loop_all but I get the same answer. How do I loop over cells of the secondary phase only?

Thanks for your help!
  Reply With Quote

Reply

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
Writing UDF for Eulerian model golriz Fluent UDF and Scheme Programming 7 November 3, 2011 05:30
UDF for Heat Exchanger model francois louw FLUENT 2 July 16, 2010 02:21
Modifying Pressure swirl atomizer model by UDF jeff_F FLUENT 0 May 22, 2010 09:22
UDF: how to know domain number in the model? mssound FLUENT 0 May 17, 2010 15:00
The problem of UDF in Non premixed combustion model zhangyuan Main CFD Forum 0 May 25, 2009 09:41


All times are GMT -4. The time now is 19:28.