Skip to content
Discussion options

You must be logged in to vote

Hello,

Thank you for your interest in pyleecan. The mesh size of each part is computed in: pyleecan\Functions\FEMM\comp_FEMM_dict.py
When running a simulation, the full FEMM_dict is saved in out.mag.internal.FEMM_dict. So you can run a simulation with Nt_tot=1, get the generated FEMM_dict and check the content to find which key you need to set. I assume it will be something like FEMM_dict["mesh"]["Rotor-0"]["meshsize_magnet"] for instance.

On a side note you can also use simu.mag.Kmeshh_finess to change the mesh size for all the machine.

Best regards,
Pierre

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Maschinenausleger
Comment options

Answer selected by Maschinenausleger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants