The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Hi guys,
Is it possible to get the RUN ID of the current acusolve simulation via UDF? Like:-
acuRun: Log is redirected to: test.164.Log
I want to extract number 164 from the UDF. Is this possible?
Thanks!
Hi acupro, Actually, I am running a series of acusolve simulations using shell script. I have a series of simulations which are automatically executed using for loop. I want to automatically delete the simulations result using: acuCleanDir -pb channel -run 216 -delrun I will only keep the necessary results. However, in the shell script I do not have access to run id automatically. I want the UDF to print run id somewhere else and later read the id by shell script to delete the associated files. I have a limited disk space and want to delete all files as soon as the simulation is over. I do not want to manually delete but i want it to be done automatically. Do you have any other idea to delete the files? Thanks!
Hi acupro,
Actually, I am running a series of acusolve simulations using shell script. I have a series of simulations which are automatically executed using for loop. I want to automatically delete the simulations result using:
acuCleanDir -pb channel -run 216 -delrun
I will only keep the necessary results. However, in the shell script I do not have access to run id automatically. I want the UDF to print run id somewhere else and later read the id by shell script to delete the associated files. I have a limited disk space and want to delete all files as soon as the simulation is over. I do not want to manually delete but i want it to be done automatically.
Do you have any other idea to delete the files?
If you issue
acuCleanDir -h
you'll see that by default the last (most recent, highest run ID) run is selected.
If you're always operating on the most recent run, simply do not include the -run flag.
I don't see any current method to retrieve the Run ID via UDF. I can certainly make that request.
Just curious - what would you like to do with the Run ID?
How is the run id information expected to be used? Print to Log file or other?
Is this for running UDFs in a DOE scenario? Or just multiple runs made from the same folder?
How is the run id information expected to be used? Print to Log file or other? Is this for running UDFs in a DOE scenario? Or just multiple runs made from the same folder?
If you issue acuCleanDir -h you'll see that by default the last (most recent, highest run ID) run is selected. If you're always operating on the most recent run, simply do not include the -run flag.
Thanks, it works for the latest run.
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…