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

Stain Rate UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2009, 15:04
Default Stain Rate UDF
  #1
New Member
 
Esinti
Join Date: Jul 2009
Posts: 10
Rep Power: 17
esinticik is on a distinguished road
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...
esinticik is offline   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
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


All times are GMT -4. The time now is 05:33.