-
Notifications
You must be signed in to change notification settings - Fork 21
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
Ver-1kc-1 #225
Ver-1kc-1 #225
Conversation
Hi @Lee01Atom, thanks for pushing these new verification cases! The conflicts come from the fact that you are probably not basing your PR on the latest version of devel. Before creating a branch, you need to make sure you are on branch devel and that it is up to date. I'm sharing the instructions below for future reference, and then I am sharing the instructions you should be able to resolve this without re-creating a new branch.
When you do this, it creates a new branch that is up to date with devel, and you can start making changes. This is consistent with the instructions we provide in https://mooseframework.inl.gov/TMAP8/getting_started/contributing.html. Now, in your situation, since you already have a branch with local changes, you should do:
In that process, you will see that it runs into conflicts as it goes through new commits, and it will list the problematic files. The best way to deal with these is to open the file in VSCode and use their Once this is all done, you can add more commits as needed and push to this PR. Note that you might have to use the
instead of the regular
Please don't start using the force push option by default, as it can sometimes remove some important history if one is not careful. Let me know if you have any questions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A preliminary review shows me that things look OK.
But instead of using K=1/RT and K=10/RT, you should use K=1/sqrt(RT) and K=10/sqrt(RT) to account for n=0.5.
Just like for ver-1ka, , K=1/sqrt(RT) would not lead to a concentration jump, but K=10/sqrt(RT) would, hence showcasing TMAP8's ability to handle both. Make sure to update the documentation, python script (including comments), input files, etc.
Job Documentation, step Sync to remote on ddacbaf wanted to post the following: View the site here This comment will be updated on new commits. |
The documentation failure is due to duplicate requirements in tests. Requirements need to be unique, and I think you forgot to update from Henry to Sievert. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I just have a few comments, suggestions, and questions.
Co-authored-by: Pierre-Clement Simon <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Things look good, but the test indeed takes too long to run (that's why debug is failing).
I think you should create some heavy tests, as was done in https://mooseframework.inl.gov/TMAP8/verification_and_validation/ver-1d.html.
As you look at how it was done in the other case, here's what to pay attention to:
- Reduce the tolerances of the input file to make it accurate. You can also further refine the mesh if you want. This will be your
heavy
test, meaning it is expected to take longer than 2 seconds to run. - You can then edit the
test
specification file to create a new test that uses the same input file but adapts it usingcli_agrs
to (1) use a coarser mesh and (2) maybe use looser convergence criteria if needed - all to make the tests run in less than 2 seconds. We only need a csv test for this one. - In the
test
specification file, make sure to mark the heavy tests (both csv and exodus) withheavy = true
. - to run the heavy tests locally, do
./run_tests -j4 --heavy
. To run this case specifically, do./run_tests -j4 --heavy --re=ver-1kc
- The python script should still use the output from the heavy test to plot the results.
- Make sure you update the
input file
section of the documentation.
Let me know if you have any questions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job on adding the heavy tests and the light tests! I left some suggestions for improvements.
Co-authored-by: Pierre-Clement Simon <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this contribution!
(Ref. #12)