diff --git a/.github/workflows/doc-build-dev-nightly.yml b/.github/workflows/doc-build-dev-nightly.yml index c1789e413a1..d925b3ff1d7 100644 --- a/.github/workflows/doc-build-dev-nightly.yml +++ b/.github/workflows/doc-build-dev-nightly.yml @@ -7,7 +7,7 @@ on: env: DOCUMENTATION_CNAME: 'fluent.docs.pyansys.com' - DOC_DEPLOYMENT_IMAGE_TAG: v24.2.0 + DOC_DEPLOYMENT_IMAGE_TAG: v25.1.0 ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }} PYFLUENT_TIMEOUT_FORCE_EXIT: 30 PYFLUENT_LAUNCH_CONTAINER: 1 diff --git a/examples/00-fluent/exhaust_system_settings_api.py b/examples/00-fluent/exhaust_system_settings_api.py index ed015072ea9..8d3c3875660 100644 --- a/examples/00-fluent/exhaust_system_settings_api.py +++ b/examples/00-fluent/exhaust_system_settings_api.py @@ -45,6 +45,7 @@ # the geometry file. # sphinx_gallery_thumbnail_path = '_static/exhaust_system_settings.png' + import ansys.fluent.core as pyfluent from ansys.fluent.core import examples @@ -730,10 +731,15 @@ solver.results.scene["scene-1"] = {} scene1 = solver.results.scene["scene-1"] + +scene1.graphics_objects.add(name="contour-velocity") +scene1.graphics_objects["contour-velocity"] = {} + +scene1.graphics_objects.add(name="mesh-1") scene1.graphics_objects["mesh-1"] = { "transparency": 90, } -scene1.graphics_objects["contour-velocity"] = {} + scene1.display() graphics.views.camera.position(xyz=[1.70, 1.14, 0.29]) diff --git a/examples/00-fluent/modeling_cavitation.py b/examples/00-fluent/modeling_cavitation.py index 07c9fce5642..d1f1e6bc10c 100644 --- a/examples/00-fluent/modeling_cavitation.py +++ b/examples/00-fluent/modeling_cavitation.py @@ -253,7 +253,9 @@ initialization = solver.solution.initialization initialization.initialization_type = "hybrid" -initialization.hybrid_init_options.general_settings.initial_pressure = True +initialization.hybrid_init_options.general_settings.initialization_options.initial_pressure = ( + True +) initialization.hybrid_initialize() ###############################################################################