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

execute_on_demand thanks scheme

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2015, 09:29
Default execute_on_demand thanks scheme
  #1
Zal
New Member
 
Antoine
Join Date: Jun 2015
Posts: 12
Rep Power: 10
Zal is on a distinguished road
Hi,

I try to execute udf thanks a scheme code but I think there are some errors when it try to access the "Execute on demand" menu.


the code section :

(cx-gui-do cx-activate-item "MenuBar*User-DefinedSubMenu*Execute On Demand...")
(cx-gui-do cx-activate-item "Execute On Demand*PanelButtons*PushButton1(OK)")
(cx-gui-do cx-activate-item "Execute On Demand*PanelButtons*PushButton1(Cancel)") )

The error :

Error: cx-name-to-id: cannot find widget
Error object: "MenuBar*DefineMenu*User-Defined*Execute On Demand..."


It's not my code and I never used the scheme language. Someone can help me and say me if those code lines are right ?


Thank you for your attention

Zal

(sorry for my English ...)
Zal is offline   Reply With Quote

Old   August 3, 2015, 04:55
Default
  #2
Zal
New Member
 
Antoine
Join Date: Jun 2015
Posts: 12
Rep Power: 10
Zal is on a distinguished road
Hi,
I solved my problems
Informations are in the ANSYS Fluent Customization Manual with some examples.

UDF must not be execute in the .scm but in a UDF defines with the macro DEFINE_EXECUTE_FROM_GUI
Zal is offline   Reply With Quote

Reply

Tags
execute_on_demand scheme


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
how to understand high resolution scheme and high order scheme iilw1314 Main CFD Forum 7 April 12, 2022 12:29
Flux Limiter and Interpolation Scheme pablitobass OpenFOAM Programming & Development 10 December 3, 2016 13:15
2nd order upwind scheme (Fluent and CFX) Far FLUENT 0 May 22, 2011 01:50
Definition of limiter function for central dirrerencing scheme sebastian_vogl OpenFOAM Running, Solving & CFD 0 January 5, 2009 11:08
extrapolation in MUSCL scheme Chandra Main CFD Forum 6 February 14, 2007 11:21


All times are GMT -4. The time now is 20:52.