GEOS
coreComponents
physicsSolvers
inducedSeismicity
rateAndStateFields.hpp
Go to the documentation of this file.
1
/*
2
* ------------------------------------------------------------------------------------------------------------
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*
5
* Copyright (c) 2016-2024 Lawrence Livermore National Security LLC
6
* Copyright (c) 2018-2024 TotalEnergies
7
* Copyright (c) 2018-2024 The Board of Trustees of the Leland Stanford Junior University
8
* Copyright (c) 2018-2024 Chevron
9
* Copyright (c) 2019- GEOS/GEOSX Contributors
10
* All rights reserved
11
*
12
* See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
13
* ------------------------------------------------------------------------------------------------------------
14
*/
15
20
#ifndef GEOS_PHYSICSSOLVERS_INDUCEDSEISMICITY_RATEANDSTATEFIELDS_HPP_
21
#define GEOS_PHYSICSSOLVERS_INDUCEDSEISMICITY_RATEANDSTATEFIELDS_HPP_
22
23
#include "
common/DataLayouts.hpp
"
24
#include "
mesh/MeshFields.hpp
"
25
26
namespace
geos
27
{
28
29
namespace
fields
30
{
31
32
namespace
rateAndState
33
{
34
35
DECLARE_FIELD
( slipRate,
36
"slipRate"
,
37
array1d< real64 >,
38
0.0,
39
LEVEL_0,
40
WRITE_AND_READ,
41
"Slip rate"
);
42
43
DECLARE_FIELD
( slipRate_n,
44
"slipRate_n"
,
45
array1d< real64 >,
46
0.0,
47
NOPLOT,
48
WRITE_AND_READ,
49
"Slip rate at timestep n."
);
50
51
DECLARE_FIELD
( slipVelocity,
52
"slipVelocity"
,
53
array2d< real64 >,
54
0.0,
55
LEVEL_0,
56
WRITE_AND_READ,
57
"Slip velocity"
);
58
59
DECLARE_FIELD
( slipVelocity_n,
60
"slipVelocity_n"
,
61
array2d< real64 >,
62
0.0,
63
NOPLOT,
64
WRITE_AND_READ,
65
"Slip velocity at previous time step"
);
66
67
DECLARE_FIELD
( stateVariable,
68
"stateVariable"
,
69
array1d< real64 >,
70
0.6,
71
LEVEL_0,
72
WRITE_AND_READ,
73
"Rate- and state-dependent friction state variable"
);
74
75
DECLARE_FIELD
( stateVariable_n,
76
"stateVariable_n"
,
77
array1d< real64 >,
78
0.6,
79
NOPLOT,
80
WRITE_AND_READ,
81
"Initial rate- and state-dependent friction state variable at this time step"
);
82
83
DECLARE_FIELD
( normalTraction,
84
"normalTraction"
,
85
array1d< real64 >,
86
0.0,
87
LEVEL_0,
88
WRITE_AND_READ,
89
"Normal traction"
);
90
91
DECLARE_FIELD
( shearTraction,
92
"shearTraction"
,
93
array2d< real64 >,
94
0.0,
95
LEVEL_0,
96
WRITE_AND_READ,
97
"Shear traction"
);
98
99
DECLARE_FIELD
( normalTraction_n,
100
"normalTraction_n"
,
101
array1d< real64 >,
102
0.0,
103
LEVEL_0,
104
WRITE_AND_READ,
105
"Normal traction at previous timestep n."
);
106
107
DECLARE_FIELD
( shearTraction_n,
108
"shearTraction_n"
,
109
array2d< real64 >,
110
0.0,
111
LEVEL_0,
112
WRITE_AND_READ,
113
"Shear traction at previous timestep n."
);
114
115
DECLARE_FIELD
( backgroundNormalStress,
116
"backgroundNormalStress"
,
117
array1d< real64 >,
118
0.0,
119
LEVEL_0,
120
WRITE_AND_READ,
121
"Background Normal Stress"
);
122
123
DECLARE_FIELD
( backgroundShearStress,
124
"backgroundShearStress"
,
125
array2d< real64 >,
126
0.0,
127
LEVEL_0,
128
WRITE_AND_READ,
129
"Background Shear Stress"
);
130
131
DECLARE_FIELD
( rungeKuttaStageRates,
132
"rungeKuttaStageRates"
,
133
array3d< real64 >,
134
0.0,
135
NOPLOT,
136
WRITE_AND_READ,
137
"Runge-Kutta stage rates for rate-and-state variables"
);
138
139
140
DECLARE_FIELD
( error,
141
"error"
,
142
array2d< real64 >,
143
0.0,
144
LEVEL_0,
145
WRITE_AND_READ,
146
"Error for rate-and-state fields"
);
147
148
}
149
150
}
151
152
}
153
154
#endif
// GEOS_PHYSICSSOLVERS_INDUCEDSEISMICITY_INDUCEDSEISMICITYFIELDS_HPP_
DataLayouts.hpp
MeshFields.hpp
DECLARE_FIELD
#define DECLARE_FIELD(NAME, KEY, TYPE, DEFAULT, PLOTLEVEL, RESTARTFLAG, DESCRIPTION)
Generates a traits struct.
Definition:
MeshFields.hpp:39
geos
Definition:
DataLayouts.hpp:29
Generated by
1.9.1