Skip to content
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

Adding damage plasticity model for concrete #265

Closed
wants to merge 1 commit into from

Conversation

jain651
Copy link
Contributor

@jain651 jain651 commented Sep 22, 2021

ref #184

@jain651 jain651 force-pushed the damage_plasticity_model branch 8 times, most recently from 1905338 to 385e47d Compare September 22, 2021 18:33
@jain651 jain651 changed the title Adding plastic damage model Adding plastic damage model for concrete Sep 22, 2021
@jain651 jain651 force-pushed the damage_plasticity_model branch 2 times, most recently from 0ee3304 to 441b24c Compare September 22, 2021 19:50
@moosebuild
Copy link

moosebuild commented Sep 22, 2021

Job Test on 73fbba3 wanted to post the following:

View the site here

This comment will be updated on new commits.

@jain651 jain651 force-pushed the damage_plasticity_model branch 2 times, most recently from e59fde7 to 11167c8 Compare September 22, 2021 22:20
@jain651 jain651 changed the title Adding plastic damage model for concrete Adding damage plasticity model for concrete Sep 22, 2021
@jain651 jain651 force-pushed the damage_plasticity_model branch 8 times, most recently from 0c80ffb to dc47ed2 Compare September 23, 2021 06:23
@moosebuild
Copy link

Job Precheck on dc47ed2 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/265/style.patch | git apply -v

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

git clang-format de5791fb079b86f4f305d0370d57f5f2097532ca

@jain651 jain651 force-pushed the damage_plasticity_model branch 6 times, most recently from eb473ca to e04e29b Compare September 27, 2021 07:52
@jain651 jain651 force-pushed the damage_plasticity_model branch 4 times, most recently from c62ed94 to 9a7ae9a Compare September 27, 2021 15:47
@moosebuild
Copy link

Job Coverage on 73fbba3 wanted to post the following:

Coverage

52acff #265 73fbba
Total Total +/- New
Rate 95.61% 95.34% -0.27% 94.40%
Hits 1286 1657 +371 371
Misses 59 81 +22 22

Diff coverage report

Full coverage report

This comment will be updated on new commits.

ComputeMultipleInelasticDamageStress::computeQpJacobianMult()
{
ComputeMultipleInelasticStress::computeQpJacobianMult();
_Jacobian_mult[_qp] = (1.0 - _D_older[_qp]) * _Jacobian_mult[_qp];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why _D_older rather than _D_old?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

_D(getMaterialProperty<Real>("elemental_damage_variable")),
_D_old(getMaterialPropertyOld<Real>("elemental_damage_variable")),
_D_older(getMaterialPropertyOlder<Real>("elemental_damage_variable"))
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to do a dynamic_cast on the models stored in _models to enforce that they are only instances of DamagePlasticityStressUpdate?

src/materials/DamagePlasticityStressUpdate.C Show resolved Hide resolved
src/materials/DamagePlasticityStressUpdate.C Show resolved Hide resolved
virtual void finalizeReturnProcess(const RankTwoTensor & rotation_increment) override;

private:
const Real _f_tol;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hate to say this, but we should have doxygen comments describing what all the member variables and non-overwritten methods are.

if (_zt > sqrtPhi_t / _at)
return _ft0 * pow(_zt - sqrtPhi_t / _at, (1. - _dt_bt)) * sqrtPhi_t;
else
return _ft0 * 1.E-6;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the significance of 1e-6?

src/materials/DamagePlasticityStressUpdate.C Show resolved Hide resolved
src/materials/DamagePlasticityStressUpdate.C Show resolved Hide resolved
test/tests/damage_plasticity_model/tests Show resolved Hide resolved
@vprithiv vprithiv mentioned this pull request Dec 14, 2022
@bwspenc
Copy link
Collaborator

bwspenc commented Feb 24, 2023

Taken care of by #320

@bwspenc bwspenc closed this Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants