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

Set user define memory

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2010, 04:30
Exclamation Set user define memory
  #1
New Member
 
Daniele
Join Date: Dec 2009
Location: Pisa
Posts: 11
Rep Power: 16
D.Martelli is on a distinguished road
Hi everybody
I implemented an UDF for solving the laplace equation and i stored the electrical potenzial and the corresponding joul heating in two user define memory. The UDF is interpreted (not compiled). My problem is change the name of the user define memor: i would like to change theyr name from user memory 0, 1 .... with the name of what they really are. Anyone can help me? tank u very much
Daniele
D.Martelli is offline   Reply With Quote

Old   December 9, 2010, 09:42
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
You can do something like this.

Code:
DEFINE_EXECUTE_ON_LOADING(renamestuff,udflib)
{
      Set_User_Memory_Name(0,"Name you like");
}
This is an execute on loading, and I used it with compiled udfs, but you should be able to use something similar for interpreted UDFs...
Bernhard is offline   Reply With Quote

Old   December 9, 2010, 13:27
Default
  #3
New Member
 
Daniele
Join Date: Dec 2009
Location: Pisa
Posts: 11
Rep Power: 16
D.Martelli is on a distinguished road
thank you very much for your answer Bernhard, i tried as u wrote. It seems dosn't working on interpreted UDF maybe it works only for compiled udf?
ciao Daniele
D.Martelli is offline   Reply With Quote

Reply


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 routine, user funcion, or fortran compile effect on the memroy? princeps11 CFX 1 May 13, 2009 18:37
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
CFX CPU time & real time Nick Strantzias CFX 8 July 23, 2006 17:50
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 13, 2000 23:03
Mass Flow Outlet Glenn Price FLUENT 4 May 30, 2000 14:02


All times are GMT -4. The time now is 07:38.