CFD Online URL
[Sponsors]
Home > Forums > FLUENT

Set user define memory

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 9, 2010, 05:30
Exclamation Set user define memory
  #1
New Member
 
Daniele
Join Date: Dec 2009
Location: Pisa
Posts: 11
Rep Power: 7
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, 10:42
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
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, 14:27
Default
  #3
New Member
 
Daniele
Join Date: Dec 2009
Location: Pisa
Posts: 11
Rep Power: 7
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

Thread Tools
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 On
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 19:37
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
CFX CPU time & real time Nick Strantzias CFX 8 July 23, 2006 18:50
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 14, 2000 00:03
Mass Flow Outlet Glenn Price FLUENT 4 May 30, 2000 15:02


All times are GMT -4. The time now is 04:03.