Skip to content

OptisLang script playback fails for multiple "auto_create" commands #1059

@egravenh

Description

@egravenh

🔍 Before submitting the issue

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

🐞 Description of the bug

Fluent Launches, reads the case, and initializes the project, but I get the following errors in the Fluent Console when it seems like it tries to enter two auto_create commands at once (lines 9 and 10 - and all similar code blocks):

Connecting to optiSLang for creating DOEs...
Traceback (most recent call last):
File "E:\Program Files\ANSYS Inc\v231\optiSLang\tools\pyoptiSLang\optislang_python\server.py", line 1179, in _ensure_server
self._execute()
File "E:\Program Files\ANSYS Inc\v231\optiSLang\tools\pyoptiSLang\optislang_python\server.py", line 1263, in _execute
shell=False), False)
File "E:\Program Files\ANSYS Inc\v231\commonfiles\CPython\3_7\winx64\Release\python\lib\subprocess.py", line 800, in init
restore_signals, start_new_session)
File "E:\Program Files\ANSYS Inc\v231\commonfiles\CPython\3_7\winx64\Release\python\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
OSError: [WinError 50] The request is not supported

📝 Steps to reproduce

Steps:
Place attached files in working directory
Create empty "out" directory
from cmd line: python PARAM_optisl_doe_1ip_short_s1.py
PARAM_optisl_doe_1ip_short_s1.zip

💻 Which operating system are you using?

Windows

🐍 Which Python version are you using?

3.10

📦 Installed packages

Requirements
- Fluent Installation
- OptisLang Installation
- python 3.7 or higher
- pyfluent
- pyfluent parametric

Metadata

Metadata

Assignees

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