Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Generate 25.1 docs #3234

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion .github/workflows/doc-build-dev-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion examples/00-fluent/exhaust_system_settings_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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])
Expand Down
4 changes: 3 additions & 1 deletion examples/00-fluent/modeling_cavitation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

###############################################################################
Expand Down
Loading