Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements on creation of geometry and meshing by GMSH #600

Merged
merged 3 commits into from
Mar 2, 2023

Conversation

ajpina
Copy link
Contributor

@ajpina ajpina commented Feb 15, 2023

This pull request will improve the geometry and mesh generation through gmsh. The code has been rewritten to use OCC kernel instead, and this allows to perform boolean operations for the better creation of surfaces in the air gap. The sliding band is being drawn in such a way that is compatible with the magnetics solvers in Elmer fem.
Additionally, this pull request will allow to create and mesh almost all the example geometries available in the database:
pyleecan/Data/Machine .
There will be future improvements to support outer rotor topologies. Currently, the outer rotor geometries can be drawn without sliding band.
I am also trying to identify and fix some of the boundary condition settings that seems to be inconsistent with how those are currently treated in pyleecan.
GUI has a button to create gmsh file and default to sym=1, it would be good that defaults to is_sliding_band=False and is_airbox=False too.

@ajpina ajpina mentioned this pull request Feb 15, 2023
@BonneelP
Copy link
Collaborator

Thank you for your contribution, this looks very interesting :) Starting from next week I should have more time for pyleecan (we are about to release the next version of our commercial software). I will try to review your PR (and the other pending one) by then. @SebGue Do you think you can take a look as well ?

Best regards,
Pierre

@BonneelP BonneelP merged commit 3e7bd93 into Eomys:master Mar 2, 2023
@BonneelP
Copy link
Collaborator

BonneelP commented Mar 2, 2023

Hello,

I'm currently reviewing this PR and I find few things to correct but otherwise its a great step forward thank you :)
I miss clicked and merge the PR a bit too fast. I will open another PR with my modifications to carry on the discussions if needed.

Best regards,
Pierre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants