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

Trouble setting user scalar and user memory names

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 7 Post By tstorm

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 5, 2009, 18:10
Default Trouble setting user scalar and user memory names
  #1
Member
 
Join Date: Apr 2009
Posts: 78
Rep Power: 17
tstorm is on a distinguished road
I'm trying to change the names of user-defined scalars and user-defined memory, but it isn't working. I have the following code at the end of my UDF, but it doesn't seem to change the names of the variables in FLUENT (they still show up as uds-0, uds-1, etc.)

What's wrong?

DEFINE_EXECUTE_ON_LOADING(rename_UDvars, libname)
{
Set_User_Scalar_Name(0,"UDS0: k");
Set_User_Scalar_Name(1,"UDS1: e");
Set_User_Scalar_Name(2,"UDS2: v2");
Set_User_Scalar_Name(3,"UDS3: f");
Set_User_Scalar_Name(4,"UDS4: Rxx");
Set_User_Scalar_Name(5,"UDS5: Ryy");
Set_User_Scalar_Name(6,"UDS6: Rzz");
Set_User_Scalar_Name(7,"UDS7: Rxy");
Set_User_Memory_Name(0,"UDM0: Turbulent viscosity");
Set_User_Memory_Name(1,"UDM1: Turbulent time scale");
Set_User_Memory_Name(2,"UDM2: Turbulent length scale");
Set_User_Memory_Name(3,"UDM3: mu_t*StrainRate");
}
tstorm is offline   Reply With Quote

 


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
User defined scalar boundary condition Philip FLUENT 1 December 4, 2013 10:23
solving passive scalar by user function in AVLFIRE huyp Main CFD Forum 0 September 4, 2008 10:21
add user scalar in one phase zhu CFX 0 April 27, 2002 03:45
Using user scalar in USRRAT Jakub CFX 0 April 25, 2002 13:18
User Scalar B/C Greg Perkins FLUENT 5 April 5, 2001 22:29


All times are GMT -4. The time now is 22:30.