Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90657624
material_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
Sun, Nov 3, 15:37
Size
4 KB
Mime Type
text/x-c++
Expires
Tue, Nov 5, 15:37 (2 d)
Engine
blob
Format
Raw Data
Handle
22115643
Attached To
rAKA akantu
material_mazars.hh
View Options
/**
* @file material_mazars.hh
* @author Nicolas Richart <nicolas.richart@epfl.ch>
* @author Guillaume Anciaux <guillaume.anciaux@epfl.ch>
* @author Marion Chambart <marion.chambart@epfl.ch>
* @date Thu Jul 29 15:00:59 2010
*
* @brief Material Following the Mazars law for damage evolution
*
* @section LICENSE
*
* Copyright (©) 2010-2011 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
* Akantu is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* Akantu is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Akantu. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* -------------------------------------------------------------------------- */
#include "aka_common.hh"
#include "material_damage.hh"
/* -------------------------------------------------------------------------- */
#ifndef __AKANTU_MATERIAL_MAZARS_HH__
#define __AKANTU_MATERIAL_MAZARS_HH__
__BEGIN_AKANTU__
/**
* Material Mazars
*
* parameters in the material files :
* - rho : density (default: 0)
* - E : Young's modulus (default: 0)
* - nu : Poisson's ratio (default: 1/2)
* - K0 : Damage threshold
* - At : Parameter damage traction 1
* - Bt : Parameter damage traction 2
* - Ac : Parameter damage compression 1
* - Bc : Parameter damage compression 2
* - beta : Parameter for shear
*/
template
<
UInt
spatial_dimension
>
class
MaterialMazars
:
public
MaterialDamage
<
spatial_dimension
>
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
MaterialMazars
(
SolidMechanicsModel
&
model
,
const
ID
&
id
=
""
);
virtual
~
MaterialMazars
()
{};
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public
:
void
initMaterial
();
virtual
bool
setParam
(
const
std
::
string
&
key
,
const
std
::
string
&
value
,
const
ID
&
id
);
/// constitutive law for all element of a type
void
computeStress
(
ElementType
el_type
,
GhostType
ghost_type
=
_not_ghost
);
/// function to print the containt of the class
virtual
void
printself
(
std
::
ostream
&
stream
,
int
indent
=
0
)
const
;
protected
:
/// constitutive law for a given quadrature point
inline
void
computeStressOnQuad
(
types
::
Matrix
&
grad_u
,
types
::
Matrix
&
sigma
,
Real
&
damage
,
Real
&
Ehat
);
inline
void
computeDamageAndStressOnQuad
(
types
::
Matrix
&
grad_u
,
types
::
Matrix
&
sigma
,
Real
&
damage
,
Real
&
Ehat
);
inline
void
computeDamageOnQuad
(
const
Real
&
Ehat
,
const
types
::
RVector
&
FDiag
,
Real
&
dam
);
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
public
:
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
protected
:
/// damage threshold
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
;
};
/* -------------------------------------------------------------------------- */
/* inline functions */
/* -------------------------------------------------------------------------- */
#include "material_mazars_inline_impl.cc"
__END_AKANTU__
#endif
/* __AKANTU_MATERIAL_MAZARS_HH__ */
Event Timeline
Log In to Comment