Skip to content

Incident wave and physics region (acoustic PML) - Pymech issue #1517

@ekostson

Description

@ekostson

🔍 Before submitting the issue

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

🐞 Description of the bug

Hello

We have this issue with the attached pymech script.

It all works ok inside standalone mechanical scripting console (right image below), but when we run it from vs code we see in the saved mechdat (Incident wave and physics region) this weird error (see left image below).

Image

Image

Thank you

Erik

📝 Steps to reproduce

Run the attached file

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

25 R2

mymech.py

🐍 Which Python version are you using?

3.12.10

📦 Installed packages

s

![Image](https://github.com/user-attachments/assets/a8e03691-3f98-4399-9ced-2adb2b26ca59)

Metadata

Metadata

Assignees

No one assigned

    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