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
b8646680
Commit
b8646680
authored
5 years ago
by
Thomas Nagel
Committed by
Dmitri Naumov
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Cohesive zone model with initial stress.
parent
09b6a2e1
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/FractureModels/CohesiveZoneModeI.cpp
+15
-8
15 additions, 8 deletions
MaterialLib/FractureModels/CohesiveZoneModeI.cpp
with
15 additions
and
8 deletions
MaterialLib/FractureModels/CohesiveZoneModeI.cpp
+
15
−
8
View file @
b8646680
...
...
@@ -41,7 +41,7 @@ void CohesiveZoneModeI<DisplacementDim>::computeConstitutiveRelation(
ParameterLib
::
SpatialPosition
const
&
x
,
double
const
aperture0
,
Eigen
::
Ref
<
Eigen
::
VectorXd
const
>
/*
sigma0
*/
,
sigma0
,
Eigen
::
Ref
<
Eigen
::
VectorXd
const
>
/*w_prev*/
,
Eigen
::
Ref
<
Eigen
::
VectorXd
const
>
...
...
@@ -87,10 +87,10 @@ void CohesiveZoneModeI<DisplacementDim>::computeConstitutiveRelation(
mp
.
Kn
*
logPenaltyDerivative
(
aperture0
,
aperture
,
_penalty_aperture_cutoff
);
sigma
.
noalias
()
+=
sigma0
;
// Exit if fracture is closing
// TODO (nagel) to be based on the stress state when initial stress effects
// are included.
if
(
w_n
<
0
)
if
(
sigma
[
index_ns
]
<
0
)
{
return
;
/// Undamaged stiffness used in compression.
}
...
...
@@ -98,22 +98,29 @@ void CohesiveZoneModeI<DisplacementDim>::computeConstitutiveRelation(
//
// Continue with fracture opening.
//
// effective opening calculated by shift to state corresponding to sigma0=0
const
double
w_n_effective
=
w_n
+
sigma0
[
index_ns
]
/
mp
.
Kn
;
double
degradation
=
0.0
;
if
(
mp
.
w_nf
==
0.0
)
if
(
mp
.
w_nf
==
0.0
)
// can be used to model tension-cutoff
{
state
.
damage_prev
=
1.0
;
state
.
damage
=
1.0
;
}
else
{
state
.
damage
=
computeDamage
(
state
.
damage_prev
,
w_n
,
mp
.
w_np
,
mp
.
w_nf
);
state
.
damage
=
computeDamage
(
state
.
damage_prev
,
w_n_effective
,
mp
.
w_np
,
mp
.
w_nf
);
degradation
=
((
1
-
state
.
damage
)
*
mp
.
w_np
)
/
(
mp
.
w_np
+
state
.
damage
*
(
mp
.
w_nf
-
mp
.
w_np
));
}
// Degrade stiffness tensor in tension.
C
=
C
*
degradation
;
sigma
=
C
*
w
;
// Create effective relative displacement vector
Eigen
::
VectorXd
w_eff
=
w
;
// Only origin of normal entry is shifted, shear unaffected
w_eff
[
index_ns
]
=
w_n_effective
;
sigma
=
C
*
w_eff
;
if
(
state
.
damage
>
state
.
damage_prev
)
{
...
...
@@ -126,7 +133,7 @@ void CohesiveZoneModeI<DisplacementDim>::computeConstitutiveRelation(
dd_dw
[
index_ns
]
=
(
mp
.
w_np
*
mp
.
w_nf
)
/
((
mp
.
w_nf
-
mp
.
w_np
)
*
(
tmp
*
tmp
));
C
-=
C
*
w
*
(
dd_dw
).
transpose
();
C
-=
C
*
w
_eff
*
(
dd_dw
).
transpose
();
}
// TODO (nagel) Initial stress not considered, yet.
...
...
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