idaholab / blackbear

BlackBear is a MOOSE-based code for simulating degradation processes in concrete and other structural materials.
GNU Lesser General Public License v2.1
17 stars 42 forks source link

Add elastic inversion capability using batch materials #353

Closed dewenyushu closed 1 year ago

dewenyushu commented 1 year ago

Initial demonstration of stress gradient calculation using batch material in the elastic material inversion problem.

dewenyushu commented 1 year ago

ping @zachmprince and @lynnmunday

moosebuild commented 1 year ago

Job Test on 42897d3 wanted to post the following:

View the site here

This comment will be updated on new commits.

moosebuild commented 1 year ago

Job Precheck on 87062dd wanted to post the following:

Your code requires style changes.

A patch was auto generated and copied here
You can directly apply the patch by running, in the top level of your repository:

curl -s https://mooseframework.inl.gov/blackbear/docs/PRs/353/clang_format/style.patch | git apply -v

Alternatively, with your repository up to date and in the top level of your repository:

git clang-format 256094a972d35961f4c4df64c7139b59fc2f51a7

dewenyushu commented 1 year ago

@hugary1995 Thanks for your review! I guess this indicates a viable path towards using NEML stress derivatives in inverse optimization problems? ;)

If so I'll focus on resolving the civet tests failures and ping you again once I think it is ready

hugary1995 commented 1 year ago

@hugary1995 Thanks for your review! I guess this indicates a viable path towards using NEML stress derivatives in inverse optimization problems? ;)

Yes, I see that you are getting correct answers in the regression test :) I'll be working on NEML2 next month.

If so I'll focus on resolving the civet tests failures and ping you again once I think it is ready

Yes, please.

moosebuild commented 1 year ago

Job Coverage on 42897d3 wanted to post the following:

Coverage

af945f #353 42897d
Total Total +/- New
Rate 94.25% 94.29% +0.04% 96.77%
Hits 1736 1766 +30 30
Misses 106 107 +1 1

Diff coverage report

Full coverage report

This comment will be updated on new commits.

dewenyushu commented 1 year ago

This should be ready @hugary1995

lynnmunday commented 1 year ago

@bwspenc or @dschwen Would one of you look at this PR. This is how we would like to interface with NEML2 for material parameter derivatives for inverse optimization.

lynnmunday commented 1 year ago

@dewenyushu we need to try moving this to isopod and include blackbear with isopod.

dewenyushu commented 1 year ago

Move contributions to https://github.com/idaholab/isopod/pull/78