lcpp-org / crane

A MOOSE application dedicated to general Chemical ReAction NEtworks for plasma chemistry and thermochemistry problems.
https://crane-plasma-chemistry.readthedocs.io/
GNU Lesser General Public License v2.1
21 stars 20 forks source link

N2O2 Case #75

Closed pdwalthe closed 3 years ago

pdwalthe commented 3 years ago

Within an N2O2 0D plasma case, the n2(a'1) species appears in multiple reactions but when input into scalar kernels and variables in such format there is an error to do with the parentheses and apostrophe not being valid characters. When these characters are removed though an error occurs where it says the n2(a'1) is missing. How would this be fixed? This is my first time actually using Github to report an issue so I apologize for this being unformatted and uneducated.

keniley1 commented 3 years ago

No apologies necessary. I'll need some more information to address your issue though. Are you using one of the tests in Crane, or is this your own custom input file? And what ScalarKernels are you adding?

If you could attach your input file that would help me figure out what's going on. I suspect that when you replaced the apostrophe, you're still including a reaction with that species n2(a'1) somewhere in one of the reactions or kernels. The code is running an error because it's looking for a variable named "n2(a'1)", but since you changed the name, that variable no longer exists.

pdwalthe commented 3 years ago

This is my own custom input file. I am trying to model a N2O2 plasma in 0D. I am using the standard scalar kernels from the examples on the GitHub site here for crane. When I run my input file I get an error that says " ERROR _kernel_prod158_0_N2(a1) -> N2: Coupled variable 'N2(a1)' was not found".

I attached my input file here as well. N2O2Case.i.zip

keniley1 commented 3 years ago

One of your reactions includes a reactant called N2(a`1). There is no variable of that name so the code is throwing an error. This is on line 1065. I'm assuming it just needs to be N2a1, which is defined as a variable and has its own time derivative scalar kernel.