Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,24 @@ updates:
labels:
- "Maintenance"
- "Dependencies"
ignore:
# Exclude main project dependencies and optional dependencies (like reader)
- dependency-name: "ansys-api-fluent"
- dependency-name: "ansys-platform-instancemanagement"
- dependency-name: "ansys-tools-filetransfer"
- dependency-name: "ansys-units"
- dependency-name: "defusedxml"
- dependency-name: "deprecated"
- dependency-name: "docker"
- dependency-name: "grpcio"
- dependency-name: "grpcio-health-checking"
- dependency-name: "grpcio-status"
- dependency-name: "nltk"
- dependency-name: "numpy"
- dependency-name: "pandas"
- dependency-name: "pyansys-tools-report"
- dependency-name: "pyyaml"
- dependency-name: "h5py"
groups:
dependencies:
patterns:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ jobs:
env:
DOC_DEPLOYMENT_IMAGE_TAG: v25.2.3
PYFLUENT_CONTAINER_MOUNT_SOURCE: "/home/ansys/Downloads/ansys_fluent_core_examples"
PYTHONDONTWRITEBYTECODE: 1

steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Expand Down Expand Up @@ -273,6 +274,8 @@ jobs:
name: Build
if: ${{ !contains(github.event.pull_request.title, '[skip tests]') }}
runs-on: [self-hosted, pyfluent]
env:
PYTHONDONTWRITEBYTECODE: 1

steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/execute-examples-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
- name: Execute Modeling_solidification_workflow.py
run: |
python examples/00-fluent/Modeling_solidification_workflow.py

- name: Execute catalytic_converter_workflow.py
run: |
python examples/00-fluent/catalytic_converter_workflow.py
Expand All @@ -194,6 +194,10 @@ jobs:
run: |
python examples/00-fluent/battery_pack.py

- name: Execute lid_driven_cavity.py
run: |
python examples/00-fluent/lid_driven_cavity.py

# https://github.com/ansys/pyfluent/issues/4157
# - name: Execute conjugate_heat_transfer.py
# run: |
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ permissions:
issues: read

jobs:
label-syncer:
# Sync the labels name, colours with the file ``labels.yml``
name: Syncer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# label-syncer:
# # Sync the labels name, colours with the file ``labels.yml``
# name: Syncer
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
# with:
# persist-credentials: false
# - uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

