Skip to content

Conversation

@mkundu1
Copy link
Contributor

@mkundu1 mkundu1 commented Sep 11, 2023

If we install pyfluent with pip install ansys-fluent-core now, we don't get the generated API files for unreleased Fluent version 24.1. This PR adds an option in codegen to patch an existing pyfluent installation. E.g., if pyfluent is installed in a virtual environment D:\ANSYSDev\env, we can run codegen from another pyfluent git area (make sure AWP_ROOT241 env var is set)

python codegen\allapigen.py --pyfluent-path=D:\ANSYSDev\env\Lib\site-packages

to add the 24.1 API files in the pyfluent installation in the virtual environment.

@mkundu1
Copy link
Contributor Author

mkundu1 commented Sep 11, 2023

@tejalprabhu01 I have added this option in codegen to patch the optiSLang installation with 24.1 API files. You can checkout this branch in a separate pyfluent git area and run

python codegen\allapigen.py --pyfluent-path=<path to site-packages in optiSLang installation>

Make sure AWP_ROOT241 is set to the Ansys 24.1 installation.

@mkundu1 mkundu1 merged commit 98ed709 into main Sep 11, 2023
@mkundu1 mkundu1 deleted the maint/codegen-patch-package branch September 11, 2023 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in meshing mode - Workflow API

6 participants