SEMAFORInformatik / femagtools

Python API for FEMAG
BSD 2-Clause "Simplified" License
19 stars 13 forks source link

Airgap mesh creation with user defined fsl files for stator and rotor #68

Closed sasrigais closed 2 years ago

sasrigais commented 3 years ago

This fixes an issue with mesh-airgap.mako and user defined fsl files for both stator an rotor models. The actual implementation had several flaws:

Also it was not considered if the user had already created the airgap mesh within his fsl-files. If so, he could now set the variable airgap_created to true, when he does the creation.

I hope this is useful to other users too.

Keep up the great work with femagtools, they are awesome :)

ronaldtanner commented 2 years ago

Do you have a simple test case for this?

sasrigais commented 2 years ago

Hi! I will setup an example and send it to you by e-mail (company internal models)

ronaldtanner commented 2 years ago

thanks.