-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Description
- User creates a Python journal, fluent.py, in Fluent
- First line in journal reads e.g.
setup_for_fluent(version="23.1.0", mode="meshing") - Subsequent lines use global PyConsole objects,
meshing,workflow,solver, ... - User runs:
python -i -m ansys.fluent.core fluent.py
To get this to work seamlessly in PyFluent, the key task is to implement setup_for_fluent in PyFluent. setup_for_fluent needs to call launch_fluent. With mode="solver", it will call launch_fluent with mode="solver" and place the returned object in the global namespace. With mode="meshing", it will call launch_fluent with mode="meshing". From the returned session object, it will place session.meshing and session.workflow in the global namespace. It also needs to create a solver session object using the same connection information and also place it in the global namespace.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
2021-2024