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
Retrieving a material property in a BC does not trigger an error if it's not supplied #5309
Comments
Any hints on how this might be fixed? It seems mysterious that an IntegratedBC can get material properties from a material object defined on a block, but then won't complain when the properties it's requesting don't exist. It seems like it should either be able to do neither or both. Is there a reason that checkBoundaryMatProps() is commented out in FEProblem::checkProblemIntegrity? |
There's some interplay between block/boundary restrictable and these materials check. I looked at it for a few minutes but wanted to vomit because we basically have two different systems checking material properties implemented. One was built by me a long time ago but @dschwen built another along side mine. They are both doing part of the work so it's a big mess now. It's on my to do list to clean them both up and get back to a single unified system for checking properties. I'm not sure when I'll get to it... |
Hmm, I did? I guess I must have. The uses are slightly different. One system (yours) is for integrity checks (making the simulation fail if data has been requested that is not available) mine is for implementing "optional" material properties. But I agree that those are almost the same and should have a unified code base. If I recall correctly though my system was rather small and just populated a lookup map. I don't think I touched the integrity check system much. |
Can we set up a paypal account so I can donate $20 to the first person who fixes this?? :-) |
That's a great idea. We vote on tickets with our money... Hmm... On Thu, Jan 14, 2016 at 9:37 AM Alex Lindsay notifications@github.com
|
@permcody I can fix this by
Admittedly, I now have to define another material in my input file, a la: [Materials] but now I get the checks that I need. Is this good enough for the framework? |
Which is probably why that check isn't in there. My guess is that this On Thu, Jan 14, 2016 at 11:25 AM Alex Lindsay notifications@github.com
|
Yea, you're right. I was taking way too simple a view and not thinking about what this would break. Yes, sure enough 8 tests failed when I tried to run this. |
That's just moose_test. We have dozens of live applications... On Thu, Jan 14, 2016 at 1:57 PM Alex Lindsay notifications@github.com
|
@aeslaughter - you might check this again... |
Maybe not a lot of people use materials in their integratedBCs, but I'm still getting bitten by this. Luckily with Valgrind's help, I'm now tracking down uninitialized materials in my BCs. |
(closes idaholab#9835) (closes idaholab#5309) (closes idaholab#9482)
(closes idaholab#9835) (closes idaholab#5309) (closes idaholab#9482)
(closes idaholab#9835) (closes idaholab#5309) (closes idaholab#9482)
(closes idaholab#9835) (closes idaholab#5309) (closes idaholab#9482)
(closes idaholab#9835) (closes idaholab#5309) (closes idaholab#9482)
(closes idaholab#9835) (closes idaholab#5309) (closes idaholab#9482)
Reported by Alex Lindsay.
@dschwen made the following comment:
This can be replicated by removing the material k3bnd in
moose/test/tests/materials/boundary_material/bnd_coupling_vol.i
…
The text was updated successfully, but these errors were encountered: