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

Full FEA with Adaptive regions #431

Open
2 tasks done
d1m4ansky opened this issue Nov 14, 2024 · 1 comment
Open
2 tasks done

Full FEA with Adaptive regions #431

d1m4ansky opened this issue Nov 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@d1m4ansky
Copy link

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

I added a trapezoidal region with rounded corners to a motor with two layers of magnets. The geometry is set correctly in the edit - Geometry tab (see the picture 1), and in Geometry - Radial too (see the picture 2) . The mechanical calculation is carried out without errors. Electromagnetic calculation with Hybrid FEA is also normal (see figure 3). However, if you select the AC loss calculation method as FullFEA, then an error occurs in the geometry (see figure 4.)
Image
Image
Image
Image
Trapezoid.txt

📝 Steps to reproduce

Trapezoid.txt

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

2024.1.2

🐍 Which Python version are you using?

3.11

📦 Installed packages

N/A
@d1m4ansky d1m4ansky added the bug Something isn't working label Nov 14, 2024
@jgsdavies
Copy link
Collaborator

Hi @d1m4ansky. I think Motor-CAD might be rotating your adaptive region with the stator.

There is beta functionality to set the type of region manually. Try setting it to a rotor duct with Region._set_region:

from ansys.motorcad.core.geometry import RegionType, Region

my_region = Region()
my_region._region_type = RegionType.rotor_duct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants