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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm3
cm3Libraries
Commits
a6200b5d
Commit
a6200b5d
authored
2 years ago
by
Ujwal Kishore Jinaga
Browse files
Options
Downloads
Patches
Plain Diff
addedCheckCommutativity
parent
9eb4a604
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
NonLinearSolver/materialLaw/mlawNonLinearTVP.cpp
+12
-9
12 additions, 9 deletions
NonLinearSolver/materialLaw/mlawNonLinearTVP.cpp
NonLinearSolver/materialLaw/mlawNonLinearTVP.h
+1
-1
1 addition, 1 deletion
NonLinearSolver/materialLaw/mlawNonLinearTVP.h
with
13 additions
and
10 deletions
NonLinearSolver/materialLaw/mlawNonLinearTVP.cpp
+
12
−
9
View file @
a6200b5d
...
@@ -126,20 +126,20 @@ void mlawNonLinearTVP::getModifiedMandel(const STensor3& C, const IPNonLinearTVP
...
@@ -126,20 +126,20 @@ void mlawNonLinearTVP::getModifiedMandel(const STensor3& C, const IPNonLinearTVP
M
=
0.5
*
(
corKir
+
temp2
);
M
=
0.5
*
(
corKir
+
temp2
);
};
};
void
mlawNonLinearTVP
::
checkCommutavity
(
const
STensor3
&
C
,
const
STensor3
&
S
,
const
IPNonLinearTVP
*
q1
)
const
{
void
mlawNonLinearTVP
::
checkCommutavity
(
STensor3
&
commuteCheck
,
const
STensor3
&
C
e
,
const
STensor3
&
S
,
const
IPNonLinearTVP
*
q1
)
const
{
const
STensor3
&
M
=
q1
->
getConstRefToModifiedMandel
();
const
STensor3
&
M
=
q1
->
getConstRefToModifiedMandel
();
const
STensor3
&
corKir
=
q1
->
getConstRefToCorotationalKirchhoffStress
();
const
STensor3
&
corKir
=
q1
->
getConstRefToCorotationalKirchhoffStress
();
STensor3
temp1
,
temp2
,
temp3
,
temp4
,
temp5
,
temp6
;
STensor3
temp1
,
temp2
,
temp3
,
temp4
,
temp6
;
STensorOperation
::
multSTensor3
(
C
,
S
,
temp1
);
STensorOperation
::
multSTensor3
(
C
e
,
S
,
temp1
);
STensorOperation
::
multSTensor3
(
S
,
C
,
temp2
);
STensorOperation
::
multSTensor3
(
S
,
C
e
,
temp2
);
STensorOperation
::
multSTensor3
(
corKir
,
C
,
temp3
);
STensorOperation
::
multSTensor3
(
corKir
,
C
e
,
temp3
);
STensorOperation
::
multSTensor3
(
C
,
corKir
,
temp4
);
STensorOperation
::
multSTensor3
(
C
e
,
corKir
,
temp4
);
// Check S
// Check S
temp5
=
temp1
;
commuteCheck
=
temp1
;
temp5
-=
temp2
;
commuteCheck
-=
temp2
;
// Check corKir (just for fun)
// Check corKir (just for fun)
temp6
=
temp3
;
temp6
=
temp3
;
...
@@ -1321,6 +1321,9 @@ void mlawNonLinearTVP::predictorCorrector_TVP_nonAssociatedFlow(const STensor3&
...
@@ -1321,6 +1321,9 @@ void mlawNonLinearTVP::predictorCorrector_TVP_nonAssociatedFlow(const STensor3&
P
(
i
,
j
)
+=
Fe
(
i
,
k
)
*
S
(
k
,
l
)
*
Fpinv
(
j
,
l
);
P
(
i
,
j
)
+=
Fe
(
i
,
k
)
*
S
(
k
,
l
)
*
Fpinv
(
j
,
l
);
}
}
// check Commutavity
static
STensor3
Check
;
checkCommutavity
(
Check
,
Ce
,
S
,
q1
);
// defo energy
// defo energy
// q1->getRefToElasticEnergy()=deformationEnergy(*q1);
// q1->getRefToElasticEnergy()=deformationEnergy(*q1);
...
...
This diff is collapsed.
Click to expand it.
NonLinearSolver/materialLaw/mlawNonLinearTVP.h
+
1
−
1
View file @
a6200b5d
...
@@ -32,7 +32,7 @@ class mlawNonLinearTVP : public mlawNonLinearTVE{
...
@@ -32,7 +32,7 @@ class mlawNonLinearTVP : public mlawNonLinearTVE{
// NEW
// NEW
virtual
void
hardening
(
const
IPNonLinearTVP
*
q0
,
IPNonLinearTVP
*
q1
,
const
double
&
T
)
const
;
virtual
void
hardening
(
const
IPNonLinearTVP
*
q0
,
IPNonLinearTVP
*
q1
,
const
double
&
T
)
const
;
virtual
void
getModifiedMandel
(
const
STensor3
&
C
,
const
IPNonLinearTVP
*
q0_
,
IPNonLinearTVP
*
q1
)
const
;
virtual
void
getModifiedMandel
(
const
STensor3
&
C
,
const
IPNonLinearTVP
*
q0_
,
IPNonLinearTVP
*
q1
)
const
;
virtual
void
checkCommutavity
(
const
STensor3
&
C
,
const
STensor3
&
S
,
const
IPNonLinearTVP
*
q1
)
const
;
virtual
void
checkCommutavity
(
STensor3
&
commuteCheck
,
const
STensor3
&
C
e
,
const
STensor3
&
S
,
const
IPNonLinearTVP
*
q1
)
const
;
virtual
void
getChabocheCoeffs
(
fullVector
<
double
>&
coeffs
,
const
double
&
opt
,
const
IPNonLinearTVP
*
q1
)
const
;
virtual
void
getChabocheCoeffs
(
fullVector
<
double
>&
coeffs
,
const
double
&
opt
,
const
IPNonLinearTVP
*
q1
)
const
;
virtual
void
getPlasticPotential
(
const
double
&
phiP
,
const
double
&
phiE
,
double
&
Px
)
const
;
virtual
void
getPlasticPotential
(
const
double
&
phiP
,
const
double
&
phiE
,
double
&
Px
)
const
;
virtual
void
getYieldCoefficientTempDers
(
const
IPNonLinearTVP
*
q1
,
const
double
&
T
,
fullVector
<
double
>&
DcoeffsDT
,
fullVector
<
double
>&
DDcoeffsDTT
)
const
;
virtual
void
getYieldCoefficientTempDers
(
const
IPNonLinearTVP
*
q1
,
const
double
&
T
,
fullVector
<
double
>&
DcoeffsDT
,
fullVector
<
double
>&
DDcoeffsDTT
)
const
;
...
...
This diff is collapsed.
Click to expand it.
Ujwal Kishore Jinaga
@FLE_Knight
mentioned in commit
ea3e20c7
·
2 years ago
mentioned in commit
ea3e20c7
mentioned in commit ea3e20c75825cdc0e058133fb8bebfeab9c8cfc8
Toggle commit list
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