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

Stain Rate UDF

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2009, 14:04
Default Stain Rate UDF
  #1
New Member
 
Esinti
Join Date: Jul 2009
Posts: 10
Rep Power: 16
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

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
strain rate in UDF Paulina FLUENT 11 November 20, 2014 03:06
UDF molar rate of creation/destruction of species Michal Fluent UDF and Scheme Programming 1 January 18, 2013 07:26
UDF for critical strain rate to extinction Birute Bunkute FLUENT 1 March 25, 2010 15:40
UDF mass flow rate Juan FLUENT 2 December 22, 2007 09:29
case files UDF volumetric reaction rate Marie-Anne Main CFD Forum 2 February 24, 2006 09:43


All times are GMT -4. The time now is 16:12.