Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F68309719
material_anisotropic_damage.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
Wed, Jun 26, 20:26
Size
3 KB
Mime Type
text/x-c++
Expires
Fri, Jun 28, 20:26 (2 d)
Engine
blob
Format
Raw Data
Handle
18308664
Attached To
rAKA akantu
material_anisotropic_damage.hh
View Options
/**
* @file material_anisotropic_damage.hh
*
* @author Nicolas Richart
*
* @date creation mar jun 25 2019
*
* @brief A Documented file.
*
*
* 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 "material_elastic.hh"
/* -------------------------------------------------------------------------- */
#ifndef AKANTU_MATERIAL_ANISOTROPIC_DAMAGE_HH_
#define AKANTU_MATERIAL_ANISOTROPIC_DAMAGE_HH_
namespace
akantu
{
template
<
UInt
dim
,
template
<
UInt
>
class
EquivalentStrain
,
template
<
UInt
>
class
DamageThreshold
,
template
<
UInt
>
class
Parent
=
MaterialElastic
>
class
MaterialAnisotropicDamage
:
public
Parent
<
dim
>
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
MaterialAnisotropicDamage
(
SolidMechanicsModel
&
model
,
const
ID
&
id
=
""
);
~
MaterialAnisotropicDamage
()
override
=
default
;
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public
:
void
computeStress
(
ElementType
el_type
,
GhostType
ghost_type
)
override
;
private
:
void
damageStress
(
Matrix
<
double
>
&
sigma
,
const
Matrix
<
double
>
&
sigma_el
,
const
Matrix
<
double
>
&
D
,
Real
TrD
);
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
private
:
Real
Dc
{
0.99
};
/// damage internal variable
InternalField
<
Real
>
damage
;
/// elastic stress
InternalField
<
Real
>
elastic_stress
;
/// equivalent strain
InternalField
<
Real
>
equivalent_strain
;
/// trace of the damageThreshold
InternalField
<
Real
>
trace_damage
;
/// damage criteria
EquivalentStrain
<
dim
>
equivalent_strain_function
;
/// damage evolution
DamageThreshold
<
dim
>
damage_threshold_function
;
};
}
// namespace akantu
#include "material_anisotropic_damage_tmpl.hh"
#endif
/* AKANTU_MATERIAL_ANISOTROPIC_DAMAGE_HH_ */
Event Timeline
Log In to Comment