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

The gradient of void fraction in UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2006, 19:49
Default The gradient of void fraction in UDF
  #1
summer
Guest
 
Posts: n/a
Hello, everyone. Now I used the UDF to define the gradient of void fraction as follows: if(NULL!=THREAD_STORAGE(mix_thread,SV_VOF_G)) { v_s=C_VOF_G(c,thread_g)[1]; //Message()"it is OK!%f\n",v_s); } Next, I would like to multiply this gradient of void fraction into velocity(two vectors). In math, I know we could multiply them in x, y direction, respectively. How can I realize this since I do not know how to get the expression of this gradient in x and y direction? (Now I am using 2d) Thanks in advance.
  Reply With Quote

Old   July 17, 2006, 12:03
Default Re: The gradient of void fraction in UDF
  #2
Asghari
Guest
 
Posts: n/a
Do you want scalar multiple product , for example A & B by udf?
  Reply With Quote

Old   May 20, 2011, 04:34
Default
  #3
New Member
 
M. A.
Join Date: Jul 2010
Posts: 27
Rep Power: 16
motahar is on a distinguished road
Hi friends,
I'm simulating a tube with water flow.
The tube encounters boiling near the wall.
I intend to calculate 'void fraction versus enthalpy' along the channel.
Can you help me how to calculate void fraction?

I'm in an emergency condition.
Waiting for your comments!!!

Thanks Everybody
motahar 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
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36
UDF: Density Cell Gradient Vector Macros matteo FLUENT 0 December 1, 2007 13:14
OpenFoam 14 installation problem gfcoppola OpenFOAM Installation 20 November 2, 2007 14:38
UDF for Species mass fraction daniel FLUENT 3 June 22, 2005 09:40


All times are GMT -4. The time now is 08:49.