Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F84580918
material_plastic.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
Mon, Sep 23, 17:56
Size
5 KB
Mime Type
text/x-c++
Expires
Wed, Sep 25, 17:56 (2 d)
Engine
blob
Format
Raw Data
Handle
21052677
Attached To
rAKA akantu
material_plastic.hh
View Options
/**
* @file material_plastic.hh
*
* @author Daniel Pino Muñoz <daniel.pinomunoz@epfl.ch>
* @author Nicolas Richart <nicolas.richart@epfl.ch>
*
* @date creation: Fri Jun 18 2010
* @date last modification: Thu Oct 08 2015
*
* @brief Common interface for plastic materials
*
* @section LICENSE
*
* Copyright (©) 2010-2012, 2014, 2015 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 "material_elastic.hh"
/* -------------------------------------------------------------------------- */
#ifndef __AKANTU_MATERIAL_PLASTIC_HH__
#define __AKANTU_MATERIAL_PLASTIC_HH__
namespace
akantu
{
/**
* Parent class for the plastic constitutive laws
* parameters in the material files :
* - h : Hardening parameter (default: 0)
* - sigmay : Yield stress
*/
template
<
UInt
dim
>
class
MaterialPlastic
:
public
MaterialElastic
<
dim
>
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
MaterialPlastic
(
SolidMechanicsModel
&
model
,
const
ID
&
id
=
""
);
MaterialPlastic
(
SolidMechanicsModel
&
model
,
UInt
a_dim
,
const
Mesh
&
mesh
,
FEEngine
&
fe_engine
,
const
ID
&
id
=
""
);
protected
:
void
initialize
();
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public
:
/// get the energy specifying the type for the time step
Real
getEnergy
(
const
std
::
string
&
type
)
override
;
/// Compute the plastic energy
void
updateEnergies
(
ElementType
el_type
,
GhostType
ghost_type
=
_not_ghost
)
override
;
/// Compute the true potential energy
void
computePotentialEnergy
(
ElementType
el_type
,
GhostType
ghost_type
)
override
;
protected
:
/// compute the stress and inelastic strain for the quadrature point
inline
void
computeStressAndInelasticStrainOnQuad
(
const
Matrix
<
Real
>
&
grad_u
,
const
Matrix
<
Real
>
&
previous_grad_u
,
Matrix
<
Real
>
&
sigma
,
const
Matrix
<
Real
>
&
previous_sigma
,
Matrix
<
Real
>
&
inelas_strain
,
const
Matrix
<
Real
>
&
previous_inelas_strain
,
const
Matrix
<
Real
>
&
delta_inelastic_strain
)
const
;
inline
void
computeStressAndInelasticStrainOnQuad
(
const
Matrix
<
Real
>
&
delta_grad_u
,
Matrix
<
Real
>
&
sigma
,
const
Matrix
<
Real
>
&
previous_sigma
,
Matrix
<
Real
>
&
inelas_strain
,
const
Matrix
<
Real
>
&
previous_inelas_strain
,
const
Matrix
<
Real
>
&
delta_inelastic_strain
)
const
;
/// get the plastic energy for the time step
Real
getPlasticEnergy
();
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
public
:
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
protected
:
/// Yield stresss
Real
sigma_y
;
/// hardening modulus
Real
h
;
/// isotropic hardening, r
InternalField
<
Real
>
iso_hardening
;
/// inelastic strain arrays ordered by element types (inelastic deformation)
InternalField
<
Real
>
inelastic_strain
;
/// Plastic energy
InternalField
<
Real
>
plastic_energy
;
/// @todo : add a coefficient beta that will multiply the plastic energy increment
/// to compute the energy converted to heat
/// Plastic energy increment
InternalField
<
Real
>
d_plastic_energy
;
};
/* -------------------------------------------------------------------------- */
/* inline functions */
/* -------------------------------------------------------------------------- */
}
// akantu
#include "material_plastic_inline_impl.cc"
#endif
/* __AKANTU_MATERIAL_PLASTIC_HH__ */
Event Timeline
Log In to Comment