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

user-defined memory

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2005, 11:44
Default user-defined memory
  #1
Mark
Guest
 
Posts: n/a
Hi,

I am wondering if there is a way to store a real value in a user-defined memory location without using C_UDMI or F_UDMI. This value is just one number and not a field value. In order to get it I have to loop through cells, but I only want to do this once on the initialization, and not each iteration. This should be available as it uses an insignificant amount of resources.

Thanks, Mark
  Reply With Quote

Old   June 20, 2005, 13:28
Default Re: user-defined memory
  #2
Andrew Garrard
Guest
 
Posts: n/a
I believe that if you wish to store real value for every cell or face within a cell or face loop you will need to use a C_UDMI or F_UDMI. If you wish to use it for only one iteration then you could use the N_INIT (I think) command. If you are only using it during initalisation, then incoroprate it into a DEFINE_INIT subroutine. Then it will only be called during initialization.
  Reply With Quote

Old   June 20, 2005, 15:04
Default Re: user-defined memory
  #3
Mark
Guest
 
Posts: n/a
Yes, I could use the DEFINE_INIT command to calculate my value (perform a lengthy cell loop), but how can I pass this value along to a routine that is to execute every iteration?

Thanks Mark
  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
Trouble setting user scalar and user memory names tstorm FLUENT 6 November 23, 2022 04:58
How can I allocate user defined memory? MASOUD Fluent UDF and Scheme Programming 1 November 20, 2014 03:12
user defined sourcen term xck1986 CFX 1 July 8, 2010 09:35
user defined turbulence model manuutin STAR-CD 5 October 14, 2009 06:29
Gradient of a User defined Variable Ramadas CFX 2 August 21, 2007 10:19


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