|
[Sponsors] |
December 18, 2004, 05:14 |
C_VOF_G for Volume fraction gradient
|
#1 |
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 |
|
December 24, 2004, 21:42 |
Re: C_VOF_G for Volume fraction gradient
|
#2 |
Guest
Posts: n/a
|
DEFINE_ADJUST. Solution ID# 972
|
|
December 27, 2004, 08:29 |
Re: C_VOF_G for Volume fraction gradient
|
#3 |
Guest
Posts: n/a
|
dear KP , please can you explain with more details ?,
|
|
January 10, 2005, 05:04 |
Re: C_VOF_G for Volume fraction gradient
|
#4 |
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; } |
|
|
|
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 |