Skip to content

Commit

Permalink
Fix reference temp for Zr thermal expansion.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgjarrett committed Aug 22, 2022
1 parent 8d114bb commit 4656386
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions armi/materials/zr.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class Zr(Material):

def __init__(self):
Material.__init__(self)
referenceTemp = 298.15
referenceTemp = 291.62
referenceDensity = self._computeReferenceDensity(Tk=referenceTemp)
self.p.refTempK = referenceTemp
self.p.refDens = referenceDensity
Expand Down Expand Up @@ -130,7 +130,7 @@ def linearExpansionPercent(self, Tk=None, Tc=None):
Tk = getTk(Tc, Tk)
self.checkPropertyTempRange("linear expansion percent", Tk)

if Tk >= 293 and Tk < 1137:
if Tk >= self.p.refTempK and Tk < 1137:
return (
-0.111 + (2.325e-4 * Tk) + (5.595e-7 * Tk ** 2) - (1.768e-10 * Tk ** 3)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ def test_coldAssemblyExpansion(self):
self.assertAlmostEqual(
cExp.material.density3(Tc=cExp.temperatureInC),
cExp.getMassDensity(),
places=4,
places=7,
msg=f"{cExp} {cExp.material} in {bExp} was not at correct density, expansion = {bExp.p.height / bStd.p.height}",
)

Expand Down
4 changes: 2 additions & 2 deletions armi/tests/detailedAxialExpansion/refSmallReactorBase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ blocks:
fuel:
shape: Circle
material: UZr
Tinput: 25.0
Tinput: 45.187
Thot: 600.0
id: 0.0
isotopics: PuUZr
Expand Down Expand Up @@ -311,7 +311,7 @@ blocks:
outer liner:
shape: Circle
material: Zr
Tinput: 19.85
Tinput: 18.474
Thot: 430.0
id: 0.898
mult: fuel.mult
Expand Down

0 comments on commit 4656386

Please sign in to comment.