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

C_VOF_G for Volume fraction gradient

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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


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
gradient of species mass fraction zhou FLUENT 1 March 14, 2020 07:55
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 15 May 1, 2016 16:12
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
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 07:22


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