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
5947be09
Commit
5947be09
authored
6 years ago
by
Julien Leclerc
Browse files
Options
Downloads
Patches
Plain Diff
add function for access
parent
9fe3af74
No related branches found
No related tags found
2 merge requests
!147
Coal jl8
,
!133
Coal jl8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp
+12
-0
12 additions, 0 deletions
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.h
+7
-5
7 additions, 5 deletions
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.h
with
19 additions
and
5 deletions
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp
+
12
−
0
View file @
5947be09
...
@@ -225,6 +225,10 @@ void mlawNonLocalPorousCoupledLaw::setStressTriaxialityFunction_kw(const scalarF
...
@@ -225,6 +225,10 @@ void mlawNonLocalPorousCoupledLaw::setStressTriaxialityFunction_kw(const scalarF
_mlawCoales
->
setStressTriaxialityFunction_kw
(
fct
);
_mlawCoales
->
setStressTriaxialityFunction_kw
(
fct
);
};
};
void
mlawNonLocalPorousCoupledLaw
::
createIPState
(
IPStateBase
*
&
ips
,
const
bool
*
state_
,
const
MElement
*
ele
,
const
int
nbFF_
,
const
IntPt
*
GP
,
const
int
gpt
)
const
void
mlawNonLocalPorousCoupledLaw
::
createIPState
(
IPStateBase
*
&
ips
,
const
bool
*
state_
,
const
MElement
*
ele
,
const
int
nbFF_
,
const
IntPt
*
GP
,
const
int
gpt
)
const
{
{
//bool inter=true;
//bool inter=true;
...
@@ -240,6 +244,14 @@ void mlawNonLocalPorousCoupledLaw::createIPState(IPStateBase* &ips,const bool* s
...
@@ -240,6 +244,14 @@ void mlawNonLocalPorousCoupledLaw::createIPState(IPStateBase* &ips,const bool* s
};
};
const
int
mlawNonLocalPorousCoupledLaw
::
getCftOffsetMethod
()
const
{
return
_CfTOffsetMethod
;
}
double
mlawNonLocalPorousCoupledLaw
::
yieldFunction
(
const
double
kcorEq
,
const
double
pcor
,
const
double
R
,
const
double
yieldfV
,
double
mlawNonLocalPorousCoupledLaw
::
yieldFunction
(
const
double
kcorEq
,
const
double
pcor
,
const
double
R
,
const
double
yieldfV
,
const
IPNonLocalPorosity
*
q0
,
const
IPNonLocalPorosity
*
q1
,
const
double
*
T
)
const
{
const
IPNonLocalPorosity
*
q0
,
const
IPNonLocalPorosity
*
q1
,
const
double
*
T
)
const
{
bool
coalesFlag
=
q1
->
getConstRefToIPCoalescence
().
getCoalescenceActiveFlag
();
bool
coalesFlag
=
q1
->
getConstRefToIPCoalescence
().
getCoalescenceActiveFlag
();
...
...
This diff is collapsed.
Click to expand it.
NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.h
+
7
−
5
View file @
5947be09
...
@@ -51,15 +51,13 @@ class mlawNonLocalPorousCoupledLaw : public mlawNonLocalPorosity
...
@@ -51,15 +51,13 @@ class mlawNonLocalPorousCoupledLaw : public mlawNonLocalPorosity
virtual
void
setRoundedYieldSurfaceMethod
(
const
int
method
);
virtual
void
setRoundedYieldSurfaceMethod
(
const
int
method
);
virtual
void
setOnsetTriaxialityForRoundedYieldSurface
(
const
double
newTc
);
virtual
void
setOnsetTriaxialityForRoundedYieldSurface
(
const
double
newTc
);
virtual
void
setCfTOffsetMethod
(
const
int
MethodNumber
);
virtual
void
setCfTOffsetMethod
(
const
int
MethodNumber
);
virtual
void
setShearPorosityGrowthFactor
(
const
double
k
);
virtual
void
setShearPorosityGrowthFactor
(
const
double
k
);
virtual
void
setLocalRegularizedFunction
(
const
scalarFunction
&
fct
);
virtual
void
setLocalRegularizedFunction
(
const
scalarFunction
&
fct
);
virtual
void
setCorrectedRegularizedFunction
(
const
scalarFunction
&
fct
);
virtual
void
setCorrectedRegularizedFunction
(
const
scalarFunction
&
fct
);
virtual
void
setPostBlockedDissipationBehavior
(
const
int
method
);
virtual
void
setPostBlockedDissipationBehavior
(
const
int
method
);
virtual
void
clearCLengthLaw
();
virtual
void
clearCLengthLaw
();
virtual
void
setCLengthLaw
(
const
CLengthLaw
&
clength
);
virtual
void
setCLengthLaw
(
const
CLengthLaw
&
clength
);
//-------------------added
virtual
void
setReferenceT
(
const
double
referenceT
);
virtual
void
setReferenceT
(
const
double
referenceT
);
virtual
void
setThermalExpansionCoefficient
(
const
double
alp
);
virtual
void
setThermalExpansionCoefficient
(
const
double
alp
);
virtual
void
setSubStepping
(
const
bool
fl
,
const
int
maxNumStep
);
virtual
void
setSubStepping
(
const
bool
fl
,
const
int
maxNumStep
);
...
@@ -95,6 +93,10 @@ class mlawNonLocalPorousCoupledLaw : public mlawNonLocalPorosity
...
@@ -95,6 +93,10 @@ class mlawNonLocalPorousCoupledLaw : public mlawNonLocalPorosity
_mlawCoales
->
setMacroSolver
(
sv
);
_mlawCoales
->
setMacroSolver
(
sv
);
};
};
// Functions of mlawNonLocalPorousCoupledLaw
virtual
const
int
getCftOffsetMethod
()
const
;
// Functions of mlawPorous
virtual
double
yieldFunction
(
const
double
kcorEq
,
const
double
pcor
,
const
double
R
,
const
double
yieldfV
,
virtual
double
yieldFunction
(
const
double
kcorEq
,
const
double
pcor
,
const
double
R
,
const
double
yieldfV
,
const
IPNonLocalPorosity
*
q0
,
const
IPNonLocalPorosity
*
q1
,
const
double
*
T
=
NULL
)
const
;
const
IPNonLocalPorosity
*
q0
,
const
IPNonLocalPorosity
*
q1
,
const
double
*
T
=
NULL
)
const
;
...
...
This diff is collapsed.
Click to expand it.
Julien Leclerc
@jleclerc
mentioned in commit
c64d1ed9
·
6 years ago
mentioned in commit
c64d1ed9
mentioned in commit c64d1ed9c265bde349de1d084d67f197082761e9
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