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
3b390351
Commit
3b390351
authored
7 years ago
by
Julien Leclerc
Browse files
Options
Downloads
Patches
Plain Diff
add new variables + cleaning
parent
7384650b
No related branches found
No related tags found
1 merge request
!36
Transfer jl_gurs updates to master
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
NonLinearSolver/internalPoints/ipNonLocalDamageGurson.cpp
+12
-9
12 additions, 9 deletions
NonLinearSolver/internalPoints/ipNonLocalDamageGurson.cpp
NonLinearSolver/internalPoints/ipNonLocalDamageGurson.h
+2
-2
2 additions, 2 deletions
NonLinearSolver/internalPoints/ipNonLocalDamageGurson.h
with
14 additions
and
11 deletions
NonLinearSolver/internalPoints/ipNonLocalDamageGurson.cpp
+
12
−
9
View file @
3b390351
...
...
@@ -24,7 +24,7 @@ IPNonLocalDamageGurson::IPNonLocalDamageGurson() : IPVariableMechanics(), _elas
_Fp
(
0
,
0
)
=
1.
;
_Fp
(
1
,
1
)
=
1.
;
_Fp
(
2
,
2
)
=
1.
;
_DFvStarDStrain
=
0
;
_DFvStarDStrain
=
0
.
;
_logsqrtCe
=
0.
;
};
...
...
@@ -32,8 +32,11 @@ IPNonLocalDamageGurson::IPNonLocalDamageGurson(double fVinitial, const J2Isotrop
const
CLengthLaw
*
cll
,
const
std
::
vector
<
GursonDamageNucleation
*>
*
gdnLawContainer
)
:
IPVariableMechanics
(),
_elasticEnergy
(
0.
),
_eplmatrix
(
0.
),
_fV
(
fVinitial
),
_fVstar
(
fVinitial
),
_nldfVstar
(
fVinitial
),
_DFvStarDNldfVstar
(
1.
),
_dissipationBlocked
(
false
)
_eplmatrix
(
0.
),
_fV
(
fVinitial
),
_fVstar
(
fVinitial
),
_nldfVstar
(
fVinitial
),
_DFvStarDNldfVstar
(
1.
),
_dissipationBlocked
(
false
),
_NonLocalToLocal
(
false
)
{
ipvJ2IsotropicHardening
=
NULL
;
if
(
j2IH
==
NULL
)
Msg
::
Error
(
"IPNonLocalDamageGurson::IPNonLocalDamageGurson has no j2IH"
);
...
...
@@ -61,7 +64,7 @@ IPNonLocalDamageGurson::IPNonLocalDamageGurson(double fVinitial, const J2Isotrop
_logsqrtCe
=
0.
;
_DFvStarDStrain
=
0
;
_DFvStarDStrain
=
0.
;
};
...
...
@@ -93,6 +96,7 @@ IPNonLocalDamageGurson::IPNonLocalDamageGurson(const IPNonLocalDamageGurson &sou
_DFvStarDStrain
=
source
.
_DFvStarDStrain
;
_DFvStarDNldfVstar
=
source
.
_DFvStarDNldfVstar
;
_dissipationBlocked
=
source
.
_dissipationBlocked
;
_NonLocalToLocal
=
source
.
_NonLocalToLocal
;
}
IPNonLocalDamageGurson
&
IPNonLocalDamageGurson
::
operator
=
(
const
IPVariable
&
source
)
...
...
@@ -154,14 +158,12 @@ IPNonLocalDamageGurson& IPNonLocalDamageGurson::operator=(const IPVariable &sour
_DFvStarDStrain
=
src
->
_DFvStarDStrain
;
_DFvStarDNldfVstar
=
src
->
_DFvStarDNldfVstar
;
_dissipationBlocked
=
src
->
_dissipationBlocked
;
_NonLocalToLocal
=
src
->
_NonLocalToLocal
;
}
return
*
this
;
}
void
IPNonLocalDamageGurson
::
restart
()
{
IPVariableMechanics
::
restart
();
...
...
@@ -178,6 +180,7 @@ void IPNonLocalDamageGurson::restart()
restartManager
::
restart
(
_logsqrtCe
);
restartManager
::
restart
(
_DFvStarDStrain
);
restartManager
::
restart
(
_dissipationBlocked
);
restartManager
::
restart
(
_NonLocalToLocal
);
return
;
}
...
...
This diff is collapsed.
Click to expand it.
NonLinearSolver/internalPoints/ipNonLocalDamageGurson.h
+
2
−
2
View file @
3b390351
...
...
@@ -39,8 +39,8 @@ class IPNonLocalDamageGurson : public IPVariableMechanics
double
_DFvStarDNldfVstar
;
//derivative of the local corrected porosity with the non local corrected porosity
// Damage and transition managing
bool
_dissipationBlocked
;
bool
_dissipationBlocked
;
// True if dissipation is blocked at the IPv
bool
_NonLocalToLocal
;
// True if transition from local to non-local allowed
// Energies
double
_elasticEnergy
;
// elastic energy stored
...
...
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