File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -138,11 +138,11 @@ def test_heat_bcs():
138
138
)
139
139
140
140
with pytest .raises (pd .ValidationError ):
141
- td .VerticalNaturalConvectionCoeffModel (medium = air , plate_length = - 10 )
141
+ td .VerticalNaturalConvectionCoeffModel (medium = air . heat , plate_length = - 10 )
142
142
143
143
_ , solid_medium = make_heat_mediums ()
144
144
with pytest .raises (pd .ValidationError ):
145
- td .VerticalNaturalConvectionCoeffModel (medium = solid_medium , plate_length = 1e5 )
145
+ td .VerticalNaturalConvectionCoeffModel (medium = solid_medium . heat_spec , plate_length = 1e5 )
146
146
147
147
148
148
def make_heat_mnts ():
Original file line number Diff line number Diff line change @@ -913,7 +913,6 @@ def test_vertical_natural_convection():
913
913
)
914
914
915
915
coeff_model = td .VerticalNaturalConvectionCoeffModel (plate_length = 1 )
916
- full_coeff_model = td .VerticalNaturalConvectionCoeffModel (medium = air .heat , plate_length = 1 )
917
916
sim = td .HeatChargeSimulation (
918
917
size = (2 , 2 , 2 ),
919
918
center = (0 , 0 , 0 ),
@@ -979,6 +978,7 @@ def test_vertical_natural_convection():
979
978
# Test the case where the convection model has its own fluid medium explicitly defined.
980
979
# The simulation should use the properties from the model's medium and ignore the
981
980
# fluid present at the interface.
981
+ full_coeff_model = td .VerticalNaturalConvectionCoeffModel (medium = air .heat , plate_length = 1 )
982
982
sim .updated_copy (
983
983
boundary_spec = [
984
984
td .HeatBoundarySpec (
You can’t perform that action at this time.
0 commit comments