Apply solver-specific filters (CPU/GPU)

Open Beginner friendly
#5,515 0 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

Trace the PyFluent launch and connection paths, then find where the corresponding Fluent API activate-filter commands are issued. Add GPU-solver or CPU-solver filter activation in both flows and verify the behavior with the relevant PyFluent tests; done means the appropriate filter is active for either solver.

Written by the indexing model from the issue text.

Description

When the Fluent web server starts, filters are applied automatically:

  • GPU solver: (api-activate-filter 'gpu-solver)
  • CPU solver (api-activate-filter 'cpu-solver)

These filters are not applied for PyFluent, currently. We will now apply them while launching or connecting. The connection use case might seem moot, due to the ownership question, but having the filters on is a positive, and we should do it in both scenarios.

Note: (api-deactivate-filter <filter-name>) deactivates.

Dominant language
Python
Stars
550
Forks
86
Avg merge
2d 1h
Merged PRs (30d)
58

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ansys/pyfluent

All issues in ansys/pyfluent

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.