Generic system scalar Depends on PR#328#334
Conversation
|
This should be ready-to-go, but it depends on an open PR |
|
Job Documentation, step Sync to remote on ec9d175 wanted to post the following: View the site here This comment will be updated on new commits. |
|
You can rebase this PR now that #328 is merged. |
…el cycle problems. Closes idaholab#329
…ed kernel to be more specific.
8f25456 to
33faac6
Compare
|
Need any help on this one, @ke7kto? |
simopier
left a comment
There was a problem hiding this comment.
Thank you! This will indeed make fuel cycle simulations much easier to set up!
I left some comments throughout. Also, these two tests are failing in recover mode:
[0.588s] [ 135MB] DIFF test:fuel_cycle_Abdou.fuel_cycle_kernel FAILED (CSVDIFF) [recover]
[0.596s] [ 101MB] DIFF test:fuel_cycle_Abdou.fuel_cycle_kernel_AD FAILED (CSVDIFF) [recover]
which I imagine highlights an issue with _is_implicit. But the ss_kernel tests pass, so I'm not currently sure.
Co-authored-by: Pierre-Clement Simon <pierreclement.simon@gmail.com>
Co-authored-by: Pierre-Clement Simon <pierreclement.simon@gmail.com>
… example case for the fuel cycle Abdou model and a bit more context on the usage of the is_implicit term. Adjusted the ss_implicit test to have physically meaningful inputs and go for longer with tighter tolerances so that the implicit and explicit solutions matched.
|
Job Precheck, step Format Check Clang on b510a23 wanted to post the following: Your code requires style changes. A patch was auto generated and copied here
Alternatively, with your repository up to date and in the top level of your repository:
|
|
Job Precheck, step Python: black format on b510a23 wanted to post the following: Python black formattingYour code requires style changes. A patch was generated and copied here. You can directly apply the patch by running the following at the top level of your repository: Alternatively, you can run the following at the top level of your repository: |
simopier
left a comment
There was a problem hiding this comment.
A minor fix.
Also, could you add a section towards the end of the documentation that explains the different input files and how they connect to each other, and how to run a case?
I think this is valuable to users.
Co-authored-by: Pierre-Clement Simon <pierreclement.simon@gmail.com>
…il in documentation
|
Job Build test summary, step Build test summary on ec9d175 wanted to post the following: Test summaryCompared against c94cbdd in job civet.inl.gov/job/3717731. Added tests
|
Adds a generic system scalar kernel that handles the time-dependent mass balance of system components. Closes #329
Depends on PR#328
Reason
The fuel cycle examples are unwieldy and prone to copy-paste errors. Adding a custom scalar kernel will allow easier extensibility for specific component and system modeling.
Design
A new templated kernel which allows functor inputs and coupled variables to determine the residual. Assumes first-order dependence on "input" variables.
Impact
Re-implements the fuel cycle capabilities in a more explicit way.