Skip to content

materials.mixture.command names have '_1' suffix #4696

@millerj97

Description

@millerj97

🔍 Before submitting the issue

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

🐞 Description of the bug

calling solver.settings.setup.materials.mixture.command_names, the returned command names have _1 suffix for list and list_properties;

>>> materials = solver.settings.setup.materials
>>> sorted(materials.mixture.command_names)
['create', 'delete', 'list_1', 'list_properties_1', 'make_a_copy', 'rename']
>>> 

the expected output is detailed in the solvermode/test_species_model test assert

assert sorted(materials.mixture.command_names) == sorted(

📝 Steps to reproduce

import ansys.fluent.core as pyfluent
solver = pyfluent.launch_fluent()

from ansys.fluent.core.examples import download_file
case_name = download_file("mixing_elbow.cas.h5", "pyfluent/mixing_elbow")

solver.settings.file.read(
file_type="case",
file_name=case_name,
lightweight_setup=True,
)

materials = solver.settings.setup.materials
sorted(materials.mixture.command_names)

### 💻 Which operating system are you using?

Windows

### 📀 Which ANSYS version are you using?

_No response_

### 🐍 Which Python version are you using?

3.10

### 📦 Installed packages

```shell
ansys-api-fluent==0.3.36
ansys-api-platform-instancemanagement==1.1.3
ansys-api-tools-filetransfer==0.1.2
ansys-fluent-core==0.37.0
ansys-platform-instancemanagement==1.1.2
ansys-tools-common==0.3.1
ansys-tools-filetransfer==0.2.0
ansys-tools-local-product-launcher==0.2.0
ansys-units==0.9.1
appdirs==1.4.4
certifi==2025.11.12
charset-normalizer==3.4.4
click==8.3.1
defusedxml==0.7.1
Deprecated==1.3.1
docker==7.1.0
googleapis-common-protos==1.72.0
grpcio==1.76.0
grpcio-health-checking==1.62.3
grpcio-status==1.62.3
idna==3.11
importlib_metadata==8.7.0
joblib==1.5.2
nltk==3.9.2
numpy==2.2.6
pandas==2.3.3
platformdirs==4.5.0
protobuf==4.25.8
pyansys-tools-report==0.9.0
python-dateutil==2.9.0.post0
pytz==2025.2
PyYAML==6.0.3
regex==2025.11.3
requests==2.32.5
scooby==0.11.0
six==1.17.0
tqdm==4.67.1
typing_extensions==4.15.0
tzdata==2025.2
urllib3==2.5.0
wrapt==2.0.1
zipp==3.23.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue, problem or error in PyFluent

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions