Skip to content

Commit

Permalink
Adding lead material
Browse files Browse the repository at this point in the history
Changing TRIGA fuel radius (was using clad radius)
  • Loading branch information
attom committed May 24, 2016
1 parent 200a6aa commit f83d5a1
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/indicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ def do_all(inputDict):
materials.append(mat.get_triga_moderator_material())
materials.append(mat.get_triga_air_material())
materials.append(mat.get_triga_grid_plate_material())
materials.append(mat.get_triga_lead_material())
elif materialOpt == 'trigamore':
materials.append(mat.get_triga_fuel_material())
materials.append(mat.get_triga_clad_material())
Expand All @@ -216,6 +217,7 @@ def do_all(inputDict):
materials.append(mat.get_triga_moderator_material())
materials.append(mat.get_triga_air_material())
materials.append(mat.get_triga_grid_plate_material())
materials.append(mat.get_triga_lead_material())
elif materialOpt == 'deb':
materials.append(mat.get_bruss_enriched_rod_fuel_material())
else:
Expand Down
2 changes: 2 additions & 0 deletions src/indicators_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ def auto_apportion(observations, numElementsRRR, groupBdrs, coarseBdrs, apportio
metric = np.zeros(numCoarseGroups)
numFineGroupsPerCoarseGroup = np.zeros(numCoarseGroups, dtype=np.int)
timeBirch = 0.0
if numCoarseGroups == 1:
return np.array([numElementsRRR])
for coarseGroup in range(len(coarseBdrs)-1):
# Only look at the fine groups within the current coarse group
strt = np.argmin(np.abs(groupBdrs - coarseBdrs[coarseGroup+1]))
Expand Down
26 changes: 25 additions & 1 deletion src/materials_materials.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def get_materials_name2function_dict():
'tGRAPHITE': get_triga_graphite_material,
'tBORATEDGRAPHITE': get_triga_borated_graphite_material,
'tB4C': get_triga_b4c_material,
'tLEAD': get_triga_lead_material,
#'tAIRTUBE': get_triga_air_tube_material,
#'tIRRADIATIONTUBE': get_triga_irradiation_tube_material,
# Iron (for time-dependent dissertation problem)
Expand Down Expand Up @@ -664,7 +665,7 @@ def get_triga_fuel_material():
shortName = 'tFUEL'
longName = 'U-ZrH fuel'
atomDensity = 8.71115E-2
fuelRadius = 1.7920 #cm
fuelRadius = 1.7411 #cm
temperature = 296. #K
temperatureIndex = 0 # X in .9Xc
thermalOpt = 'zrh'
Expand Down Expand Up @@ -936,6 +937,29 @@ def get_triga_air_material():
temperatureIndex=temperatureIndex)
return material

def get_triga_lead_material():
shortName = 'tLEAD'
longName = 'lead'
massDensity = 11.34 # g/cc
fuelRadius = 10. #cm (complete guess)
temperature = 293.6 #K
temperatureIndex = 0 # X in .9Xc
thermalOpt = 'free'
elemAtomFracDict = {'Pb': 1.0}
#
chordLength = calc_chord_length(fuelRadius)
symDict, ZList, ZAList = get_all_isotopes(elemAtomFracDict)
abundanceDict = lookup_natl_abundances(ZAList)
#
material = Material(
shortName=shortName, longName=longName,
temperature=temperature, thermalOpt=thermalOpt,
symDict=symDict, ZList=ZList, ZAList=ZAList,
abundanceDict=abundanceDict, chordLength=chordLength,
elemAtomFracDict=elemAtomFracDict, massDensity=massDensity,
temperatureIndex=temperatureIndex)
return material

###############################################################################
def get_bruss_enriched_rod_fuel_material():
shortName = 'debFUEL'
Expand Down

0 comments on commit f83d5a1

Please sign in to comment.