|
[Sponsors] |
June 20, 2005, 10:44 |
user-defined memory
|
#1 |
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 |
|
June 20, 2005, 12:28 |
Re: user-defined memory
|
#2 |
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.
|
|
June 20, 2005, 14:04 |
Re: user-defined memory
|
#3 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trouble setting user scalar and user memory names | tstorm | FLUENT | 6 | November 23, 2022 03:58 |
How can I allocate user defined memory? | MASOUD | Fluent UDF and Scheme Programming | 1 | November 20, 2014 02:12 |
user defined sourcen term | xck1986 | CFX | 1 | July 8, 2010 08:35 |
user defined turbulence model | manuutin | STAR-CD | 5 | October 14, 2009 05:29 |
Gradient of a User defined Variable | Ramadas | CFX | 2 | August 21, 2007 09:19 |