Skip to content

feat: Add features to ApplicationRuntime. - #5243

Merged
prmukherj merged 2 commits into
mainfrom
feat/add_features_to_application_runtime
Jul 9, 2026
Merged

feat: Add features to ApplicationRuntime.#5243
prmukherj merged 2 commits into
mainfrom
feat/add_features_to_application_runtime

Conversation

@prmukherj

Copy link
Copy Markdown
Collaborator

Context

Some methods to be queried from Fluent and act as better tests over using dry_run to ensure the command actually does what is expected

Change Summary

Add methods to Application Runtime service to query:

Dimension
Precision
Processor Count
UI mode
Graphics driver (oneof linux and windows)
GPU configuration

Impact

Users to be able to query the above from application runtime service available under session.

Sample calls:

print(solver.application_runtime.get_product_version())
print(solver.application_runtime.get_app_mode())
print(solver.application_runtime.get_precision())
print(solver.application_runtime.get_dimension())
print(solver.application_runtime.get_processor_count())
print(solver.application_runtime.get_ui_mode())
print(solver.application_runtime.get_graphics_driver())
print(solver.application_runtime.get_gpu_config())

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@prmukherj prmukherj linked an issue Jul 9, 2026 that may be closed by this pull request
@github-actions github-actions Bot added maintenance General maintenance of the repo (libraries, cicd, etc) dependencies Related to dependencies new feature labels Jul 9, 2026
@prmukherj

Copy link
Copy Markdown
Collaborator Author

This PR also contains some clean up of unnecessary pyfluent level imports from the "_grpc_services" layer.

@prmukherj

Copy link
Copy Markdown
Collaborator Author

The 27R1 tests are expected to pass in the Nightly Dev test run: https://github.com/ansys/pyfluent/actions/runs/28999499137

@prmukherj
prmukherj merged commit 59fc933 into main Jul 9, 2026
61 of 65 checks passed
@prmukherj
prmukherj deleted the feat/add_features_to_application_runtime branch July 9, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Related to dependencies maintenance General maintenance of the repo (libraries, cicd, etc) new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add BaseSession.precision, dimension, processor_count etc.

4 participants