Hello. I am doing coupled electromagnetic - transient-thermal simulations in Workbench. For electromagnetic simulatinon I use Maxwell. I got a python script (or workbench journal) that runs the whole simulation process. In this script I use command that saves tabular data report in a file on disc (please, find this line of code below in the message). When I run this script on my office computer everything works fine, but when I run this command on a HPC Cluster in a Batch mode I get and error (please find the error message below). How can I overcome this problem (basically I want to be able from withing Workbench to send to Maxwell command to save table report on disc when running in a Batch mode)?
Command: system1.SendAnsoftCommand(PyCommand='oDesktop.SetActiveProject("MaxwellProject").SetActiveDesign("Maxwell3DDesign1").GetModule("ReportSetup").ExportToFile("Winding Table 1", "FILENAME", False)'.replace("FILENAME", z))
Error:
Fatal error: An unexpected error has occurred: CommandFailedException: Error in running the 'SendAnsoftCommand' command: Edits are not allowed when ANSYS Workbench is started without a graphical display.