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
037e99b5
Commit
037e99b5
authored
7 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[MatL] Ehlers; Move Material/Damage properties.
Also add evaluation functions.
parent
b8d74781
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MaterialLib/SolidModels/Ehlers-impl.h
+0
-63
0 additions, 63 deletions
MaterialLib/SolidModels/Ehlers-impl.h
MaterialLib/SolidModels/Ehlers.h
+74
-0
74 additions, 0 deletions
MaterialLib/SolidModels/Ehlers.h
with
74 additions
and
63 deletions
MaterialLib/SolidModels/Ehlers-impl.h
+
0
−
63
View file @
037e99b5
...
...
@@ -40,69 +40,6 @@ namespace Solids
{
namespace
Ehlers
{
/// Evaluated MaterialPropertiesParameters container, see its documentation for
/// details.
struct
MaterialProperties
final
{
MaterialProperties
(
double
const
t
,
ProcessLib
::
SpatialPosition
const
&
x
,
MaterialPropertiesParameters
const
&
mp
)
:
G
(
mp
.
G
(
t
,
x
)[
0
]),
K
(
mp
.
K
(
t
,
x
)[
0
]),
alpha
(
mp
.
alpha
(
t
,
x
)[
0
]),
beta
(
mp
.
beta
(
t
,
x
)[
0
]),
gamma
(
mp
.
gamma
(
t
,
x
)[
0
]),
delta
(
mp
.
delta
(
t
,
x
)[
0
]),
epsilon
(
mp
.
epsilon
(
t
,
x
)[
0
]),
m
(
mp
.
m
(
t
,
x
)[
0
]),
alpha_p
(
mp
.
alpha_p
(
t
,
x
)[
0
]),
beta_p
(
mp
.
beta_p
(
t
,
x
)[
0
]),
gamma_p
(
mp
.
gamma_p
(
t
,
x
)[
0
]),
delta_p
(
mp
.
delta_p
(
t
,
x
)[
0
]),
epsilon_p
(
mp
.
epsilon_p
(
t
,
x
)[
0
]),
m_p
(
mp
.
m_p
(
t
,
x
)[
0
]),
kappa
(
mp
.
kappa
(
t
,
x
)[
0
]),
hardening_coefficient
(
mp
.
hardening_coefficient
(
t
,
x
)[
0
])
{
}
double
const
G
;
double
const
K
;
double
const
alpha
;
double
const
beta
;
double
const
gamma
;
double
const
delta
;
double
const
epsilon
;
double
const
m
;
double
const
alpha_p
;
double
const
beta_p
;
double
const
gamma_p
;
double
const
delta_p
;
double
const
epsilon_p
;
double
const
m_p
;
double
const
kappa
;
double
const
hardening_coefficient
;
};
/// Evaluated DamagePropertiesParameters container, see its documentation for
/// details.
struct
DamageProperties
{
DamageProperties
(
double
const
t
,
ProcessLib
::
SpatialPosition
const
&
x
,
DamagePropertiesParameters
const
&
dp
)
:
alpha_d
(
dp
.
alpha_d
(
t
,
x
)[
0
]),
beta_d
(
dp
.
beta_d
(
t
,
x
)[
0
]),
h_d
(
dp
.
h_d
(
t
,
x
)[
0
])
{
}
double
const
alpha_d
;
double
const
beta_d
;
double
const
h_d
;
};
/// Special product of \c v with itself: \f$v \odot v\f$.
/// The tensor \c v is given in Kelvin mapping.
/// \note Implementation only for 2 and 3 dimensions.
...
...
This diff is collapsed.
Click to expand it.
MaterialLib/SolidModels/Ehlers.h
+
74
−
0
View file @
037e99b5
...
...
@@ -99,6 +99,68 @@ struct DamagePropertiesParameters
P
const
&
h_d
;
};
/// Evaluated MaterialPropertiesParameters container, see its documentation for
/// details.
struct
MaterialProperties
final
{
MaterialProperties
(
double
const
t
,
ProcessLib
::
SpatialPosition
const
&
x
,
MaterialPropertiesParameters
const
&
mp
)
:
G
(
mp
.
G
(
t
,
x
)[
0
]),
K
(
mp
.
K
(
t
,
x
)[
0
]),
alpha
(
mp
.
alpha
(
t
,
x
)[
0
]),
beta
(
mp
.
beta
(
t
,
x
)[
0
]),
gamma
(
mp
.
gamma
(
t
,
x
)[
0
]),
delta
(
mp
.
delta
(
t
,
x
)[
0
]),
epsilon
(
mp
.
epsilon
(
t
,
x
)[
0
]),
m
(
mp
.
m
(
t
,
x
)[
0
]),
alpha_p
(
mp
.
alpha_p
(
t
,
x
)[
0
]),
beta_p
(
mp
.
beta_p
(
t
,
x
)[
0
]),
gamma_p
(
mp
.
gamma_p
(
t
,
x
)[
0
]),
delta_p
(
mp
.
delta_p
(
t
,
x
)[
0
]),
epsilon_p
(
mp
.
epsilon_p
(
t
,
x
)[
0
]),
m_p
(
mp
.
m_p
(
t
,
x
)[
0
]),
kappa
(
mp
.
kappa
(
t
,
x
)[
0
]),
hardening_coefficient
(
mp
.
hardening_coefficient
(
t
,
x
)[
0
])
{
}
double
const
G
;
double
const
K
;
double
const
alpha
;
double
const
beta
;
double
const
gamma
;
double
const
delta
;
double
const
epsilon
;
double
const
m
;
double
const
alpha_p
;
double
const
beta_p
;
double
const
gamma_p
;
double
const
delta_p
;
double
const
epsilon_p
;
double
const
m_p
;
double
const
kappa
;
double
const
hardening_coefficient
;
};
/// Evaluated DamagePropertiesParameters container, see its documentation for
/// details.
struct
DamageProperties
{
DamageProperties
(
double
const
t
,
ProcessLib
::
SpatialPosition
const
&
x
,
DamagePropertiesParameters
const
&
dp
)
:
alpha_d
(
dp
.
alpha_d
(
t
,
x
)[
0
]),
beta_d
(
dp
.
beta_d
(
t
,
x
)[
0
]),
h_d
(
dp
.
h_d
(
t
,
x
)[
0
])
{
}
double
const
alpha_d
;
double
const
beta_d
;
double
const
h_d
;
};
template
<
typename
KelvinVector
>
struct
PlasticStrain
final
{
...
...
@@ -262,6 +324,18 @@ public:
std
::
vector
<
typename
MechanicsBase
<
DisplacementDim
>::
InternalVariable
>
getInternalVariables
()
const
override
;
MaterialProperties
evaluatedMaterialProperties
(
double
const
t
,
ProcessLib
::
SpatialPosition
const
&
x
)
const
{
return
MaterialProperties
(
t
,
x
,
_mp
);
}
DamageProperties
evaluatedDamageProperties
(
double
const
t
,
ProcessLib
::
SpatialPosition
const
&
x
)
const
{
return
DamageProperties
(
t
,
x
,
*
_damage_properties
);
}
private
:
NumLib
::
NewtonRaphsonSolverParameters
const
_nonlinear_solver_parameters
;
...
...
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