Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
210a1af
feat: Update client side 'enhanced' meshing workflow to use server si…
prmukherj Nov 12, 2025
101d833
chore: adding changelog file 4600.added.md [dependabot-skip]
pyansys-ci-bot Nov 12, 2025
72bc722
Add test for renaming, deletion and insertion.
prmukherj Nov 12, 2025
fe3cc4a
Added the update workflow file.
prmukherj Nov 17, 2025
9a33809
Update Meshing workflow.
prmukherj Nov 21, 2025
74a5b01
Merge branch 'main' into feat/update_enhanced_meshing_workflow_to_use…
prmukherj Nov 26, 2025
00f9b29
Merge branch 'feat/update_enhanced_meshing_workflow_to_use_meshing_wo…
prmukherj Nov 26, 2025
dbca074
Update
prmukherj Nov 28, 2025
f4a922e
Updates.
prmukherj Nov 28, 2025
a02a71d
Updated behaviour.
prmukherj Dec 10, 2025
7f930a5
Merge branch 'main' into feat/update_enhanced_meshing_workflow_to_use…
prmukherj Dec 10, 2025
5774525
Monkey patch environment variable.
prmukherj Dec 10, 2025
efcfa19
Update generated task names.
prmukherj Dec 16, 2025
2729cfe
Merge branch 'main' into feat/update_enhanced_meshing_workflow_to_use…
prmukherj Dec 16, 2025
fff3e77
Added docstrings.
prmukherj Dec 16, 2025
dc05be2
Added docstrings.
prmukherj Dec 16, 2025
29780fb
Updates.
prmukherj Dec 16, 2025
4e876b0
Pass down meshing root from the top level.
prmukherj Dec 17, 2025
d96526f
Fixes.
prmukherj Dec 17, 2025
b787792
Remove unnecessary comments.
prmukherj Dec 17, 2025
1672f12
Minor updates.
prmukherj Dec 17, 2025
dcff47f
Minor updates.
prmukherj Dec 17, 2025
3935020
Minor updates.
prmukherj Dec 17, 2025
9919d07
Minor updates.
prmukherj Dec 17, 2025
5ae4d88
Refactor.
prmukherj Dec 17, 2025
51b7d6c
Have inline comments.
prmukherj Dec 17, 2025
bb9ece0
Rename _task_list.
prmukherj Dec 17, 2025
1a63519
Mark workflow tests as nightly.
prmukherj Dec 17, 2025
42eb0eb
Refactor and clean up.
prmukherj Dec 17, 2025
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
Next Next commit
feat: Update client side 'enhanced' meshing workflow to use server si…
…de 'meshing_workflow' root.
  • Loading branch information
prmukherj committed Nov 12, 2025
commit 210a1afb702af989b280f5329fcac5cc7cd915b3
44 changes: 44 additions & 0 deletions tests/test_server_meshing_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import pytest

from ansys.fluent.core import examples
from ansys.fluent.core.services.datamodel_se import PyMenu


@pytest.mark.fluent_version(">=26.1")
Expand Down Expand Up @@ -786,3 +787,46 @@ def test_arguments_and_parameters_in_new_meshing_workflow(new_meshing_session):
watertight.task_object.import_geometry["Import Geometry"].state()
== "Forced-up-to-date"
)


@pytest.mark.codegen_required
@pytest.mark.fluent_version(">=26.1")
def test_get_task_by_id(new_meshing_session):
# This test is only intended for developer level testing
meshing_session = new_meshing_session
meshing_session.meshing_workflow.general.initialize_workflow(
workflow_type="Watertight Geometry"
)
service = meshing_session.meshing_workflow.service
rules = meshing_session.meshing_workflow.rules

path = [("task_object", "TaskObject1"), ("_name_", "")]
assert (
PyMenu(service=service, rules=rules, path=path).get_remote_state()
== "Import Geometry"
)

path = [("task_object", "TaskObject1"), ("CommandName", "")]
assert (
PyMenu(service=service, rules=rules, path=path).get_remote_state()
== "ImportGeometry"
)

path = [("task_object", "TaskObject5"), ("_name_", "")]
assert (
PyMenu(service=service, rules=rules, path=path).get_remote_state()
== "Apply Share Topology"
)

path = [("task_object", "TaskObject1")]
assert PyMenu(service=service, rules=rules, path=path).get_remote_state() == {
"_name_": "Import Geometry",
"arguments": {},
"warnings": None,
"command_name": "ImportGeometry",
"errors": None,
"task_type": "Simple",
"object_path": "",
"state": "Out-of-date",
"check_point": "default-off",
}
Loading