|
[Sponsors] |
May 16, 2020, 14:06 |
Modify UDM name
|
#1 |
New Member
Pedro M Balsalobre
Join Date: May 2020
Posts: 2
Rep Power: 0 |
Hi,
I am trying to set the name of my user defined memory to visualize it in postprocessing, i am using Set_User_Memory_Name function, but i always obtain the error: function "Set_User_Memory_Name" not found (pc=299). I tried adding sg_udms.h, udm.h and sg.h libraries, but is the same. My code is something like: . . . C_UDMI(cell,thread,0) = q; Set_User_Memory_Name(0,"pop"); . . . I also tried the Set_User_Memory_Name function in a DEFINEONDEMAND udf, but i have the same results. Thanks if you can help, Regards. PMB |
|
May 16, 2020, 17:13 |
UDM name
|
#2 |
Senior Member
|
Are you interpreting the code or compiling it?
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
May 16, 2020, 17:35 |
|
#3 |
New Member
Pedro M Balsalobre
Join Date: May 2020
Posts: 2
Rep Power: 0 |
i am interpreting the code, should i compile it?
|
|
May 18, 2020, 04:05 |
|
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
I recommend to put the line you are using in DEFINE_EXECUTE_ON_LOADING macro
Code:
DEFINE_EXECUTE_ON_LOADING(any_name_here, libname) { Set_User_Memory_Name(0,"pop"); } sometimes you should reload compiled library to make changes in UDM names
__________________
best regards ****************************** press LIKE if this message was helpful |
|
May 18, 2020, 05:25 |
Compilation
|
#5 |
Senior Member
|
Setting of UDM or UDS names and units require compilation. And also note that names can be set only once. If you want to change names, you have to close Fluent session and start a new one.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
Tags |
set_user_memory_name, udm |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
Segmentation violation | louiza | FLUENT | 16 | June 27, 2017 16:41 |
Help! Delete the UDM codes in the UDF | Messi | Fluent UDF and Scheme Programming | 2 | January 28, 2014 10:01 |
Udm | nasser | FLUENT | 0 | April 7, 2013 10:19 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |