-
Notifications
You must be signed in to change notification settings - Fork 0
/
RVE_extrusion_EBSD_Patrick_new.yml
180 lines (174 loc) · 5.25 KB
/
RVE_extrusion_EBSD_Patrick_new.yml
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
177
178
179
180
name: RVE_extrusion
#archive: dropbox
tasks:
- name: load_microstructure
method: EBSD
software: DefDAP
base:
root_path: /mnt/iusers01/jf01/mbgm5pc3/EBSD_scans
scaling_factor: 1
EBSD:
filename: MTEX_Cropped_AZtec_cleaned_AGS_Ti64
#flip_vert: true # optional
boundary_tol: 4 # optional
min_grain_size: 5 # optional
# boundary_tol: 32
# min_grain_size: 40
- name: generate_volume_element
method: extrusion
software: damask
base:
depth: 6
image_axes: ['y', 'x']
homog_label: SX
phase_label: Ti
- name: modify_volume_element
method: add_buffer_zones
software: damask
base:
buffer_sizes: [4,4, 4,4, 2,2] # size of buffer on each face [-x, +x, -y, +y, -z, +z]
phase_ids: [1,1, 1,1, 2,2] # phase of each buffer. Relative, so 1 is the first new phase and so on
phase_labels: ['Ti_iso', 'Air'] # labels of the new phases
homog_label: SX
order: ['z', 'y', 'x'] # order to add the zones, default [x, y, z]
- name: visualise_volume_element
method: VTK
software: damask
- name: generate_load_case
method: uniaxial
software: formable
base:
total_times: [50]
num_increments: [50]
target_strain_rates: [1e-4]
directions: [x]
rotations:
- axis: [0, 0, 1]
angle_deg: 45
# dump_frequency: [10]
- name: simulate_volume_element_loading
method: CP_FFT
software: DAMASK
run_options:
num_cores: 10
l: mem256
processing:
num_cores: 4
l: mem256
output_map_options:
operations:
- name: add_stress_Cauchy
args: {P: P, F: F}
opts: {add_Mises: true}
- name: add_strain
args: {F: F, t: U, m: 2}
opts: {add_Mises: true}
- name: add_strain
args: {F: F_p, t: U, m: 2}
opts: {add_Mises: true}
# Use for average quantities in a single phase, say average stress/strain at each step of sim
phase_data:
- field_name: sigma_vM
phase_name: Ti
out_name: vol_avg_eqv_stress
transforms: [mean_along_axes: 1]
- field_name: epsilon_U^2(F)_vM
phase_name: Ti
out_name: vol_avg_eqv_strain
transforms: [mean_along_axes: 1]
# Use to extract spatial data from (probably a subset of increments)
field_data:
- field_name: epsilon_U^2(F)
increments:
- values: [10, 20, 30, 40, 50]
- field_name: sigma
increments:
- values: [10, 20, 30, 40, 50]
- field_name: O
increments:
- values: [10, 20, 30, 40, 50]
- field_name: u_n
increments:
- values: [10, 20, 30, 40, 50]
- field_name: epsilon_U^2(F_p)
increments:
- values: [10, 20, 30, 40, 50]
- field_name: gamma_sl
increments:
- values: [10, 20, 30, 40, 50]
# Use to extract grain averaged data
grain_data:
- field_name: epsilon_U^2(F)
increments:
- values: [10, 20, 30, 40, 50]
- field_name: sigma
increments:
- values: [10, 20, 30, 40, 50]
- field_name: O
increments:
- values: [10, 20, 30, 40, 50]
base:
homogenization_schemes:
SX:
mechanical:
type: pass
N_constituents: 1
phases:
Ti:
lattice: hP
c/a: 1.587
mechanical:
output: [F, F_p, P, O]
elastic:
type: Hooke
C_11: 160.0e9
C_12: 90.0e9
C_13: 66.0e9
C_33: 181.7e9
C_44: 46.5e9
plastic:
type: phenopowerlaw
output: [xi_sl, gamma_sl]
N_sl: [3, 3, 0, 6, 0, 0]
N_tw: [0, 0, 0, 0]
n_sl: 20
a_sl: 2
dot_gamma_0_sl: 0.001
xi_0_sl: [349.3e6, 150e6, 0, 1107.9e6, 0, 0]
xi_inf_sl: [568.6e6, 1502.2e6, 0, 3420.1e6, 0, 0]
h_0_sl_sl: 15.e6
h_sl_sl: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
Ti_iso:
lattice: aP
mechanical:
output: [F, P]
elastic:
type: Hooke
C_11: 175.5e9
C_12: 90.4e9
plastic:
type: none
Air:
lattice: aP
mechanical:
output: [F, P]
elastic:
type: Hooke
C_11: 1e8
C_12: 1e6
plastic:
type: isotropic
output: [xi, gamma]
xi_0: 0.3e6
xi_inf: 0.6e6
dot_gamma_0: 0.001
n: 5
M: 3
h_0: 1e6
a: 2
dilatation: true
numerics:
grid:
itmin: 2
itmax: 100
derivative: FWBW_difference