labeler:
name: Set labels
needs: [label-syncer]
# needs: [label-syncer]
permissions:
contents: read
pull-requests: write
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test-run-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
fail-fast: false
matrix:
include:
- image-tag: v24.2.0
version: 242
- image-tag: v25.1.0
# - image-tag: v24.2.5
# version: 242
- image-tag: v25.1.4
version: 251
- image-tag: v25.2.0
version: 252
- image-tag: v26.1.0
version: 261
# - image-tag: v25.2.3
# version: 252
# - image-tag: v26.1.latest
# version: 261
env:
FLUENT_IMAGE_TAG: ${{ matrix.version == 261 && vars.FLUENT_STABLE_IMAGE_DEV || matrix.image-tag }}

Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
echo "Running custom unittest"
sudo rm -rf /home/ansys/Downloads/ansys_fluent_core_examples/*
make install-test
python -m pytest -v --no-cov --capture=no -k test_parametric_workflow --nightly
python -m pytest -v --no-cov --capture=no -k test_remote_grpc_fts_container

- name: Clean Docker Data
run: make docker-clean-all-except-supported-images
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
* [Roberto Pastor Muela](https://github.com/RobPasMue)
* [Stephen Fuqua](https://github.com/smf2001)
* [sujal-tipnis](https://github.com/sujal-tipnis)
* [Sébastien Morais](https://github.com/SMoraisAnsys)
* [Tejal Prabhu](https://github.com/tejalprabhu01)
* [Varun Dandekar](https://github.com/V-Dandekar)
* [Yogesh Patel](https://github.com/ypatel-qa)
29 changes: 15 additions & 14 deletions doc/api_rstgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,8 @@ def _write_rst_file(output_path: str, version: str):
Meshing mode
------------

The following interfaces are specific to meshing mode.

* :ref:`meshing <ref_meshing_datamodel_meshing>`
* :ref:`PartManagement <ref_meshing_datamodel_part_management>`
* :ref:`PMFileManagement <ref_meshing_datamodel_pm_file_management>`
* :ref:`workflow <ref_meshing_datamodel_workflow>`
* :ref:`meshing utilities <ref_meshing_datamodel_meshing_utilities>`
The :ref:`meshing workflow <ref_meshing_workflow_new>` and :ref:`meshing utilities <ref_meshing_datamodel_meshing_utilities>` provide the primary interface for
creating, editing, managing, and querying mesh data.

Solution mode
-------------
Expand Down Expand Up @@ -77,7 +72,7 @@ def _write_rst_file(output_path: str, version: str):
session_utilities
system_coupling
pyfluent_warnings
workflow
workflow_new
deprecated_apis
"""

Expand Down Expand Up @@ -137,7 +132,11 @@ def _get_file_path(folder_name: str, file_name: str):
"standalone_launcher",
"watchdog",
],
"meshing": ["meshing_workflow", "datamodel/datamodel_contents", "tui/tui_contents"],
"meshing": [
"meshing_workflow_new",
"datamodel/datamodel_contents",
"tui/tui_contents",
],
"scheduler": ["load_machines", "machine_list"],
"services": [
"api_upgrade",
Expand Down Expand Up @@ -207,7 +206,7 @@ def _get_file_path(folder_name: str, file_name: str):
"session",
"system_coupling",
"pyfluent_warnings",
"workflow",
"workflow_new",
],
}

Expand Down Expand Up @@ -243,14 +242,16 @@ def _generate_api_source_rst_files(folder: str, files: list):
"other settings objects in a hierarchical structure.\n"
)
else:
rst.write(f"{file}\n")
rst.write(f'{"="*(len(f"{file}"))}\n\n')
temp_file_name = file.removesuffix("_new")
rst.write(f"{temp_file_name}\n")
rst.write(f'{"="*(len(temp_file_name))}\n\n')
rst.write(
f".. automodule:: ansys.fluent.core.{folder}.{file}\n"
)
else:
rst.write(f"{file}\n")
rst.write(f'{"="*(len(f"{file}"))}\n\n')
temp_file_name = file.removesuffix("_new")
rst.write(f"{temp_file_name}\n")
rst.write(f'{"="*(len(temp_file_name))}\n\n')
rst.write(f".. automodule:: ansys.fluent.core.{file}\n")
if "root" not in file:
_write_common_rst_members(rst_file=rst)
Expand Down
1 change: 0 additions & 1 deletion doc/changelog.d/4579.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4600.added.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4686.documentation.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4709.maintenance.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4713.added.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4718.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4719.maintenance.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4720.maintenance.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4721.documentation.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4729.fixed.md

This file was deleted.

1 change: 1 addition & 0 deletions doc/changelog.d/4732.documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update \`\`CONTRIBUTORS.md\`\` with the latest contributors
1 change: 0 additions & 1 deletion doc/changelog.d/4749.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4752.fixed.md

This file was deleted.

1 change: 1 addition & 0 deletions doc/changelog.d/4762.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Updated the dependabot.yml file
1 change: 0 additions & 1 deletion doc/changelog.d/4763.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4767.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4774.dependencies.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4777.documentation.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4778.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4779.added.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4780.documentation.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4781.documentation.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4782.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4783.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4785.maintenance.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4789.fixed.md

This file was deleted.

1 change: 1 addition & 0 deletions doc/changelog.d/4790.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Dimensional check for pim not supporting ints
1 change: 0 additions & 1 deletion doc/changelog.d/4791.documentation.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4796.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4798.added.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4802.maintenance.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4806.added.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4808.maintenance.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4809.maintenance.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4810.maintenance.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4811.documentation.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4815.dependencies.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4816.maintenance.md

This file was deleted.

1 change: 1 addition & 0 deletions doc/changelog.d/4821.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update CHANGELOG for v0.38.dev3
1 change: 0 additions & 1 deletion doc/changelog.d/4822.maintenance.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4824.dependencies.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4825.dependencies.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4826.maintenance.md

This file was deleted.

1 change: 0 additions & 1 deletion doc/changelog.d/4832.maintenance.md

This file was deleted.

1 change: 1 addition & 0 deletions doc/changelog.d/4835.documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update Meshing workflow's api docs.
1 change: 0 additions & 1 deletion doc/changelog.d/4838.fixed.md

This file was deleted.

1 change: 1 addition & 0 deletions doc/changelog.d/4847.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update CHANGELOG for v0.38.dev4
1 change: 1 addition & 0 deletions doc/changelog.d/4848.documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Example on lid driven cavity [skip tests]
1 change: 1 addition & 0 deletions doc/changelog.d/4853.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change ansys-units range
1 change: 1 addition & 0 deletions doc/changelog.d/4858.dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump version to v0.38.dev5
1 change: 1 addition & 0 deletions doc/changelog.d/4867.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove insecure options
1 change: 1 addition & 0 deletions doc/changelog.d/4874.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update existing instance of \"pyfluent.EXAMPLES_PATH\" and \"source_terms\"
1 change: 1 addition & 0 deletions doc/changelog.d/4880.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Potential fix for CI caching by disabling generation of .pyc files [skip tests]
1 change: 1 addition & 0 deletions doc/changelog.d/4886.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Disable label-syncer [skip tests]
1 change: 1 addition & 0 deletions doc/changelog.d/4888.test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Standardize test skip reasons across test suite
Loading
Loading