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
InterfaceUserObject can NOT get MaterialProperty and NeighborMaterialProperty #14680
Comments
@lindsayad I found something off in the execution of It seems that calls to swapback and reinit reset the material property to 0 before the UO is executed, which will picks a zero value. here is what is going on printed out:
|
some other insight. So on the master side the problem is that the interface user object doesn't trigger updates for material properties on the boundary. |
pinging @YaqiWang as I remember he was also interested in this at some point. |
Is this so? I didn't write the |
@lindsayad fair enough :) When I tested it with the fake interface material it was working nicely and I didn't had this problem. The structure of moose did change a lot since that time and now I'm trying to understand what's going on.
|
Ok, when you're done sleuthing, I will look into it. I don't want to both be investigating the problem at the same time |
@lindsayad I'm done, as I don't have time to figure this out. Andrea |
Haha @aeslaughter are you taking on some of @permcody's roles? Seems like we need to hire more people... |
@arovinelli You know what your needs are, so you know what tests you need to create to make sure we don't regress on this capability. Can you cherry-pick lindsayad@d55c072, clean up your tests, and submit a pull request? I've verified that with lindsayad@d55c072 your values are correct in your user object. It's easier if you submit the pull request because I can then push additional commits to your PR, but we can't do it visa versa (e.g. you can't push commits to a pull request I open) |
Do we have Material documented? Looks like it is empty here https://mooseframework.inl.gov/syntax/Materials/index.html. This is a super important system, we need to add documents asap imo. I also cannot find links for interface material... |
@lindsayad thanks for solving this so quickly. I'm working on it and making a few additional test to check if it works also for linear and nonlinear iteration.
|
I think that we can have both things in a single "expand InterfaceUserObject" PR |
Bug Description
InterfaceUserObject
can't properly get neighbor material property.@lindsayad The introduction of the interface material should have granted this to work automatically but apparently it doesn't and I can't figure out where the problem is.
Steps to Reproduce
I prepared a branch here demonstrating the issue interfaceUO_neighbor_material
execute the
/moose/test/tests/userobjects/interface_user_object/interface_material_value_user_object_QP.i
test and see that _mp[qp] and _mp_neighbor[qp] are always 0, when they should be 10 and 4, respectively, after one stepImpact
This does prevent user to compute interface average values material properties, and yes does prevent some of my work to be done
The text was updated successfully, but these errors were encountered: