Skip to content

Bug located in analyze_from_zero() #6404

@anur7

Description

@anur7

Before submitting the issue

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

Description of the bug

This method in maxwell.py does not work with balloon boundary condition if the simulation is parallelized using HPC settings. Also unit test is missing, which needs to be included for this method for better code coverage.

Steps To Reproduce

To reproduce the bug, run the following example:
from ansys.aedt.core import Maxwell2d m2d = Maxwell2d(version=2025.1, solution_type="TransientXY",new_desktop=False) conductor = m2d.modeler.create_circle(origin=[0, 0, 0], radius=10, material="Copper") m2d.assign_winding(assignment=conductor.name, is_solid=False, current="5*cos(2*PI*50*time)") region = m2d.modeler.create_region(pad_percent=100) m2d.assign_balloon(assignment=region.edges) setup = m2d.create_setup() setup.props["StopTime"] = "2/50s" setup.props["TimeStep"] = "1/500s" m2d.analyze_from_zero() m2d.release_desktop(close_projects=False, close_desktop=False)

Which Operating System are you using?

Windows

Which Python version are you using?

3.10

Installed packages

aiohappyeyeballs==2.6.1
aiohttp==3.12.6
aiosignal==1.3.2
annotated-types==0.7.0
ansys-api-edb==1.0.10
ansys-edb-core==0.1.10
ansys-pythonnet==3.1.0rc6
ansys-tools-visualization-interface==0.9.1
anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-lru==2.0.5
async-timeout==5.0.1
attrs==25.3.0
babel==2.17.0
beautifulsoup4==4.13.4
bleach==6.2.0
blosc2==3.3.4
certifi==2025.4.26
cffi==1.17.1
cfgv==3.4.0
charset-normalizer==3.4.2
click==8.2.1
clr_loader==0.2.7.post0
colorama==0.4.6
comm==0.2.2
commit==0.1.0
contourpy==1.3.2
coverage==7.9.2
cycler==0.12.1
debugpy==1.8.14
decorator==5.2.1
defusedxml==0.7.1
distlib==0.3.9
et_xmlfile==2.0.0
exceptiongroup==1.3.0
execnet==2.1.1
executing==2.2.0
fast_simplification==0.1.11
fastjsonschema==2.21.1
filelock==3.18.0
fonttools==4.58.1
fpdf2==2.8.3
fqdn==1.5.1
frozenlist==1.6.0
geopandas==1.1.0
gitdb==4.0.12
GitPython==3.1.44
grpcio==1.70.0
h11==0.16.0
httpcore==1.0.9
httpx==0.28.1
identify==2.6.12
idna==3.10
imageio==2.37.0
iniconfig==2.1.0
ipycanvas==0.13.3
ipyevents==2.0.2
ipykernel==6.29.5
ipython==8.37.0
ipython-genutils==0.2.0
ipyvtklink==0.2.3
ipywidgets==7.8.5
isoduration==20.11.0
jedi==0.19.2
Jinja2==3.1.6
json5==0.12.0
jsonpointer==3.0.0
jsonschema==4.24.0
jsonschema-specifications==2025.4.1
jupyter-events==0.12.0
jupyter-lsp==2.2.5
jupyter_client==8.6.3
jupyter_core==5.8.1
jupyter_server==2.16.0
jupyter_server_terminals==0.5.3
jupyterlab==4.4.3
jupyterlab_pygments==0.3.0
jupyterlab_server==2.27.3
jupyterlab_widgets==1.1.11
kiwisolver==1.4.8
markdown-it-py==3.0.0
MarkupSafe==3.0.2
matplotlib==3.10.3
matplotlib-inline==0.1.7
mdurl==0.1.2
meshio==5.3.5
mistune==3.1.3
mock==5.2.0
more-itertools==10.7.0
msgpack==1.1.0
multidict==6.4.4
nbclient==0.10.2
nbconvert==7.16.6
nbformat==5.10.4
ndindex==1.10.0
nest-asyncio==1.6.0
networkx==3.4.2
nodeenv==1.9.1
notebook==7.4.3
notebook_shim==0.2.4
numexpr==2.10.2
numpy==2.2.6
openpyxl==3.1.5
osmnx==2.0.3
overrides==7.7.0
packaging==25.0
pandas==2.2.3
pandocfilters==1.5.1
parso==0.8.4
pillow==11.2.1
platformdirs==4.3.8
pluggy==1.6.0
plumbum==1.9.0
pooch==1.8.2
pre_commit==4.2.0
prometheus_client==0.22.0
prompt_toolkit==3.0.51
propcache==0.3.1
protobuf==4.25.8
psutil==7.0.0
pure_eval==0.2.3
py-cpuinfo==9.0.0
pyaedt @ file:///C:/AnsysDev/NoBackup/pyaedt
pycparser==2.22
pydantic==2.10.6
pydantic_core==2.27.2
pyedb==0.49.0
Pygments==2.19.1
pyogrio==0.11.0
pyparsing==3.2.3
pyproj==3.7.1
pytest==8.4.0
pytest-cov==6.2.1
pytest-timeout==2.4.0
pytest-xdist==3.7.0
python-dateutil==2.9.0.post0
python-json-logger==3.3.0
pytz==2025.2
pyvista==0.44.2
pywin32==310
pywinpty==2.0.15
PyYAML==6.0.2
pyzmq==26.4.0
referencing==0.36.2
requests==2.32.3
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rich==14.0.0
rpds-py==0.25.1
rpyc==6.0.2
rtree==1.4.0
scikit-rf==1.7.0
scipy==1.15.3
scooby==0.10.1
Send2Trash==1.8.3
shapely==2.1.1
six==1.17.0
smmap==5.0.2
sniffio==1.3.1
soupsieve==2.7
stack-data==0.6.3
tables==3.10.1
terminado==0.18.1
tinycss2==1.4.0
toml==0.10.2
tomli==2.2.1
tomli_w==1.2.0
tornado==6.5.1
traitlets==5.14.3
trame==3.10.1
trame-client==3.9.0
trame-common==1.0.0
trame-server==3.4.0
trame-vtk==2.8.15
trame-vuetify==3.0.1
types-python-dateutil==2.9.0.20250516
typing_extensions==4.13.2
tzdata==2025.2
uri-template==1.3.0
urllib3==2.4.0
virtualenv==20.31.2
vtk==9.3.1
wcwidth==0.2.13
webcolors==24.11.1
webencodings==0.5.1
websocket-client==1.8.0
websockets==15.0.1
whatthepatch==1.0.7
widgetsnbextension==3.6.10
wslink==2.3.4
yarl==1.20.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions