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

Ansys Workbench Journal Record Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2022, 09:45
Default Ansys Workbench Journal Record Problem
  #1
New Member
 
Join Date: May 2019
Posts: 24
Rep Power: 7
svantevid is on a distinguished road
I'm trying to automate the simulation workflow in ANSYS Workbench by using the built in journal recorder to record all the inputs and then make copies of the recorded code and run it multiple times. Everything works fine, but sometimes a window pops up in Fluent notifiying that the settings have changed and the user must confirm it before it continues. Sadly this window pops up randomly, so I would need to check for it's presence with some sort of IF sentence, but journal recording uses IronPython with a very strange (for me at least) syntax and I have no idea how to put together the IF sentence that would check the presence of this window.

The piece of code, responsible for confirming the pop-up window is bellow.

setup1.SendCommand(Command='(cx-gui-do cx-activate-item "Ribbon*Frame1*Frame5(Solution)*Table1*Table3( Run Calculation)*PushButton7(Calculate)")(cx-gui-do cx-activate-item "Settings have changed!*PanelButtons*PushButton1(OK)")')

Last edited by svantevid; April 26, 2022 at 03:54.
svantevid is offline   Reply With Quote

Reply

Tags
journaling, workbench


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
ANSYS workbench startup problem jasdeep2006singh ANSYS 11 November 18, 2022 03:39
Problem with ANSYS Workbench deformed shape on Eigenvalue Buckling Metallic Structural Mechanics 2 March 15, 2019 10:11
Ansys Workbench Fracture and Cracking Behavior using Solid65 jackhero Structural Mechanics 0 December 25, 2017 01:45
Ansys SIG$ILL error loth ANSYS 3 December 24, 2015 06:31
ANSYS Workbench 11 backup problem, mechanicaldesign ANSYS 0 June 21, 2011 02:48


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