Skip to content

Commit

Permalink
FIX: Assign conducting plate bug (#4695)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
Samuelopez-ansys and pre-commit-ci[bot] authored May 20, 2024
1 parent cc5fb48 commit 88e5fee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyaedt/icepak.py
Original file line number Diff line number Diff line change
Expand Up @@ -5975,17 +5975,17 @@ def assign_conducting_plate(
if thermal_specification == "Thickness":
props["Solid Material"] = solid_material
if low_side_rad_material is not None:
props["LowSide"] = {"Radiate": False}
else:
props["LowSide"] = {"Radiate": True, "RadiateTo": "AllObjects", "Surface Material": low_side_rad_material}
if high_side_rad_material is not None:
props["LowSide"] = {"Radiate": False}
else:
props["LowSide"] = {"Radiate": False}
if high_side_rad_material is not None:
props["HighSide"] = {
"Radiate": True,
"RadiateTo - High": "AllObjects - High",
"Surface Material - High": high_side_rad_material,
}
else:
props["LowSide"] = {"Radiate": False}
props["Shell Conduction"] = shell_conduction
if not boundary_name:
boundary_name = generate_unique_name("Plate")
Expand Down

0 comments on commit 88e5fee

Please sign in to comment.