Ansys ========== Ansys is an engineering simulation software suite used to predict how product designs will behave in real-world conditions. It enables complex physics simulations, including structural mechanics, fluid dynamics, electromagnetics, and thermal analysis. Learn more in the `official Ansys documentation `__. Launching Ansys ---------------- **Using Magellano OnDemand:** from the ``Interactive Apps`` menu, click on ``Ansys Workbench``. Fill the form with the required job options and click ``Launch``. Note that **Ansys license** is a mandatory option. See `Licensing <#Licensing>`__ for more info. When your job is up and running, click on the ``Launch Ansys Workbench`` in the ``My Interactive Sessions`` page. You will be redirected to a new browser tab. From there you can use Ansys Workbench in a VNC session. **Using Environment Modules:** load the Ansys module and run Ansys Workbench as in the example below:: # Set the path to your license file export ANSYSLMD_LICENSE_FILE=/home/users/neo/ansys.lic # or the license server as PORT@SERVER export ANSYSLMD_LICENSE_FILE=1055@lm-ansys.infn.it # Load the environment module module load ansys/${ANSYS_VERSION} # Launch Ansys Workbench runwb2 Licensing --------- Ansys reads the information about your license from the ``ANSYSLMD_LICENSE_FILE`` environment variable. When launching Ansys Workbench from the OnDemand web interface, this variable is passed by the **Ansys license** entry of the submit form. If ``ANSYSLMD_LICENSE_FILE`` is not set or your license is not valid, the app will show a licensing error. The ``ANSYSLMD_LICENSE_FILE`` variable can point to a license file or to a license server. The format for the license server is ``PORT@SERVER``. If you wish to use the **INFN national Ansys license**, plese follow the instruction on the `INFN wiki page `__. After registration, the ``ANSYSLMD_LICENSE_FILE`` variable must be set to ``1055@lm-ansys.infn.it``.