Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
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
6 changes: 3 additions & 3 deletions .github/workflows/fluent-mechanical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
PYMECHANICAL_PORT: 10000
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER )}}
PYANSYS_WORKFLOWS_CI: true
ANSYS_RELEASE_FOR_DOCS: 24.2
ANSYS_RELEASE_FOR_DOCS: 25.1
RUN_DOC_BUILD: false
PYMECHANICAL_START_INSTANCE: false

Expand All @@ -41,7 +41,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ansys-release: [24.1, 24.2]
ansys-release: [24.1, 24.2, 25.1]
steps:

- name: Checkout code
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ansys-release: [24.1, 24.2]
ansys-release: [24.1, 24.2, 25.1]
steps:

- name: Checkout code
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/geometry-mechanical-dpf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
ANSRV_GEO_LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }}
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER )}}
PYANSYS_WORKFLOWS_CI: true
ANSYS_RELEASE_FOR_DOCS: 24.2
ANSYS_RELEASE_FOR_DOCS: 25.1
RUN_DOC_BUILD: false

jobs:
Expand All @@ -40,7 +40,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ansys-release: [24.1, 24.2]
ansys-release: [24.1, 24.2, 25.1]
steps:

- name: Checkout code
Expand Down Expand Up @@ -74,11 +74,19 @@ jobs:

- name: Download (if needed) and run Geometry service container
run: |
docker pull ${{ env.GEOMETRY_DOCKER_IMAGE }}:windows-${{ matrix.ansys-release }}
# If we are on 25.1 or above - the tag name is different - remember we are on powershell
if (${{ matrix.ansys-release }} -ge 25.2) {
$env:ANSYS_GEOMETERY_RELEASE = "${{ env.GEOMETRY_DOCKER_IMAGE }}:core-windows-${{ matrix.ansys-release }}"
} else {
$env:ANSYS_GEOMETERY_RELEASE = "${{ env.GEOMETRY_DOCKER_IMAGE }}:windows-${{ matrix.ansys-release }}"
}
Write-Host "Running Geometry service container: $env:ANSYS_GEOMETERY_RELEASE"
# Pull the container image
docker pull $env:ANSYS_GEOMETERY_RELEASE
# Define the ANSYS_GEOMETERY_RELEASE environment variable to be used in the next stages
echo "ANSYS_GEOMETERY_RELEASE=$env:ANSYS_GEOMETERY_RELEASE" | Out-File -FilePath $env:GITHUB_ENV -Append

- name: Run the PyAnsys Geometry script
env:
ANSYS_GEOMETERY_RELEASE: ${{ env.GEOMETRY_DOCKER_IMAGE }}:windows-${{ matrix.ansys-release }}
run: |
.venv/Scripts/activate
python geometry-mechanical-dpf/wf_gmd_01_geometry.py
Expand All @@ -104,7 +112,6 @@ jobs:
- name: (DOCS) Build the documentation (only on ${{ env.ANSYS_RELEASE_FOR_DOCS }})
if: ${{ env.RUN_DOC_BUILD == 'true' }}
env:
ANSYS_GEOMETRY_RELEASE: ${{ env.GEOMETRY_DOCKER_IMAGE }}:windows-${{ matrix.ansys-release }}
BUILD_DOCS_SCRIPT: 'geometry-mechanical-dpf/wf_gmd_01_geometry.py'
run: |
.venv/Scripts/activate
Expand Down Expand Up @@ -137,7 +144,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ansys-release: [24.1, 24.2]
ansys-release: [24.1, 24.2, 25.1]
container:
image: 'ghcr.io/ansys/mechanical:${{ matrix.ansys-release }}.0'
options: --entrypoint /bin/bash
Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/geometry-mesh-fluent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
ANSRV_GEO_LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }}
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER )}}
PYANSYS_WORKFLOWS_CI: true
ANSYS_RELEASE_FOR_DOCS: 24.2
ANSYS_RELEASE_FOR_DOCS: 25.1
RUN_DOC_BUILD: false

jobs:
Expand All @@ -40,7 +40,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ansys-release: [24.1, 24.2]
ansys-release: [24.1, 24.2, 25.1]
steps:

- name: Checkout code
Expand Down Expand Up @@ -74,11 +74,19 @@ jobs:

- name: Download (if needed) and run Geometry service container
run: |
docker pull ${{ env.GEOMETRY_DOCKER_IMAGE }}:windows-${{ matrix.ansys-release }}
# If we are on 25.1 or above - the tag name is different - remember we are on powershell
if (${{ matrix.ansys-release }} -ge 25.2) {
$env:ANSYS_GEOMETERY_RELEASE = "${{ env.GEOMETRY_DOCKER_IMAGE }}:core-windows-${{ matrix.ansys-release }}"
} else {
$env:ANSYS_GEOMETERY_RELEASE = "${{ env.GEOMETRY_DOCKER_IMAGE }}:windows-${{ matrix.ansys-release }}"
}
Write-Host "Running Geometry service container: $env:ANSYS_GEOMETERY_RELEASE"
# Pull the container image
docker pull $env:ANSYS_GEOMETERY_RELEASE
# Define the ANSYS_GEOMETERY_RELEASE environment variable to be used in the next stages
echo "ANSYS_GEOMETERY_RELEASE=$env:ANSYS_GEOMETERY_RELEASE" | Out-File -FilePath $env:GITHUB_ENV -Append

