[DOC]: Deprecated APIs and Fluent Setting Warnings
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 64/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- documentation
Research direction
Start from the deprecated API reference page and compare it with the listed examples such as lunar_lander_thermal.py, modeling_ablation.py, and modeling_cavitation.py. Run or search those scripts for the deprecated attributes file, results, setup, solution, and the Fluent setting values named in FS01-FS06. Update each script to settings.*, fields.reduction, or config.* as indicated, then add the missing deprecated APIs documentation. Done means the named scripts run without deprecation warnings and the docs page lists every D01-D07 entry.
Written by the indexing model from the issue text.
Description
🔗 Affected page or URL
https://fluent.docs.pyansys.com/version/0.42/examples/00-fluent/lunar_lander_thermal.html
⚠️ What is wrong or missing?
Deprecated APIs
| ID | Message | Affected Scripts |
|---|---|---|
| D01 | 'file' is deprecated. Use 'settings.file' instead. | lunar_lander_thermal.py |
| D02 | 'results' is deprecated. Use 'settings.results' instead. | lunar_lander_thermal.py |
| D03 | 'setup' is deprecated. Use 'settings.setup' instead. | |
| D04 | 'solution' is deprecated. Use 'settings.solution' instead. | lunar_lander_thermal.py |
| D05 | PyFluentDeprecationWarning: Please use the module level 'config' instead. | |
| D06 | PyFluentDeprecationWarning: reduction is deprecated. Use fields.reduction instead. | |
| DO7 | PyFluentDeprecationWarning: 'EXAMPLES_PATH' is deprecated, use 'config.examples_path' instead. |
Fluent Setting warnings
| ID | Message | Affected Scripts |
|---|---|---|
| FS01 | Warning: Value unsteady-1st-order for setting time is deprecated. Please use one of (steady transient) instead. | modeling_ablation.py, battery_pack.py, Modeling_solidification_workflow.py, single_battery_cell_workflow.py, transient_compressible_nozzle_workflow.py, battery_pack.py |
| FS02 | Warning: Value unsteady-2nd-order for setting time is deprecated. Please use one of (steady transient) instead. | modeling_ablation.py, lunar_lander_thermal.py |
| FS03 | Warning: Value constant for setting option is deprecated. Please use one of (value polynomial piecewise-linear piecewise-polynomial power-law sutherland kinetic-theory cross herschel-bulkley carreau non-newtonian-power-law) instead. | MixingTank_DOE.py |
| FS04 | Warning: Value constant for setting option is deprecated. Please use one of (value ideal-gas incompressible-ideal-gas rgp-table real-gas-soave-redlich-kwong real-gas-peng-robinson real-gas-aungier-redlich-kwong real-gas-redlich-kwong real-gas-nist boussinesq polynomial piecewise-linear piecewise-polynomial compressible-liquid) instead. | modeling_cavitation.py |
| FS05 | Warning: Value constant for setting option is deprecated. Please use one of (value defined-per-uds user-defined) instead. | single_battery_cell_workflow.py |
| FS06 | Warning: Value constant for setting option is deprecated. Please use one of (value polynomial piecewise-linear piecewise-polynomial nasa-9-piecewise-polynomial) instead. | radiation_headlamp.py |
✏️ Suggested improvement
Suggestions:
- Document in Fluent Docs new Depracated APIs
- Deprecated APIs:
- lunar_lander_thermal.py:
- file → settings.file
- solution → settings.solution
- results → settings.results
- lunar_lander_thermal.py:
📌 Additional context
No response
- Dominant language
- Python
- Stars
- 550
- Forks
- 86
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 58
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ansys/pyfluent
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
ansys/pyfluent#5515 · 2 reactions ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
[DOC]: DOE_ML: Update the keras model definition to match the supported APIPossibly taken A pull request linked to this issue is open or already merged. Opendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
[DOC]: Lunar Lander Outdated APIPossibly taken A pull request linked to this issue is open or already merged. Opendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
Similar issues
-
`gitlab_importer_v2` pipeline failing due to malformed YAML filePossibly taken @Gowri213 claimed this today. Openbug Pipeline: Failure Priority: high
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
aboutcode-org/vulnerablecode#2523 · 1 comment ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
intuitem/ciso-assistant-community#5380 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
confluentinc/cp-ansible#2767 ·
Maintainers usually reply within 3 days
-
bug docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 2 days