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

C_VOF_G for Volume fraction gradient

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 18, 2004, 05:14
Default C_VOF_G for Volume fraction gradient
  #1
Fred
Guest
 
Posts: n/a
Hi , I am using VOF model and I want to add a source term on the continuity equation for the Volume fraction F.

-The source term is : A.(dF/dx) wher A is constant and F is the VOF variable... -please can some body tell me if it is possible to use C_VOF_G macro for this DEFINE_SOURCE UDF ?? I can not find any example on the Fluent manual about this macro

thanks a lot Fred
  Reply With Quote

Old   December 24, 2004, 21:42
Default Re: C_VOF_G for Volume fraction gradient
  #2
KP
Guest
 
Posts: n/a
DEFINE_ADJUST. Solution ID# 972
  Reply With Quote

Old   December 27, 2004, 08:29
Default Re: C_VOF_G for Volume fraction gradient
  #3
Fred
Guest
 
Posts: n/a
dear KP , please can you explain with more details ?,
  Reply With Quote

Old   January 10, 2005, 05:04
Default Re: C_VOF_G for Volume fraction gradient
  #4
jwwang
Guest
 
Posts: n/a
my udf for eulerian model,i holp it can help you! #include "udf.h"

DEFINE_SOURCE(x_solid_pressure, cell, thread, dS, eqn) {

real void_s, con,v_s, source=0.0;

void_s = C_VOF(cell, thread);

con = -8.686*(1.0-void_s)+6.385;

if (NULL != THREAD_STORAGE(thread,SV_VOF_G))

{

v_s = C_VOF_G(cell, thread)[0];

}

source = -pow(10,con)*v_s;

dS[eqn] = 0.0;

return source; }
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 14 September 18, 2011 13:46
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 21:14
CFX Solver Memory Error mike CFX 1 March 19, 2008 08:22
gradient of species mass fraction zhou FLUENT 0 March 3, 2004 22:55


All times are GMT -4. The time now is 10:59.