Skip to content

Commit bcb577e

Browse files
committed
Add comprehensive tests for Nu_cylinder_bank with various parameters
1 parent b9a885e commit bcb577e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

tests/hmt/test_correlations.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,23 @@ def test_Nu_cylinder_bank():
129129
NL=7,
130130
)
131131
assert isclose(Nu, 87.9, rtol=2e-2)
132+
# Test other combinations
133+
for aligned in [True, False]:
134+
for NL in [10, 30]:
135+
for v in [0.1, 1, 10]:
136+
Nu = Nu_cylinder_bank(
137+
v=v,
138+
rho=1,
139+
mu=14.82e-6,
140+
Pr=0.710,
141+
Prs=0.701,
142+
aligned=aligned,
143+
D=16.4e-3,
144+
ST=31.3e-3,
145+
SL=34.3e-3,
146+
NL=NL,
147+
)
148+
assert Nu > 0
132149

133150

134151
def test_Nu_cylinder_free():

0 commit comments

Comments
 (0)