Skip to content
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

Update for 2D GEC Reference Cell Validation #45

Merged
merged 8 commits into from
Oct 30, 2019

Conversation

csdechant
Copy link
Collaborator

This update will add the following:

  • New BCs, tests, and input files based on the following paper: https://doi.org/10.1116/1.579300
  • New Tests folder for syntax tests for input files presented at conferences
  • Adding class descriptions to previous Zapdos Objects

@cticenhour
Copy link
Member

cticenhour commented Oct 25, 2019

Currently in the middle of a review, but noticed that the current failures are the result of warnings being treated as errors in the Zapdos testing recipe on CIVET. Those need to be corrected before Zapdos will be allowed to build. See https://civet.inl.gov/job/417790/ and https://civet.inl.gov/job/417791/ for more info on the job output.

Copy link
Member

@cticenhour cticenhour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work! Most of my comments are clean-up and typo related. A general comment regarding testing -- test blocks can take in the command-line arguments that allow you to make quick changes to the input file using cli_args=. This allows you to have one base input file, that you then modify to test a specific version (over having multiple copies of the same file minus tiny changes). For example, in your Lymberopoulos_with_argon_metastables_2D_At100mTorr_CourseMesh.i Exodiff test, you could have created a test for Lymberopoulos_with_argon_metastables_2D_At100mTorr.i but with the argument cli_args='Mesh/file='GEC_mesh_coarse.msh' that would have modified that line temporarily for the test and used the coarse mesh. It tends to reduce input file clutter while still doing the testing you want.

include/bcs/EconomouDielectricBC.h Outdated Show resolved Hide resolved
include/bcs/EconomouDielectricBC.h Outdated Show resolved Hide resolved
include/bcs/EconomouDielectricBC.h Outdated Show resolved Hide resolved
include/bcs/SakiyamaElectronDiffusionBC.h Outdated Show resolved Hide resolved
include/bcs/SakiyamaIonAdvectionBC.h Outdated Show resolved Hide resolved
src/materials/Gas.C Outdated Show resolved Hide resolved
src/materials/GasBase.C Outdated Show resolved Hide resolved
src/materials/GasElectronMoments.C Outdated Show resolved Hide resolved
src/materials/HeavySpecies.C Outdated Show resolved Hide resolved
src/userobjects/ProvideMobility.C Outdated Show resolved Hide resolved
@cticenhour cticenhour self-assigned this Oct 25, 2019
@csdechant
Copy link
Collaborator Author

I just push the new commit with Casey's requested changes and fixed the CIVET warning for EconomouDielectricBC.C. I think the other warnings were for CRANE kernels. @keniley1 please let me know if you want me to do a pull request to fix those warning (or if I just have to update Zapdos' version of CRANE, if they have already been fixed).

@csdechant
Copy link
Collaborator Author

I also missed one more CIVET for Zapdos that I will fix.

@cticenhour
Copy link
Member

Thanks Corey!

@keniley1
Copy link
Collaborator

keniley1 commented Oct 29, 2019

@cticenhour @csdechant
Sorry this took so long, but I've merged the fixes into the master branch at lcpp-org/crane. I hope that fixes everything.

…ative tolerance of the Lymberopoulos_with_argon_metastables_2D_At100mTorr_CourseMesh test
@csdechant
Copy link
Collaborator Author

Mac test failed with error "Automatic scaling requires a PETSc version of 3.9.0 or greater" for the Conference_Syntax_Tests.Lymberopoulos_with_argon_metastables_2D_At1Torr test (which is weird since the course mesh Exodiff version of that test passed. I will just comment out the automatic scaling for that syntax test for now (so Casey can update the website), if no one has any objections.

@lindsayad
Copy link
Member

lindsayad commented Oct 30, 2019 via email

@csdechant
Copy link
Collaborator Author

Thank you for the information. Would I state that outside of the test block? Like:
petsc_version >= ‘3.9.0’
[Tests]
.
.
.
[]

@cticenhour
Copy link
Member

cticenhour commented Oct 30, 2019

No, you'd put it inside the test that you want the condition to apply to. For example:

[Tests]
.
.
.
  [./Lymberopoulos_with_argon_metastables_2D_At1Torr]
    type = RunApp
    input = 'Lymberopoulos_with_argon_metastables_2D_At1Torr.i'
    check_input = True
    method = opt
    petsc_version >= '3.9.0'
  [../]
.
.
.
[]

@lindsayad
Copy link
Member

lindsayad commented Oct 30, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants