-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow fission source to be re-used from last Picard iteration #11
Comments
Comment by @aprilnovak: @paulromano, what do you think about adding a new method to OpenMC, called something like Then, Or, because |
There is meaning attached to the
So, I don't think moving anything there to |
Moving issue 24 from gitlab originally submitted by @aprilnovak:
Convergence can be improved if the fission source in iteration
i+1
is taken from iterationi
. TheCoupledDriver
currently calls the following OpenMC functions, in this order:openmc_simulation_init
: initialization stuff to be performed once per multiphysics solve;openmc_reset()
;initialize_source()
openmc_run
: loop over batchesopenmc_statepoint_write()
openmc_simulation_finalize()
: finalization stuff to be performed once per multiphysics solve; write tally results.From my understanding, this means that we're doing a lot of duplicate work for each Picard iteration that we could reduce by dividing
openmc_simulation_init
andopenmc_simulation_finalize
into smaller functions that perform tasks needed once per multiphysics solve (like initializing the source, if we want to re-use it between Picard iterations) and once per iteration (like resetting tallies).The text was updated successfully, but these errors were encountered: