mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Updating pincell depletion example.
This commit is contained in:
parent
ae0cdf4b0a
commit
7472e330be
1 changed files with 3 additions and 1 deletions
|
|
@ -84,9 +84,11 @@ settings.entropy_mesh = entropy_mesh
|
|||
# Initialize and run depletion calculation
|
||||
###############################################################################
|
||||
|
||||
model = openmc.Model(geometry=geometry, settings=settings)
|
||||
|
||||
# Create depletion "operator"
|
||||
chain_file = './chain_simple.xml'
|
||||
op = openmc.deplete.Operator(geometry, settings, chain_file)
|
||||
op = openmc.deplete.Operator(model, chain_file)
|
||||
|
||||
# Perform simulation using the predictor algorithm
|
||||
time_steps = [1.0, 1.0, 1.0, 1.0, 1.0] # days
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue