Bug when creating magnet region Br should not be zero
tfetsis opened this issue ยท 0 comments
tfetsis commented
๐ Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
๐ Description of the bug
When creating the region of the magnet with RegionMagnet() we are expecting to have the parameter br_value=1 so that if one wants to change it to further do it with br_multiplier. Even if we don't set a magnet material. In the below example a magnet material is also used. Currently, if the br_value=0 we cannot set successfully a multiplier. Else, we could further have a set function as set_br_value to manually set the value.
๐ Steps to reproduce
Please open the default BPM design and in the adaptive templates tab, add the attached txt.
๐ป Which operating system are you using?
Windows
๐ Which ANSYS version are you using?
2024.2.3
๐ Which Python version are you using?
3.11
๐ฆ Installed packages
-