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

Bug in create_region with Maxwell2d / MagnetostaticZ #752

Closed
BLeistr opened this issue Jan 21, 2022 · 2 comments
Closed

Bug in create_region with Maxwell2d / MagnetostaticZ #752

BLeistr opened this issue Jan 21, 2022 · 2 comments
Assignees

Comments

@BLeistr
Copy link

BLeistr commented Jan 21, 2022

When creating a region in Maxwell 2D cylindrical, the offset is realized only in R (X) direction and not in z direction. Here, only a "zero" is passed.
In Maxwell 3D and also 2D XY the error does not seem to occur.

Test code:
from pyaedt import Maxwell2d
m2d = Maxwell2d(solution_type="MagnetostaticZ")
magnet = m2d.modeler.primitives.create_rectangle([0, 0, 0], ["10mm", "5mm"], name="Box", matname="ndfe30")
region = m2d.modeler.primitives.create_region(200)

grafik

@maxcapodi78 maxcapodi78 self-assigned this Jan 24, 2022
@maxcapodi78
Copy link
Collaborator

Fixed in #763

@maxcapodi78
Copy link
Collaborator

Hello @BLeistr it has been added to new version 0.4.24

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

No branches or pull requests

2 participants