# Copyright 2019 TerraPower, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""
Simplified UZr alloy.
This is a notional U-10Zr material based on [Chandrabhanu]_.
"""
from armi.materials import material
from armi.utils import units
[docs]class UZr(material.FuelMaterial):
"""
Simplified UZr fuel alloy.
.. warning:: This is an academic-quality material.
Only the 10% Zr-frac properties are present.
If you use a Zr-frac other than 10%, these properties will be incorrect. Bring
in user-provided materials via plugins when necessary.
.. [Chandrabhanu] Chandrabhanu Basak, G.J. Prasad, H.S. Kamath, N. Prabhu,
An evaluation of the properties of As-cast U-rich UZr alloys,
Journal of Alloys and Compounds,
Volume 480, Issue 2,
2009,
Pages 857-862,
ISSN 0925-8388,
https://doi.org/10.1016/j.jallcom.2009.02.077.
"""
enrichedNuclide = "U235"
zrFracDefault = 0.10
uFracDefault = 1.0 - zrFracDefault
def __init__(self):
material.Material.__init__(self)
[docs] def setDefaultMassFracs(self):
"""U-Pu-Zr mass fractions."""
u235Enrichment = 0.1
self.uFrac = self.uFracDefault
self.zrFrac = self.zrFracDefault
self.setMassFrac("ZR", self.zrFrac)
self.setMassFrac("U235", u235Enrichment * self.uFrac)
self.setMassFrac("U238", (1.0 - u235Enrichment) * self.uFrac)
self._calculateReferenceDensity()
def _calculateReferenceDensity(self):
"""
Calculates the reference mass density in g/cc of a U-Pu-Zr alloy at 293K with Vergard's law.
.. warning:: the zrFrac, uFrac, etc. may seem redundant with massFrac data.
But it's complicated to update material fractions one at a time when density
is changing on the fly.
"""
zrFrac = self.zrFrac
uFrac = self.uFrac
# use vergard's law to mix densities by weight fraction at 293K
u0 = 19.1
zr0 = 6.52
specificVolume = uFrac / u0 + zrFrac / zr0
self.refDens = 1.0 / specificVolume
[docs] def linearExpansionPercent(self, Tk=None, Tc=None):
"""Gets the linear expansion from eq. 3 in [Chandrabhanu]_ for U-10Zr."""
tk = units.getTk(Tc, Tk)
tk2 = tk * tk
tk3 = tk2 * tk
return -0.73 + 3.489e-3 * tk - 5.154e-6 * tk2 + 4.39e-9 * tk3