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

How to consider interfacial area in GUI after defining custom drag coefficient?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2017, 15:26
Default How to consider interfacial area in GUI after defining custom drag coefficient?
  #1
ssa
New Member
 
SS
Join Date: Nov 2017
Posts: 1
Rep Power: 0
ssa is on a distinguished road
Hello, I am using the Eulerian multiphase model to model a 2-phase flow, and my model requires a custom fluid-fluid exchange coefficient, Kpq, which I have detailed in the udf below.
My udf compiles and loads correctly, however, the Fluent user interface still requires a definition of interfacial area in the Phase Interactions dialogue box, which I don't need because I defined my own Kpq from my understanding... How does Fluent incorporate this definition of interfacial area concentration if a custom Kpq is already defined?
I have tried "removing" it by defining it in a udf as a constant (e.g. IA=1), I have also tried defining it as ia-symmetric, and cancelling out these terms in my Kpq udf (since ia is incorporated in Kpq)... but I'm unsure if either of these methods is correct mathematically. Here's my Kpq udf:

#include "udf.h"
#include "math.h"
#define a 0.000008
#define mu_p 0.00096
#define rhop 1027

DEFINE_EXCHANGE_PROPERTY(drag, c, mixture_thread ,P_col,RBC_col)
{
Thread *pt, *st;/* thread pointers for primary and secondary phases*/
real phi , k_p_q;
pt = THREAD_SUB_THREAD(mixture_thread, RBC_col);
st = THREAD_SUB_THREAD(mixture_thread, P_col);
phi=C_VOF(c,pt); /* RBC volume fraction*/

k_p_q= (exp(2.68*phi)+pow(phi,0.43))*9*mu_p/(2*pow(a,2));
return k_p_q;
}

Thanks for the help!
ssa is offline   Reply With Quote

Reply

Tags
drag, fluid-fluid exchange, interfacial area, multiphase

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
calculate drag coefficient for body moving in waves mo_na OpenFOAM Post-Processing 1 May 20, 2017 03:56
wrong SU2 calculation for lift and drag coefficient for NAC4421 mechy SU2 7 January 9, 2017 06:18
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
heat transfer coefficient and interfacial area density Data required kmgraju CFX 3 December 28, 2012 12:27
Drag coefficient for parcels in dieselFoam sebastian_vogl OpenFOAM Running, Solving & CFD 5 December 31, 2008 13:19


All times are GMT -4. The time now is 17:29.