|
[Sponsors] |
UDF for defining granular viscosity in mixture model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 25, 2010, 13:32 |
UDF for defining granular viscosity in mixture model
|
#1 |
New Member
Join Date: Mar 2010
Posts: 7
Rep Power: 16 |
Hello all,
I am new to fluent and I want to use a UDF for defining the granualar viscosity of the secondary phase in the mixture model : mu= -0.188 + 537.42*Volume fraction. I had written the follwoing UDF. #include "udf.h" DEFINE_PROPERTY(solid_viscosity,cell, thread) { real mu; real vf=C_T(cell,thread); mu=-0.188+537.42*vf; return mu; } This is correct? And how can I use this in my case. Can anyone help? Thanks |
|
May 21, 2017, 13:42 |
|
#2 |
New Member
Sahar Ahsaas
Join Date: Jun 2016
Posts: 2
Rep Power: 0 |
I think you need to use DEFINE_ADJUST macros to modify the volume fraction using C_VOF(cell,thread)*constant; save this in user defined memory then use this User defined memory in DEFINE_PROPERTY macro like mu=C_UDMI(cell,thread,i).
|
|
September 5, 2018, 11:36 |
secondary phase thermal conductivity
|
#3 |
Member
Emerson
Join Date: May 2018
Posts: 35
Rep Power: 8 |
Hello,
I'm new with Fluent and with UDF, and in my case, I have to modify my secondary thermal conductivity with the formula: k = (-0.76 + 0.0063*T)*alfa with: T = secondary phase temperature alfa = secondary phase volume fraction Is this UDF written properly? #include "udf.h" DEFINE_PROPERTY(k_coke, c, t) { real k_c; real temp = C_T(c, t); real vf_c = C_VOF(c, t); k_c = (-0.76 + 0.0063*temp)*vf_c; return k_c; } My doubt is if I'm taking the secondary variables (volume fraction and temperature) correctly. Can anyone help me? |
|
May 19, 2019, 18:56 |
|
#4 | |
New Member
Uttar Pradesh
Join Date: May 2019
Posts: 3
Rep Power: 7 |
Quote:
|
||
May 19, 2019, 19:05 |
|
#5 |
Member
Emerson
Join Date: May 2018
Posts: 35
Rep Power: 8 |
Granular Vicosity and granular solids pressure Macro = DEFINE_PROPERTY
|
|
May 19, 2019, 19:09 |
|
#6 |
New Member
Uttar Pradesh
Join Date: May 2019
Posts: 3
Rep Power: 7 |
||
May 19, 2019, 19:13 |
|
#7 |
Member
Emerson
Join Date: May 2018
Posts: 35
Rep Power: 8 |
Have you take a look at the theory guide? There you can find the equation for each model that Fluent provides.
|
|
May 19, 2019, 19:16 |
|
#8 |
New Member
Uttar Pradesh
Join Date: May 2019
Posts: 3
Rep Power: 7 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to include lift forces/wall lubrication forces in the MIXTURE multiphase model? | hohomm | FLUENT | 0 | December 17, 2009 06:45 |
MULTIPHASE - FREE SURFACE & MIXTURE MODEL | Aris | FLUENT | 3 | April 28, 2009 12:46 |
air and water vapour mixture - multiphase model | Saba | FLUENT | 0 | February 10, 2009 13:05 |
Momentum equation used by mixture model | George | FLUENT | 0 | May 19, 2005 14:07 |
UDF of Zimont model in fluent | Z | Main CFD Forum | 0 | February 17, 2005 04:07 |