Electronics

Electronics

Is it possible to generate a script to run a Maxwell 3D simulation in a Hyperion Supercomputer?

    • Dape_97
      Subscriber
      Hello I'd like to know if it's possible to generate a script (in Python or Rust), from a working Ansys Maxwell 3D model to run the simulation in a supercomputer.
      I've been somewhat struggling to run some transformer simulations in my work computer as it is not powerful enough and lacks memory space, and my university has a Hyperion Supercomputer system to which I can get access. Said system should be easily able to run any simulation I throw at it, but the problem is that it is only able to run scripts (Python or Rust).
      I know there's documentation in regards to Maxwell Scripting, but based on what I've seen so far said scripting is for automating stuff while working in a model, rather than creating a script that runs the simulation itself.
      I haven't spent that much time researching this topic yet, so basically I'm just looking for someone that can point me to the right direction.
      Thankful for your time and help Daniel
    • Navya C
      Ansys Employee

      Your question is not clear to me.
      When the supercomputer is able to run any simulation, what do you mean by "it is only able to run scripts (Python or Rust)"?
      Can you elaborate on "creating a script that runs the simulation itself"? - so that your requirement can be interpreted correctly

      Regards Navya
    • Dape_97
      Subscriber

      My question is based on the fact that you control the supercomputer using a Linux Command Line, so there's no graphical user interface. In all my time with Ansys Maxwell I've only ran simulations using the graphical user interface in Windows, and it is not immediately clear how to run a simulation through a command line.
      I say that the supercomputer is only able to run Python or Rust scripts because in all the example materials that my university has I've only seen that they run either Python or Rust scripts through the command line.
      To be fair, at this moment I'm not 100% sure whether it truly is only possible to run either Python or Rust scripts. And if in Linux it is possible to run Ansys Maxwell simulations through the terminal, then clearly I'd be wrong about only being able to use Python or Rust.
      So I guess my question truly is how to run Ansys Maxwell 3D simulations in a Linux Command Line (which may or may not involve using Python - that's something I'd love to figure out).
    • HDLI
      Ansys Employee

      We could use python scripting or Pyaedt to launch and run Maxwell simulation, but whatever, we have to install Maxwell in the remote computer and also need to access it.
      HDLI
    • HDLI
      Ansys Employee

      Maxwell has the Linux version, that you need to install it in the remote machine.
      There is non-graphic mode while running the Maxwell simulation, so you do not need to open UI. The command line looks like
      /apps/ansys_inc/AnsysEM21.1/Linux64/ansysedt -distributed includetypes=default maxlevels=1 -machinelist num=1 -monitor -ng -batchoptions ' '\''Maxwell3D/NumCoresPerDistributedTask'\''=28 '\''Maxwell 3D/RAMLimitPercent'\''=90' -batchsolve Maxwell3DDesign1:Nominal:Setup1 /home//Documents/examples/project_name.aedt
      Please review and check more information in the Maxwell help manual of "Running Ansys Electronics Desktop From a Command Line".
      Actually, you may build RSM and easily submit the job from the local to the remote machine.
      HDLI

Viewing 4 reply threads
  • You must be logged in to reply to this topic.