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

Allocating user defined memory

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

Like Tree1Likes
  • 1 Post By pakk

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2014, 07:41
Default Allocating user defined memory
  #1
djn
New Member
 
Dhananjaya
Join Date: May 2014
Posts: 7
Rep Power: 11
djn is on a distinguished road
Hi,
I am using C_UDMI(c,t,i) in one of the UDF's I am writing... I have stored output of that macro to a 'real' variable . I have also used gradient term C_T_G two times in code. Now how many user defined memry location and user defined node locations should I specify?
Please help...
djn is offline   Reply With Quote

Old   April 14, 2015, 10:52
Default Have you solved your puzzle?
  #2
New Member
 
Join Date: Oct 2014
Posts: 4
Rep Power: 11
Upyoung is on a distinguished road
Quote:
Originally Posted by djn View Post
Hi,
I am using C_UDMI(c,t,i) in one of the UDF's I am writing... I have stored output of that macro to a 'real' variable . I have also used gradient term C_T_G two times in code. Now how many user defined memry location and user defined node locations should I specify?
Please help...
Dear Dhananjaya,

Have you solved your puzzle? I have the same problem to set the user defined memry location and user defined node locations. For my case, I have 8 C_UDMI(c,t,i) and no other macros. Thank you for your guidance.
Upyoung is offline   Reply With Quote

Old   April 14, 2015, 10:59
Default
  #3
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
If you have 1 UDM, you can only use C_UDMI(c,t,0).
If you have 2 UDMs, you can only use C_UDMI(c,t,0) and C_UDMI(c,t,1).
If you have 3 UDMs, you can only use C_UDMI(c,t,0), C_UDMI(c,t,1) and C_UDMI(c,t,2).

So just look at your code. If you use C_UDMI(c,t,5), you need at least six UDMs.
souza.emer likes this.
pakk 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
Trouble setting user scalar and user memory names tstorm FLUENT 6 November 23, 2022 03:58
Creating new user defined material Vidya FLUENT 4 August 26, 2013 09:26
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


All times are GMT -4. The time now is 10:41.