mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
added transfer volumes function, changed titles in depletion example
This commit is contained in:
parent
ae8395e0e4
commit
51911bacb4
4 changed files with 21 additions and 5 deletions
|
|
@ -49,7 +49,7 @@ borated_water.add_element('O', 2.4e-2)
|
|||
borated_water.add_s_alpha_beta('c_H_in_H2O')
|
||||
|
||||
###############################################################################
|
||||
# Exporting to OpenMC geometry.xml file
|
||||
# Create geometry
|
||||
###############################################################################
|
||||
|
||||
# Instantiate ZCylinder surfaces
|
||||
|
|
@ -94,7 +94,7 @@ root.add_cells([fuel, gap, clad, water])
|
|||
geometry = openmc.Geometry(root)
|
||||
|
||||
###############################################################################
|
||||
# Exporting to OpenMC materials.xml file
|
||||
# Volumes of depletable materials
|
||||
###############################################################################
|
||||
|
||||
# Compute cell areas
|
||||
|
|
@ -105,7 +105,7 @@ area[fuel] = np.pi * fuel_or.coefficients['R'] ** 2
|
|||
uo2.volume = area[fuel]
|
||||
|
||||
###############################################################################
|
||||
# Exporting to OpenMC settings.xml file
|
||||
# Transport calculation settings
|
||||
###############################################################################
|
||||
|
||||
# Instantiate a Settings object, set all runtime parameters, and export to XML
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue