Skip to content

Modification to OpenMC to update the cell volume during the depletion calculation for multi-physics coupling

Notifications You must be signed in to change notification settings

bearsan/OpenMC-Depletion-Volume-Update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

OpenMC-Depletion-Volume-Update

Modification to OpenMC to update the cell volume during the depletion calculation for multi-physics coupling

Modifications:

abc.py:

  1. Line 714: check_greater_than('timestep', timestep, 0.0, True)

    Allowed for 0 time-step for iteration within a burnup step

results.py:

  1. Lines 509-251: def update_volumes(self, geometry)

    Define a function to update the cell volume in the depletion for multi-physics coupling

operator.py:

  1. Line 170: volume_update=False

    Add a parameter to control update of the volume

  2. Lines 215-218:

    Update the volume or not

To turn on/off the volume update:

When defining the operator in OpenMC:

  1. On: operator = openmc.deplete.Operator(geometry=geometry, settings=settings, volume_update=True, chain_file=self.chain, prev_results=results)
  2. Off: operator = openmc.deplete.Operator(geometry=geometry, settings=settings, volume_update=False, chain_file=self.chain, prev_results=results) or operator = openmc.deplete.Operator(geometry=geometry, settings=settings, chain_file=self.chain, prev_results=result)

About

Modification to OpenMC to update the cell volume during the depletion calculation for multi-physics coupling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages