Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MostafaMollaali
dynamic
Commits
300d122f
Commit
300d122f
authored
7 years ago
by
fparisio
Committed by
Dmitri Naumov
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[MatL] Ehlers; Update damage computations.
parent
f86c8251
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MaterialLib/SolidModels/Ehlers-impl.h
+7
-27
7 additions, 27 deletions
MaterialLib/SolidModels/Ehlers-impl.h
with
7 additions
and
27 deletions
MaterialLib/SolidModels/Ehlers-impl.h
+
7
−
27
View file @
300d122f
...
...
@@ -494,27 +494,19 @@ SolidEhlers<DisplacementDim>::integrateStress(
// do the evaluation once per function call.
MaterialProperties
const
mp
(
t
,
x
,
_mp
);
KelvinVector
sigma_eff_prev
=
sigma_prev
;
// In case without damage the
// effective value is same as the
// previous one.
if
(
_damage_properties
)
{
// Compute sigma_eff from damage total stress sigma, which is given by
// sigma_eff=sigma_prev / (1-damage)
sigma_eff_prev
=
sigma_prev
/
(
1
-
state
.
damage_prev
.
value
());
}
KelvinVector
sigma
=
predict_sigma
<
DisplacementDim
>
(
mp
.
G
,
mp
.
K
,
sigma_eff_prev
,
eps
,
eps_prev
,
eps_V
);
KelvinVector
sigma
=
predict_sigma
<
DisplacementDim
>
(
mp
.
G
,
mp
.
K
,
sigma_prev
,
eps
,
eps_prev
,
eps_V
);
KelvinMatrix
tangentStiffness
;
PhysicalStressWithInvariants
<
DisplacementDim
>
s
{
mp
.
G
*
sigma
};
// Quit early if sigma is zero (nothing to do) or if we are still in elastic
// zone.
if
(
sigma
.
squaredNorm
()
==
0
||
yieldFunction
(
mp
,
s
,
calculateIsotropicHardening
(
mp
.
kappa
,
mp
.
hardening_coefficient
,
state
.
eps_p
.
eff
))
<
0
)
if
((
sigma
.
squaredNorm
()
==
0
||
yieldFunction
(
mp
,
s
,
calculateIsotropicHardening
(
mp
.
kappa
,
mp
.
hardening_coefficient
,
state
.
eps_p
.
eff
))
<
0
))
{
tangentStiffness
.
setZero
();
tangentStiffness
.
template
topLeftCorner
<
3
,
3
>().
setConstant
(
...
...
@@ -609,16 +601,6 @@ SolidEhlers<DisplacementDim>::integrateStress(
splitSolutionVector
<
ResidualVectorType
,
KelvinVector
>
(
solution
);
}
if
(
_damage_properties
)
{
DamageProperties
damage_properties
(
t
,
x
,
*
_damage_properties
);
state
.
damage
=
calculateDamage
(
state
.
eps_p
.
V
-
state
.
eps_p_prev
.
V
,
state
.
eps_p
.
eff
-
state
.
eps_p_prev
.
eff
,
state
.
damage
.
kappa_d
(),
damage_properties
);
}
// Calculate residual derivative w.r.t. strain
Eigen
::
Matrix
<
double
,
JacobianResidualSize
,
KelvinVectorSize
,
Eigen
::
RowMajor
>
...
...
@@ -635,8 +617,6 @@ SolidEhlers<DisplacementDim>::integrateStress(
}
KelvinVector
sigma_final
=
mp
.
G
*
sigma
;
if
(
_damage_properties
)
sigma_final
*=
1
-
state
.
damage
.
value
();
return
{
std
::
make_tuple
(
sigma_final
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment