ansys / ansys/pyfluent

PyFluent safe mode

Open
#4,684 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
497
Forks
77
Avg merge
22h 37m
Merged PRs (30d)
45

Description

This is related to #4615, but has broader applicability.

Provide users with an option to use PyFluent in safe mode. This option would be provided at the launch step, but it should also be possible to activate and deactive for a live session. Its effect would be that the client code checks prerequisites exhaustively with the aim of isolating exceptions on the client-side as much as possible, thereby minimising harmful Fluent runtime errors. Examples of checks:
- Do parameter values violate imposed limits (min, max, allowed_values)?
- Is the object active?
- Is the object read-only?

Contributor guide

Open the contributing guide

Research direction

Start by tracing the launch step and live-session APIs described in the issue, then identify where client-side parameter, object-active, and read-only checks can be coordinated. Done means users can enable safe mode at launch and activate or deactivate it during a live session, with the listed prerequisite checks limiting harmful Fluent runtime errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.