|
[Sponsors] |
April 24, 2019, 00:53 |
UDF MACRO Usage
|
#1 |
New Member
kailash
Join Date: Jun 2018
Posts: 19
Rep Power: 8 |
Hi People,
I am facing an issue with DEFINE_EXECUTE_FROM_GUI. I was practicing the example from ANSYS fluent manual for resetting memory using DEFINE_EXECUTE_FROM_GUI macro. Now after successful compilation and when I run the code, the UDF is not running. I don't know how to make ANSYS run my code as there is no option to Hook it up. |
|
April 24, 2019, 02:10 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
how do you run your code?
best regards |
|
April 24, 2019, 16:38 |
|
#3 |
New Member
kailash
Join Date: Jun 2018
Posts: 19
Rep Power: 8 |
||
April 24, 2019, 22:37 |
|
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
read what DEFINE_EXECUTE_FROM_GUI does
best regards |
|
April 25, 2019, 02:12 |
|
#5 |
Senior Member
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 416
Rep Power: 15 |
From documentation DEFINE_EXECUTE_FROM_GUI attaches to custom gui elements, which are created in scheme. I couldn't find examples of the latter, however.
|
|
April 25, 2019, 02:31 |
|
#6 |
New Member
kailash
Join Date: Jun 2018
Posts: 19
Rep Power: 8 |
Exactly the problem. The manual says that ANSYS Fluent solver will automatically run the UDF when a call is made from a user-defined Scheme program to execute. In order to do that we have to create a User Interface I guess. Am working on it still.
Here is the link if you are interested: https://www.sharcnet.ca/Software/Ans...-B1664497.html |
|
Tags |
udf and programming |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF Compilation Error - Loading Library - COMMON Problem! Help! | robtheslob | Fluent UDF and Scheme Programming | 8 | July 24, 2015 01:53 |
UDF macro not compliled | KITetima | Fluent UDF and Scheme Programming | 12 | October 23, 2013 10:13 |
UDF Data Access Macro | Woo Meng Wai | FLUENT | 0 | November 6, 2007 21:23 |
I want to learn UDF usage in Fluent | sangamnath | FLUENT | 5 | December 17, 2005 13:16 |
DEFINE_DPM_OUTPUT macro UDF HELP | Puneet | FLUENT | 3 | November 28, 2003 11:55 |