Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77590588
ntn_friclaw_linear_slip_weakening.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, Aug 15, 08:47
Size
3 KB
Mime Type
text/x-c++
Expires
Sat, Aug 17, 08:47 (2 d)
Engine
blob
Format
Raw Data
Handle
19842040
Attached To
rAKA akantu
ntn_friclaw_linear_slip_weakening.hh
View Options
/**
* @file ntn_friclaw_linear_slip_weakening.hh
*
* @author David Simon Kammer <david.kammer@epfl.ch>
*
*
* @brief linear slip weakening
*
* @section LICENSE
*
* Copyright (©) 2010-2012, 2014 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
*/
/* -------------------------------------------------------------------------- */
#ifndef __AST_NTN_FRICLAW_LINEAR_SLIP_WEAKENING_HH__
#define __AST_NTN_FRICLAW_LINEAR_SLIP_WEAKENING_HH__
/* -------------------------------------------------------------------------- */
// simtools
#include "ntn_friclaw_coulomb.hh"
namespace
akantu
{
/* -------------------------------------------------------------------------- */
template
<
class
Regularisation
=
NTNFricRegNoRegularisation
>
class
NTNFricLawLinearSlipWeakening
:
public
NTNFricLawCoulomb
<
Regularisation
>
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
NTNFricLawLinearSlipWeakening
(
NTNBaseContact
*
contact
,
const
FrictionID
&
id
=
"linear_slip_weakening"
,
const
MemoryID
&
memory_id
=
0
);
virtual
~
NTNFricLawLinearSlipWeakening
(){};
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public
:
/// register synchronizedarrays for sync
virtual
void
registerSynchronizedArray
(
SynchronizedArrayBase
&
array
);
/// dump restart file
virtual
void
dumpRestart
(
const
std
::
string
&
file_name
)
const
;
/// read restart file
virtual
void
readRestart
(
const
std
::
string
&
file_name
);
/// function to print the contain of the class
virtual
void
printself
(
std
::
ostream
&
stream
,
int
indent
=
0
)
const
;
protected
:
/// compute frictional strength according to friction law
virtual
void
computeFrictionalStrength
();
/// computes the friction coefficient as a function of slip
virtual
void
computeFrictionCoefficient
();
/* ------------------------------------------------------------------------ */
/* Dumpable */
/* ------------------------------------------------------------------------ */
public
:
virtual
void
addDumpFieldToDumper
(
const
std
::
string
&
dumper_name
,
const
std
::
string
&
field_id
);
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
protected
:
// static coefficient of friction
SynchronizedArray
<
Real
>
mu_s
;
// kinetic coefficient of friction
SynchronizedArray
<
Real
>
mu_k
;
// Dc the length over which slip weakening happens
SynchronizedArray
<
Real
>
d_c
;
};
/* -------------------------------------------------------------------------- */
/* inline functions */
/* -------------------------------------------------------------------------- */
/// standard output stream operator
template
<
class
Regularisation
>
inline
std
::
ostream
&
operator
<<
(
std
::
ostream
&
stream
,
const
NTNFricLawLinearSlipWeakening
<
Regularisation
>
&
_this
)
{
_this
.
printself
(
stream
);
return
stream
;
}
}
// namespace akantu
#include "ntn_friclaw_linear_slip_weakening_tmpl.hh"
#endif
/* __AST_NTN_FRICLAW_LINEAR_SLIP_WEAKENING_HH__ */
Event Timeline
Log In to Comment