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

REFACTOR: LF running without errors 2024R2 to 2025R1 #321

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion examples/low_frequency/general/eddy_current.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# Define constants.

AEDT_VERSION = "2024.2"
AEDT_VERSION = "2025.1"
NUM_CORES = 4
NG_MODE = False # Open AEDT UI when it is launched.

Expand Down
2 changes: 1 addition & 1 deletion examples/low_frequency/general/electrostatic.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# Define constants.

AEDT_VERSION = "2024.2"
AEDT_VERSION = "2025.1"
NUM_CORES = 4
NG_MODE = False

Expand Down
2 changes: 1 addition & 1 deletion examples/low_frequency/general/external_circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# Define constants.

AEDT_VERSION = "2024.2"
AEDT_VERSION = "2025.1"
NUM_CORES = 4
NG_MODE = False # Open AEDT UI when it is launched.

Expand Down
2 changes: 1 addition & 1 deletion examples/low_frequency/general/resistance.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# Define constants.

AEDT_VERSION = "2024.2"
AEDT_VERSION = "2025.1"
NG_MODE = False
NUM_CORES = 4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

# Define constants.

AEDT_VERSION = "2024.2"
AEDT_VERSION = "2025.1"
NUM_CORES = 4
NG_MODE = False # Open AEDT UI when it is launched.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

# Define constants

AEDT_VERSION = "2024.2"
AEDT_VERSION = "2025.1"
NUM_CORES = 4
NG_MODE = False # Open AEDT UI when it is launched.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# Define constants.

AEDT_VERSION = "2024.2"
AEDT_VERSION = "2025.1"
NUM_CORES = 4
NG_MODE = False # Open AEDT UI when it is launched.

Expand Down
2 changes: 1 addition & 1 deletion examples/low_frequency/general/twin_builder/rectifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

# Define constants.

AEDT_VERSION = "2024.2"
AEDT_VERSION = "2025.1"
NUM_CORES = 4
NG_MODE = False # Open AEDT UI when it is launched.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

# Define constants.

AEDT_VERSION = "2024.2"
AEDT_VERSION = "2025.1"
NUM_CORES = 4
NG_MODE = False # Open AEDT UI when it is launched.

Expand Down
11 changes: 7 additions & 4 deletions examples/low_frequency/multiphysics/maxwell_icepak.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@
import os
import tempfile
import time

import ansys.aedt.core # Interface to Ansys Electronics Desktop
from ansys.aedt.core.generic.constants import AXIS

# ### Define constants
#
# Constants help ensure consistency and avoid repetition throughout the example.

AEDT_VERSION = "2024.2"
AEDT_VERSION = "2025.1"
NG_MODE = False # Open AEDT UI when it is launched.

# ### Create temporary directory
Expand Down Expand Up @@ -184,7 +185,10 @@

# ### Create the simulation setup
#
# The simulation frequency is 150 kHz. You can query and modify the properties of the simulation setup using ``setup.props``. The "PercentError" establishes the minimum allowed change in energy due to the change in mesh size and ensure a small global solution error.
# The simulation frequency is 150 kHz.
# You can query and modify the properties of the simulation setup using ``setup.props``.
# The "PercentError" establishes the minimum allowed change in energy due to the change in mesh size
# and ensure a small global solution error.

setup = m3d.create_setup(name="Setup1")
setup.props["Frequency"] = "150kHz"
Expand Down Expand Up @@ -220,8 +224,7 @@
em_loss = solution_loss.data_magnitude()[0]
# -

# ### Analyitic calculation of DC resistance

# ### Analytic calculation of DC resistance
# +
cu_cond = float(cu_litz.conductivity.value)

Expand Down
2 changes: 1 addition & 1 deletion examples/low_frequency/team_problem/bath_plate.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# ### Define constants
# Constants help ensure consistency and avoid repetition throughout the example.

AEDT_VERSION = "2024.2"
AEDT_VERSION = "2025.1"
NUM_CORES = 4
NG_MODE = False # Open AEDT UI when it is launched.

Expand Down
Loading