- name: Run the PyAnsys Geometry script
env:
ANSYS_GEOMETRY_RELEASE: ${{ env.GEOMETRY_DOCKER_IMAGE }}:windows-${{ matrix.ansys-release }}
run: |
.venv/Scripts/activate
python geometry-mesh-fluent/wf_gmf_01_geometry.py
Expand All @@ -104,7 +112,6 @@ jobs:
- name: (DOCS) Build the documentation (only on ${{ env.ANSYS_RELEASE_FOR_DOCS}})
if: ${{ env.RUN_DOC_BUILD == 'true' }}
env:
ANSYS_GEOMETRY_RELEASE: ${{ env.GEOMETRY_DOCKER_IMAGE }}:windows-${{ matrix.ansys-release }}
BUILD_DOCS_SCRIPT: 'geometry-mesh-fluent/wf_gmf_01_geometry.py'
run: |
.venv/Scripts/activate
Expand Down Expand Up @@ -137,7 +144,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ansys-release: [24.1, 24.2]
ansys-release: [24.1, 24.2, 25.1]
steps:

- name: Checkout code
Expand Down Expand Up @@ -240,7 +247,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ansys-release: [24.1, 24.2]
ansys-release: [24.1, 24.2, 25.1]
steps:

- name: Checkout code
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/geometry-mesh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
ANSRV_GEO_LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }}
PYPRIMEMESH_LAUNCH_CONTAINER: 1
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER )}}
ANSYS_RELEASE_FOR_DOCS: 24.2
ANSYS_RELEASE_FOR_DOCS: 25.1
RUN_DOC_BUILD: false

jobs:
Expand All @@ -40,7 +40,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ansys-release: [24.1, 24.2]
ansys-release: [24.1, 24.2, 25.1]
steps:

- name: Checkout code
Expand Down Expand Up @@ -74,11 +74,19 @@ jobs:

- name: Download (if needed) and run Geometry service container
run: |
docker pull ${{ env.GEOMETRY_DOCKER_IMAGE }}:windows-${{ matrix.ansys-release }}
# If we are on 25.1 or above - the tag name is different - remember we are on powershell
if (${{ matrix.ansys-release }} -ge 25.2) {
$env:ANSYS_GEOMETERY_RELEASE = "${{ env.GEOMETRY_DOCKER_IMAGE }}:core-windows-${{ matrix.ansys-release }}"
} else {
$env:ANSYS_GEOMETERY_RELEASE = "${{ env.GEOMETRY_DOCKER_IMAGE }}:windows-${{ matrix.ansys-release }}"
}
Write-Host "Running Geometry service container: $env:ANSYS_GEOMETERY_RELEASE"
# Pull the container image
docker pull $env:ANSYS_GEOMETERY_RELEASE
# Define the ANSYS_GEOMETERY_RELEASE environment variable to be used in the next stages
echo "ANSYS_GEOMETERY_RELEASE=$env:ANSYS_GEOMETERY_RELEASE" | Out-File -FilePath $env:GITHUB_ENV -Append

- name: Run the PyAnsys Geometry script
env:
ANSYS_GEOMETERY_RELEASE: ${{ env.GEOMETRY_DOCKER_IMAGE }}:windows-${{ matrix.ansys-release }}
run: |
.venv/Scripts/activate
python geometry-mesh/wf_gm_01_geometry.py
Expand All @@ -104,7 +112,6 @@ jobs:
- name: (DOCS) Build the documentation (only on ${{ env.ANSYS_RELEASE_FOR_DOCS}})
if: ${{ env.RUN_DOC_BUILD == 'true' }}
env:
ANSYS_GEOMETRY_RELEASE: ${{ env.GEOMETRY_DOCKER_IMAGE }}:windows-${{ matrix.ansys-release }}
BUILD_DOCS_SCRIPT: 'geometry-mesh/wf_gm_01_geometry.py'
run: |
.venv/Scripts/activate
Expand Down Expand Up @@ -137,7 +144,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ansys-release: [24.1, 24.2]
ansys-release: [24.1, 24.2, 25.1]
steps:

- name: Checkout code
Expand Down
3 changes: 3 additions & 0 deletions fluent-mechanical/requirements_25.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ansys-mechanical-core==0.11.13
ansys-fluent-core==0.29.0
matplotlib==3.10.1
3 changes: 3 additions & 0 deletions geometry-mechanical-dpf/requirements_25.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ansys-geometry-core[all]==0.9.1
ansys-mechanical-core==0.11.13
ansys-dpf-core[plotting]==0.13.4
2 changes: 2 additions & 0 deletions geometry-mesh-fluent/requirements_25.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ansys-geometry-core[all]==0.9.1
ansys-fluent-core==0.29.0
2 changes: 2 additions & 0 deletions geometry-mesh/requirements_25.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ansys-geometry-core[all]==0.9.1
ansys-meshing-prime==0.7.0
Loading