May 26, 2022 at 3:57 pmDape_97SubscriberHello 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
May 29, 2022 at 12:19 pmNavya CAnsys 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
May 31, 2022 at 2:18 pmDape_97Subscriber
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).
May 31, 2022 at 2:20 pmHDLIAnsys 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.
May 31, 2022 at 5:27 pmHDLIAnsys 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.
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- simulation completed with execution error on server
- How to export Ansys Maxwell simulation results for post-processing in matlab or in .csv file
- Maxwell, HFSS or Q3D?
- Unable to assign correctly the excitations in a coil
- Signing up as ANSYS Support Coordinator
- Running ANSYS HFSS on the HPC (it runs on Linux only)
- Intersect errors with model with complex structure
- Running ANSYS HFSS on multiple nodes on SLURM based cluster
- HFSS: reset marker legend dimensions.
© 2023 Copyright ANSYS, Inc. All rights reserved.