cb-geo / mpm

CB-Geo High-Performance Material Point Method
https://www.cb-geo.com/research/mpm
Other
243 stars 83 forks source link

[Constitutives] MC J2 correction #591

Closed bodhinandach closed 4 years ago

bodhinandach commented 4 years ago

The PR fixes the bug to compute the stress derivation of the j2 deviatoric stress invariants, which are included in the computation of drho_dsigma, dj2_dsigma, and dj3_dsigma. The 2.0 coefficient is missing to account for the symmetric of the off-diagonal components, i.e. S12=S21 -> S12+S21 = 2.0*S12.

codecov[bot] commented 4 years ago

Codecov Report

Merging #591 into develop will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #591   +/-   ##
========================================
  Coverage    96.82%   96.82%           
========================================
  Files          116      116           
  Lines        24828    24834    +6     
========================================
+ Hits         24038    24044    +6     
  Misses         790      790           
Impacted Files Coverage Δ
include/materials/mohr_coulomb.tcc 99.13% <100.00%> (+0.02%) :arrow_up:
tests/materials/mohr_coulomb_test.cc 99.91% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 155ffb6...e72d0c3. Read the comment docs.