Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81430054
material_von_mises_mazars.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Sep 6, 01:01
Size
3 KB
Mime Type
text/x-c++
Expires
Sun, Sep 8, 01:01 (2 d)
Engine
blob
Format
Raw Data
Handle
20567653
Attached To
rAKA akantu
material_von_mises_mazars.hh
View Options
/* -------------------------------------------------------------------------- */
#include "aka_common.hh"
#include "aka_voigthelper.hh"
#include "material_linear_isotropic_hardening.hh"
#include "material_damage.hh"
/* -------------------------------------------------------------------------- */
#ifndef __AKANTU_MATERIAL_VONMISES_MAZARS_HH__
#define __AKANTU_MATERIAL_VONMISES_MAZARS_HH__
namespace
akantu
{
template
<
UInt
spatial_dimension
,
template
<
UInt
>
class
Parent
=
MaterialLinearIsotropicHardening
>
class
MaterialVonMisesMazars
:
public
MaterialDamage
<
spatial_dimension
,
Parent
>
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
MaterialVonMisesMazars
(
SolidMechanicsModel
&
model
,
const
ID
&
id
=
""
);
MaterialVonMisesMazars
(
SolidMechanicsModel
&
model
,
UInt
dim
,
const
Mesh
&
mesh
,
FEEngine
&
fe_engine
,
const
ID
&
id
=
""
);
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public
:
/// constitutive law for all element of a type
void
computeStress
(
ElementType
el_type
,
GhostType
ghost_type
=
_not_ghost
)
override
;
protected
:
/// constitutive law for a given quadrature point
inline
void
computeStressOnQuad
(
const
Matrix
<
Real
>
&
grad_u
,
Matrix
<
Real
>
&
sigma
,
Real
&
damage
,
Real
&
Ehat
);
inline
void
computeDamageAndStressOnQuad
(
const
Matrix
<
Real
>
&
grad_u
,
Matrix
<
Real
>
&
sigma
,
Real
&
damage
,
Real
&
Ehat
);
inline
void
computeDamageOnQuad
(
const
Real
&
epsilon_equ
,
const
Matrix
<
Real
>
&
sigma
,
const
Vector
<
Real
>
&
epsilon_princ
,
Real
&
dam
);
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
public
:
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
protected
:
/// damage threshold
RandomInternalField
<
Real
>
K0
;
/// parameter damage traction 1
Real
At
;
/// parameter damage traction 2
Real
Bt
;
/// parameter damage compression 1
Real
Ac
;
/// parameter damage compression 2
Real
Bc
;
/// parameter for shear
Real
beta
;
/// specify the variable to average false = ehat, true = damage (only valid
/// for non local version)
bool
damage_in_compute_stress
;
};
}
// namespace akantu
#include "material_von_mises_mazars_inline_impl.hh"
#endif
/* __AKANTU_MATERIAL_VONMISES_MAZARS_HH__ */
Event Timeline
Log In to Comment