modules
core
MarmotMechanicsCore
include
Marmot
MarmotViscoelasticity.h
Go to the documentation of this file.
1
2
/* ---------------------------------------------------------------------
3
* _
4
* _ __ ___ __ _ _ __ _ __ ___ ___ | |_
5
* | '_ ` _ \ / _` | '__| '_ ` _ \ / _ \| __|
6
* | | | | | | (_| | | | | | | | | (_) | |_
7
* |_| |_| |_|\__,_|_| |_| |_| |_|\___/ \__|
8
*
9
* Unit of Strength of Materials and Structural Analysis
10
* University of Innsbruck,
11
* 2020 - today
12
*
13
* festigkeitslehre@uibk.ac.at
14
*
15
* Alexander Dummer alexander.dummer@uibk.ac.at
16
*
17
* This file is part of the MAteRialMOdellingToolbox (marmot).
18
*
19
* This library is free software; you can redistribute it and/or
20
* modify it under the terms of the GNU Lesser General Public
21
* License as published by the Free Software Foundation; either
22
* version 2.1 of the License, or (at your option) any later version.
23
*
24
* The full text of the license can be found in the file LICENSE.md at
25
* the top level directory of marmot.
26
* ---------------------------------------------------------------------
27
*/
28
29
#pragma once
30
#include "
Marmot/MarmotVoigt.h
"
31
32
namespace
Marmot
{
33
34
namespace
ContinuumMechanics {
35
36
namespace
Viscoelasticity {
37
38
namespace
ComplianceFunctions {
39
40
template
<
typename
T_ >
41
T_
logPowerLaw
( T_ tau,
double
m,
double
n )
42
{
43
T_ val = m * log( 1. + pow( tau, n ) );
44
return
val;
45
}
46
47
template
<
typename
T_ >
48
T_
powerLaw
( T_ tau,
double
m,
double
n )
49
{
50
T_ val = m * pow( tau, n );
51
return
val;
52
}
53
}
// namespace ComplianceFunctions
54
}
// namespace Viscoelasticity
55
}
// namespace ContinuumMechanics
56
}
// namespace Marmot
MarmotVoigt.h
Marmot
This file includes functions needed for calculations with stress and strain tensors written in voigt ...
Definition:
MarmotTesting.h:32
Marmot::ContinuumMechanics::Viscoelasticity::ComplianceFunctions::powerLaw
T_ powerLaw(T_ tau, double m, double n)
Definition:
MarmotViscoelasticity.h:48
Marmot::ContinuumMechanics::Viscoelasticity::ComplianceFunctions::logPowerLaw
T_ logPowerLaw(T_ tau, double m, double n)
Definition:
MarmotViscoelasticity.h:41