Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cm3Libraries
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm3
cm3Libraries
Commits
5388bb15
Commit
5388bb15
authored
6 years ago
by
Julien Leclerc
Browse files
Options
Downloads
Patches
Plain Diff
clean implementation of criterion based on the interface force
parent
9142cb10
No related branches found
No related tags found
1 merge request
!181
Coal jl8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp
+19
-5
19 additions, 5 deletions
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp
with
19 additions
and
5 deletions
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp
+
19
−
5
View file @
5388bb15
...
...
@@ -410,20 +410,34 @@ void mlawNonLocalPorousCoupledLaw::checkCoalescence(IPNonLocalPorosity* q1, cons
// If Coalescence has not yet occured at least once
// Check if the normal traction force is sufficient to obtain coalescence in normal direction of the interface
// Get normal traction on the interface from tau stress
double
sigmax
=
0.
;
// Get effective traction stress on the interface from tau stress
static
SVector3
tractionForce
;
// traction force vector
double
tauEff
=
0.
;
double
tauN
=
0.
;
double
tauTanSq
=
0.
;
// tranction force components
double
beta
=
1.
;
// ratio => should be moved into law creation as a parameter
static
SVector3
Norm
;
static
SVector3
tractionForce
;
Norm
=
q1
->
getConstRefToReferenceOutwardNormal
();
if
(
Norm
.
norm
()
>
0
){
// is it usefulll ???
Norm
.
normalize
();
// Get normal part
for
(
int
i
=
0
;
i
<
3
;
i
++
){
tractionForce
(
i
)
=
0.
;
for
(
int
j
=
0
;
j
<
3
;
j
++
){
tractionForce
(
i
)
+=
kCor
(
i
,
j
)
*
Norm
(
j
);
}
tauN
+=
tractionForce
(
i
)
*
Norm
(
i
);
}
// Deduce tangent part
for
(
int
i
=
0
;
i
<
3
;
i
++
){
double
temp
=
tractionForce
(
i
)
-
tauN
*
Norm
(
i
);
tauTanSq
+=
temp
*
temp
;
}
// Compute effective stress
if
(
tauN
>
0.
){
tauEff
=
sqrt
(
tauN
*
tauN
+
beta
*
tauTanSq
);
}
else
{
tauEff
=
sqrt
(
beta
*
tauTanSq
);
}
sigmax
=
tractionForce
.
norm
();
}
else
{
Msg
::
Fatal
(
"mlawNonLocalPorousCoupledLaw::updatePlasticState: zero normal"
);
...
...
@@ -447,7 +461,7 @@ void mlawNonLocalPorousCoupledLaw::checkCoalescence(IPNonLocalPorosity* q1, cons
q1Thom
->
getRefToCrackOffsetOnCft
()
=
1.
+
yieldThomason
*
R0
/
(
Cft
*
R
);
}
if
((
sigmax
-
Cft
*
R
>
_tol
)
and
(
yieldThomason
>
_tol
)){
if
((
tauEff
-
Cft
*
R
>
_tol
)
and
(
yieldThomason
>
_tol
)){
// If coalescence occurs, update Cft offset value and others variables
// Update onset coalescence variables
...
...
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