Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79963775
material_hyper_elasto_plastic1.cc
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, Aug 29, 05:12
Size
2 KB
Mime Type
text/x-c
Expires
Sat, Aug 31, 05:12 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20271088
Attached To
rMUSPECTRE µSpectre
material_hyper_elasto_plastic1.cc
View Options
/**
* @file material_hyper_elasto_plastic1.cc
*
* @author Till Junge <till.junge@epfl.ch>
*
* @date 21 Feb 2018
*
* @brief implementation for MaterialHyperElastoPlastic1
*
* Copyright © 2018 Till Junge
*
* µSpectre is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3, or (at
* your option) any later version.
*
* µSpectre 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
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GNU Emacs; see the file COPYING. If not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#include "materials/material_hyper_elasto_plastic1.hh"
namespace
muSpectre
{
//----------------------------------------------------------------------------//
template
<
Dim_t
DimS
,
Dim_t
DimM
>
MaterialHyperElastoPlastic1
<
DimS
,
DimM
>::
MaterialHyperElastoPlastic1
(
std
::
string
name
,
Real
young
,
Real
poisson
,
Real
tau_y0
,
Real
H
)
:
Parent
{
name
},
plast_flow_field
{
make_field
<
ScalarField
<
LColl_t
,
Real
>>
(
"cumulated plastic flow εₚ"
,
this
->
internal_fields
)},
F_prev_field
{
make_field
<
TensorField
<
LColl_t
,
Real
,
secondOrder
,
DimM
>>
(
"Previous placement gradient Fᵗ"
,
this
->
internal_fields
)},
be_prev_field
{
make_field
<
TensorField
<
LColl_t
,
Real
,
secondOrder
,
DimM
>>
(
"Previous left Cauchy-Green deformation bₑᵗ"
,
this
->
internal_fields
)},
young
{
young
},
poisson
{
poisson
},
lambda
{
Hooke
::
compute_lambda
(
young
,
poisson
)},
mu
{
Hooke
::
compute_mu
(
young
,
poisson
)},
K
{
Hooke
::
compute_K
(
young
,
poisson
)},
tau_y0
{
tau_y0
},
H
{
H
},
C
{
Hooke
::
compute_C_T4
(
lambda
,
mu
)},
internal_variables
{
F_prev_field
.
get_map
(),
be_prev_field
.
get_map
(),
plast_flow_field
.
get_map
()}
{}
template
class
MaterialHyperElastoPlastic1
<
twoD
,
twoD
>
;
template
class
MaterialHyperElastoPlastic1
<
twoD
,
threeD
>
;
template
class
MaterialHyperElastoPlastic1
<
threeD
,
threeD
>
;
}
// muSpectre
Event Timeline
Log In to Comment