You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling list() or list_properties() on root.setup.materials.mixture doesn't return anything, even if mixtures have already been created.
📝 Steps to reproduce
Turn on the species transport model and create a new mixture (e.g. by executing define/models/species/species-transport yes mixture-template in the TUI)
Call root.setup.materials.mixture.list(). An empty string is returned even though there are mixtures present.
Call root.setup.materials.mixture.list_properties(). An empty string is returned. This should probably be throwing an error since the object_name parameter is unspecified.
Call root.setup.materials.mixture.list_properties(object_name='mixture-template'). An empty string is returned even though this mixture exists and has properties.
Notably, calling root.setup.materials.mixture.list_properties() where object_name is set to a mixture name that does not exist throws an error, as expected.
The two mentioned methods have base classes that identify them as commands rather than queries. They are designed to simply write output to the Fluent console. In terms of actually extraccting data through the API, note that the mixture object has Python dictionary semantics.
🔍 Before submitting the issue
🐞 Description of the bug
Calling
list()
orlist_properties()
onroot.setup.materials.mixture
doesn't return anything, even if mixtures have already been created.📝 Steps to reproduce
define/models/species/species-transport yes mixture-template
in the TUI)root.setup.materials.mixture.list()
. An empty string is returned even though there are mixtures present.root.setup.materials.mixture.list_properties()
. An empty string is returned. This should probably be throwing an error since theobject_name
parameter is unspecified.root.setup.materials.mixture.list_properties(object_name='mixture-template')
. An empty string is returned even though this mixture exists and has properties.Notably, calling
root.setup.materials.mixture.list_properties()
whereobject_name
is set to a mixture name that does not exist throws an error, as expected.💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
24R1
🐍 Which Python version are you using?
3.11
📦 Installed packages
The text was updated successfully, but these errors were encountered: