|
[Sponsors] |
September 10, 2009, 15:04 |
Stain Rate UDF
|
#1 |
New Member
Esinti
Join Date: Jul 2009
Posts: 10
Rep Power: 17 |
Hello Everyone,
In Euler-Euler two-fluid model, My viscosity model is hooked for secondary phase viscosity, and i need THREAD_SUPER_THREAD(t) strain rate, This usage (for mixed thread) gives no error when compiling but gives an error when initializing DEFINE_PROPERTY(secondary_viscosity,c,t) { Thread *tm = THREAD_SUPER_THREAD(t); /*thread tm will be a superthread, i.e., mixture*/ s_mag=C_STRAIN_RATE_MAG(c,tm); vis=function of "s_mag" However, below usage (for secondary phase thread) gives no error when initializing DEFINE_PROPERTY(secondary_viscosity,c,t) { s_mag=C_STRAIN_RATE_MAG(c,t); what is the problem for mixed thread strain rate? and Is strain rate data for each thread (such as mixture, primary and secondary phase ) same for fluent euler-euler model? Thanks everyone... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
strain rate in UDF | Paulina | FLUENT | 11 | November 20, 2014 04:06 |
UDF molar rate of creation/destruction of species | Michal | Fluent UDF and Scheme Programming | 1 | January 18, 2013 08:26 |
UDF for critical strain rate to extinction | Birute Bunkute | FLUENT | 1 | March 25, 2010 16:40 |
UDF mass flow rate | Juan | FLUENT | 2 | December 22, 2007 10:29 |
case files UDF volumetric reaction rate | Marie-Anne | Main CFD Forum | 2 | February 24, 2006 10:43 |