Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81401168
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
Thu, Sep 5, 20:26
Size
4 KB
Mime Type
text/x-c++
Expires
Sat, Sep 7, 20:26 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20560924
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
*/
class
MaterialMazars
:
public
MaterialDamage
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
MaterialMazars
(
Model
&
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
computeStress
(
Real
*
F
,
Real
*
sigma
,
Real
&
damage
,
Real
&
Ehat
);
inline
void
computeDamageAndStress
(
Real
*
F
,
Real
*
sigma
,
Real
&
damage
,
Real
&
Ehat
);
/* ------------------------------------------------------------------------ */
/* 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
;
};
/* -------------------------------------------------------------------------- */
/* inline functions */
/* -------------------------------------------------------------------------- */
#if defined (AKANTU_INCLUDE_INLINE_IMPL)
# include "material_mazars_inline_impl.cc"
#endif
/* -------------------------------------------------------------------------- */
/// standard output stream operator
inline
std
::
ostream
&
operator
<<
(
std
::
ostream
&
stream
,
const
MaterialMazars
&
_this
)
{
_this
.
printself
(
stream
);
return
stream
;
}
__END_AKANTU__
#endif
/* __AKANTU_MATERIAL_MAZARS_HH__ */
Event Timeline
Log In to Comment