# Retrieving stored variables

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 March 14, 2012, 15:33 Retrieving stored variables #1 Member   Join Date: Mar 2011 Posts: 50 Rep Power: 7 A few questions about storing and retrieving variables: What is P_USER_REAL(p,0) used for? If I have stored a number in C_UDMI(f,t,0), how do i access this memory location later on to compute some other formula Ex: F = * mass* a*.... How do I access the memory location so that the number stored in the memory location can be used in the sample formula above? Any other general explanation regarding the use of user defined scalar variables is appreciated.

March 14, 2012, 23:03
#2
Senior Member

Ji Junjie
Join Date: Feb 2010
Location: Shanghai, China
Posts: 109
Rep Power: 8
Quote:
 Originally Posted by cdf_user A few questions about storing and retrieving variables: What is P_USER_REAL(p,0) used for? If I have stored a number in C_UDMI(f,t,0), how do i access this memory location later on to compute some other formula Ex: F = * mass* a*.... How do I access the memory location so that the number stored in the memory location can be used in the sample formula above? Any other general explanation regarding the use of user defined scalar variables is appreciated.
P_USER_REAL is used to store user-defined information related to particle.
C_UDMI(f,t,0) stored value in UDMI-0 on face "f". So when you want to access it, you should first give the parameter "f", telling Fluent which face to access.

 March 14, 2012, 23:27 #3 Member   Join Date: Mar 2011 Posts: 50 Rep Power: 7 how many values can UDMI-0 store? 1 or 500? Actually it should be C_UDMI(c,t,0) since C_UDMI is use to access or store values of user defined memory in a "cell". So it would require the cell to access it F_UDMI(f,t,0) is for faces.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Sri FLUENT 2 March 1, 2007 17:48 Eugene Phoenics 9 November 2, 2001 23:00 Fabio Kasper CFX 1 October 6, 2000 08:21 Dipak Phoenics 1 July 17, 2000 08:48 Zoltan Turzo CFX 2 April 20, 2000 15:05

All times are GMT -4. The time now is 23:00.

 Contact Us - CFD Online - Top