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

Add transient options to stationary wall boundary condition #3921

Merged
merged 12 commits into from
Nov 29, 2023
21 changes: 21 additions & 0 deletions _unittest/test_98_Icepak.py
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,16 @@ def test_54_assign_stationary_wall(self):
ht_correlation_value_type="Average Values",
ht_correlation_free_stream_velocity=1,
)
self.aedtapp.create_dataset("ds1", [1, 2, 3], [2, 3, 4], is_project_dataset=False)
assert self.aedtapp.assign_stationary_wall_with_htc(
"surf1",
name=None,
thickness="0mm",
material="Al-Extruded",
htc_dataset="ds1",
ref_temperature="AmbientTemp",
ht_correlation=False,
)
assert self.aedtapp.assign_stationary_wall_with_temperature(
"surf1",
name=None,
Expand Down Expand Up @@ -931,6 +941,17 @@ def test_54_assign_stationary_wall(self):
ext_surf_rad_ref_temp=0,
ext_surf_rad_view_factor=0.5,
)
self.aedtapp.solution_type = "Transient"
assert self.aedtapp.assign_stationary_wall_with_temperature(
"surf1",
name=None,
temperature={"Type": "Transient", "Function": "Sinusoidal", "Values": ["20cel", 1, 1, "1s"]},
thickness="0mm",
material="Al-Extruded",
radiate=False,
radiate_surf_mat="Steel-oxidised-surface",
shell_conduction=False,
)

@pytest.mark.skipif(config["desktopVersion"] < "2023.1" and config["use_grpc"], reason="Not working in 2022.2 GRPC")
def test_55_native_components_history(self):
Expand Down
Loading
Loading