RSM: Electronics Tutorial
This tutorial will introduce you to submitting ANSYS Electronics jobs in Rescale through the ANSYS Remote Solve Manager (RSM).
This tutorial presents an example using ANSYS HFSS. All of this is done without having to leave the Workbench environment.
You can apply the instructions of these tutorials to your own HFSS model, or follow this tutorial and use example files available directly from the HFSS GUI.
Currently, to link the RSM tool to the Rescale cloud platform, you will need to setup a Rescale Desktop session.
You can find a guide on how to set up a desktop session here.
Using ANSYS Electronics Desktop (HFSS)
In order to submit a job to a remote cluster from ANSYS Electronics, you would need to spin up a compute cluster first, and then send the job to that running cluster.
Setting up a cluster
We will now set up a job on the Rescale platform. If you are unfamiliar with Rescale jobs, please refer here.
First, click on the "+ New Job" icon on the top left hand corner of the dashboard. Name the job and jump straight to the Software Settings page, and select ANSYS RSM for Electronics Desktop as your software of choice. For this tutorial, we will select Version 18.1.
Next, proceed to the Hardware Settings page and select the hardware configuration that you would like to run your simulation on.
Once done, hit submit. Your cluster will now take a few minutes to spin up, and configure itself. Please use the live-tailing section to monitor the process_output.log file. Once the log looks like the one in the screenshot below, and the cluster_config.areg files is present, your cluster is ready to receive jobs.
Setting up ANSYS Electronics
First, go to the desktops tab and click + New Custom Desktop. Under the Add Software Tab, select ANSYS HFSS Desktop and enter your license information. We will use Version 18.1 for this tutorial. In the next section, add the running job that you just created. See below for the desktop configuration.
Once the server has been started and the loading grid has disappeared, click Connect > Connect using In-Browser Desktop. You will now be taken to the remote desktop. Please double click the ANSYS Electronics Desktop shortcut icon on the desktop to launch ANSYS Electronics Desktop.
Next, in the GUI, load your project using File > Open. For this tutorial, we will be using one of the Example Projects from Ansys. To access this, go to File > Open Examples, and select any HFSS example project. We have chosen HFSS > Antennas > helical_antenna.aedt
You now have to import the cluster configuration into RSM. Go to HFSS > Submit Job. Next, go to the Compute Resources tab on the pop up window, and click Import.
Browse to Desktop > attached jobs > ANSYS Electronics Remote Cluster > work > cluster_config.areg and press Open.
Once you see a successful message, you are now ready to submit the job. Simply press Submit Job followed by: Yes > Check “Begin monitoring job now” > OK.
You can now monitor the progress of your job through this window in the ANSYS GUI.
Using ANSYS Workbench - Icepak Component System
This tutorial will introduce you to submitting jobs from ANSYS Workbench directly to the Rescale platform.
For this example, we will submit a simple setup using the Icepak module on Workbench. Please use the link below to clone the job and hit the save button to have a copy of the files (
icepak_rsm_project_wbpz) that we will be using.
Launch a Remote Desktop on Rescale
For this example, please set up a custom Windows desktop, attach ANSYS Icepak Desktop version 18.1, add the job that you have cloned and saved above (Icepack Submission from RSM), and launch the desktop.
On the desktop, launch ANSYS Workbench by double clicking the shortcut found on the Desktop.
Next, go to File > Restore Archive to import the worbench file that you attached previously. The archive file can be found on the desktop, under "attached jobs". Then, locate the job by the folder name "Icepak_Submission_from_RSM_Cloned", open "input folder", and finally you will find the
Upon restoring the project, you will be asked where you would like to save the project. Save this project outside of the " Desktops > attached__jobs > jobid-jobname > input" directory such as in the "This PC > Documents" folder.
The example is a moving reference frame (MRM) fan model and has already been meshed. The Setup component requires updating but first we must setup the Solution update type to RSM so it doesn't solve interactively (locally).
Right click on the Solution cell and select properties. The properties panel will pop up on the right pane. Change "Update Option" to
Submit to Remote Solve Manager, "RSM Queue" to the required core type such as
RescaleOnyx in this example, "Execution Mode" to
Parallel, and "Number of Processes" to number of cores you would like to run on. You can also change the "Job Name" field to name your Rescale job as well.
Next, right click on the Setup cell that requires updating and click Update.
If Icepak is not already open, the application will launch and proceed to load the mesh and create the .cas case file. Once this process is complete, you will see a message on the Icepack command window stating Running solver on remote machine. In addition, there will be a green checkmark on the setup cell noting that it has succesfully loaded.
The model is ready for RSM submission. Go back to Workbench and this time right click on the Solution cell and click Update.
You can monitor the submission to RSM on the "Job Monitor" tab on the bottom right hand corner of Workbench. Alternatively, you can now log on to the Rescale platform to find a new job on your dashboard.
Once the job has been completed, you will see the screen below. The job (and files) are also saved on the Rescale platform, keeping all your jobs/files organized and contained.