How to interface Matlab and Ansys Maxwell ?

I am currently working with Ansys Maxwell for the electromagnetic simulations of electric motors. To automate the simulations with different dimensions of different parts of motor, I would like to write a Matlab script and use it as an interface to control Ansys Maxwell. The FEM results will be provided by Maxwell. Only the commands and instructions are sent from Matlab script to Maxwell. I would like to know if this is possible and if there any resources for the mentioned task. Thank you.

1 comentario

Klaus Kreckler
Klaus Kreckler el 12 de Sept. de 2019
Do you have a solution for your question?
At this time I´m looking for the same kind of code.
Best regards,
Klaus

Iniciar sesión para comentar.

Respuestas (2)

Soma Ardhanareeswaran
Soma Ardhanareeswaran el 19 de Oct. de 2016

0 votos

There is no direct interface to communicate with Ansys Maxwell from MATLAB. However, you can use the 'system' command in MATLAB to invoke the Ansys Maxwell scripts and store the output in a file. Refer to https://www.mathworks.com/help/matlab/ref/system.html for more help on using the 'system' command.
You can then process the output files from the simulator in MATLAB to perform the required operations.

1 comentario

Nidhesh Dhamodaran
Nidhesh Dhamodaran el 21 de Oct. de 2016
Thank you for the response. I will have a look and get back to you when I have something. Regards, Nidhesh

Iniciar sesión para comentar.

Hussein Ali
Hussein Ali el 1 de Feb. de 2022
Editada: Hussein Ali el 1 de Feb. de 2022

0 votos

Can you explain how I can investigate from maxwell Ansys result in MATLAB step by step

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Preguntada:

el 17 de Oct. de 2016

Editada:

el 1 de Feb. de 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by