ansys / ansys/pymechanical

Bug located in ...Modal Analysis

Open
#1,418 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
83
Forks
37
Avg merge
23h 48m
Merged PRs (30d)
25

Description

### 🔍 Before submitting the issue

- [x] I have searched among the existing issues
- [x] I am using a Python virtual environment

### 🐞 Description of the bug

I am unable to modify the modal analysis output control settings.

The first four lines execute correctly, but the output control is not functioning. There is no error message, yet the output control does not update.

### 📝 Steps to reproduce

analysis_1 = Model.Analyses[1]
analysis_setting_1 = analysis_1.AnalysisSettings
analysis_setting_1.MaximumModesToFind = 20
analysis_setting_1.SolverType = SolverType.Direct
analysis_setting_1.ContactData = True
analysis_setting_1.NodalForces = OutputControlsNodalForcesType.Yes
analysis_setting_1.GeneralMiscellaneous = True

### 💻 Which operating system are you using?

Linux

### 📀 Which ANSYS version are you using?

2025R2

### 🐍 Which Python version are you using?

3.11

### 📦 Installed packages

```shell
Installed with ANSYS Python manager. All latest pyANSYS module.
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the provided modal-analysis snippet with ANSYS 2025R2 and inspect how AnalysisSettings handles NodalForces and GeneralMiscellaneous. Trace the AnalysisSettings entry point and compare these controls with the settings that update successfully; done means the output-control assignments visibly update without errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.