This post is how to run ANSYS Electromagnetic solvers (HFSS/Maxwell) on TotalCAE Private and Public cloud. See our additional posts on CFX,  Mechanical, and Fluent/Icepak.

The primary workflow for ANSYS Electromagnetics  is below :

1. Upload your model, through the TotalCAE Portal (or tsubmit command line) in batch mode. Just a few clicks to get your model submitted. This works identically for all TotalCAE supported systems including on-premise (private cloud) and public cloud.  (Alternatively, you can use ANSYS Electromagnetics RSM)

2. Post Process on the Visualization Server using standard ANSYS Electromagnetics Desktop.

Using ANSYS Electromagnetics in Batch Mode with TotalCAE Portal

To use ANSYS Electromagnetics in batch mode, login to the TotalCAE portal (from your Windows PC with Chrome, or from the Visualization Server and launch Firefox) and select ANSYSEM. Choose the version of ANSYS Electromagnetics to run ( in this example version 19.0), then click Browse to upload a model from your machine to the HPC system.

Your data will reside in /work/<username>/ on the cluster. You can do file upload/download  through the portal, or by logging into the cluster with SSH to the head node of the system.

ANSYS Electromagnetics with TotalCAE Portal
ANSYS Electromagnetics with TotalCAE Portal

 

Push the “Submit” button, and your job will be put into the batch system. The system will power on nodes to run your job. A job ID will be returned to track your job

You can go to the “List Jobs” menu in the portal, and expand the job id to get details on the current job state ( Running, Pending, or Completed) as well as the list of nodes the job ran on,  and any comments about the job.

Once the job is completed you will receive an email,  then click on the blue link in the “Working Directory” like below  to download your job results.

ANSYS Electromagnetics List Jobs
ANSYS Electromagnetics List Jobs

Post Process

You can either download the results back to your workstation, or you can just visualize the results on the cloud via TotalCAE visualization server web page, and bring up ANSYS Electromagnetics Desktop in the resulting window).

The high level steps to do post processing on the TotalCAE Viz Server:

  1.  Login to the TotalCAE Visualization Server with Chrome from your Windows or Mac, and click on the “ANSYS Electromagnetics” icon on your Desktop
TotalCAE Remote Viz for ANSYS Fluent
TotalCAE Remote Viz for ANSYS Electromagnetics Desktop ( running inside your Browser, with a browser open in the desktop!)
  1.  Click on “ANSYS Electromagnetics” icon , Select File->Load and load your model/results. Note your results are in /work/<username>/

    Post Processing with Electronics Desktop
    Post Processing with Electronics Desktop

Submitting ANSYS Electromagnetics with ANSYS RSM

Some customers prefer to use submit jobs through ANSYS Remote Solve Manager (RSM) instead of the TotalCAE Portal.

ANSYS RSM is configured as part of the HPC private or public cloud, and your user account already has been configured to use RSM through the TotalCAE Viz Server.

The first step is to login to the TotalCAE Viz Server, and click on the “ANSYS Electromagnetics ” icon on your desktop.

TotalCAE Remote Viz for ANSYS Fluent
Click on the ANSYS Electromagnetics icon on your desktop

That will bring up the ANSYS Electronic Desktop GUI.

Go to HFSS > Submit Job and click on Compute Resources Tab. This is where you will define the nodes you would like to run on. To select nodes, you must open a terminal prompt by clicking the icon in the top left next to Firefox, and type

salloc -N <number of nodes>

for example for two nodes

salloc -N 2

The HPC system will then assign you two nodes from the pool, give you a jobid, and power the two nodes on. After the nodes are up, you can configure RSM on the assigned nodes by typing  “bootstrap <jobid”>. For example

bootstrap 333

A complete example is below, I get two nodes exclusively and am assigned a job ID of 321 from the scheduling system. I then use this job ID to bootstrap the RSM software on the nodes.

Bootstrap HFSS RSM on Compute Nodes

Now you are ready to configure ANSYS Electronics Desktop to use your assigned nodes. Launch Electronics Desktop, load your model and go to HFSS Menu and choose Submit Job.

Click on the Compute Resource tab to configure the hosts assigned to you in the previous step like below. In this example, I was assigned nodes name n000136 and n000138 from the scheduler, so I have configured RSM to use those two nodes.

HFSS RSM Job Setup
HFSS RSM Job Setup

 

Then back on the Analysis Specification tab, you will need to adjust your batch options to include ANSYS licensing type (for example Pack or Pool), as well as the MPI Vendor (choose Intel if on Azure).

HFSS Setup
HFSS Setup

 

Finally, you can submit the job, and monitor it. See below

HFSS Submit Job
HFSS Submit Job

 

HFSS Monitor RSM Job
HFSS Monitor RSM Job

Once you are done with the nodes, type

scancel <jobid>

For example

scancel 321

To return the nodes back to the scheduler so they can be turned off.