-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathisotropic_linear_elastic_2D_CDM.i
More file actions
176 lines (145 loc) · 2.41 KB
/
Copy pathisotropic_linear_elastic_2D_CDM.i
File metadata and controls
176 lines (145 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
[Mesh]
type = GeneratedMesh
dim = 2
nx = 3
ny = 1
xmin = 0
ymin = 0
xmax = 1.0
ymax = 1.0
[]
[GlobalParams]
displacements = 'disp_x disp_y'
[]
[AuxVariables]
[SED]
order = CONSTANT
family = MONOMIAL
[]
[w]
order = CONSTANT
family = MONOMIAL
[]
[]
[Variables]
[./disp_x]
order = first
family = lagrange
[../]
[./disp_y]
order = first
family = lagrange
[../]
[]
[Physics/SolidMechanics/QuasiStatic]
[./all]
incremental = true
generate_output = 'strain_xx'
planar_formulation = PLANE_STRAIN
[../]
[]
[AuxKernels]
[SED]
type = MaterialRealAux
variable = SED
property = strain_energy_density
execute_on = timestep_end
[]
[w]
type = MaterialRealAux
variable = w
property = damage_indexx
execute_on = timestep_end
[]
[]
[BCs]
[./bottom]
type = DirichletBC
variable = disp_y
boundary = bottom
value = 0
[../]
[./left]
type = DirichletBC
variable = disp_x
boundary = left
value = 0
[../]
[./right]
type = FunctionDirichletBC
variable = disp_x
boundary = right
function = 't * 0.00001'
[../]
[]
[Materials]
[./elasticity_tensor]
type = ComputeIsotropicElasticityTensor
poissons_ratio = 0.0
youngs_modulus = 2.5e9
[../]
[strain_energy_density]
type = StrainEnergyDensity
incremental = true
[]
[Yin]
type = GenericConstantMaterial
prop_names = 'Yin'
prop_values = 300.0
[]
[P2]
type = GenericConstantMaterial
prop_names = 'P2'
prop_values = 1.0
[]
[P1]
type = GenericConstantMaterial
prop_names = 'P1'
prop_values = 100.0
[]
[damage_indexx]
type = ComputeDamageIndexxx
Yin = Yin
P1 = P1
P2 = P2
Mu = 20.0
[]
[damage]
type = ScalarMaterialDamage
damage_index = damage_index
[]
[stress]
type = ComputeDamageStress
damage_model = damage
[]
[]
[Executioner]
type = Transient
end_time = 100
dt = 1
[]
[Postprocessors]
[./disp_x1]
type = PointValue
point = '0.3 0.1 0'
variable = disp_x
[../]
[./disp_x2]
type = PointValue
point = '0.3 0.0 0'
variable = disp_x
[../]
[strain_energy_density]
type = ElementAverageValue
variable = SED
[]
[w]
type = ElementAverageValue
variable = w
[]
[]
[Outputs]
exodus = true
csv = true
console = true
[]