python YAML is too picky/following v1.1

https://stackoverflow.com/questions/30458977
This commit is contained in:
Martin Diehl 2021-06-29 10:14:59 +02:00
parent 7745640393
commit 4dcd249bf3
20 changed files with 60 additions and 60 deletions

View File

@ -1,27 +1,27 @@
TWIP_Steel_FeMnC: TWIP_Steel_FeMnC:
lattice: cF lattice: cF
mechanical: mechanical:
elastic: {type: Hooke, C_11: 175.0e9, C_12: 115.0e9, C_44: 135.0e9} elastic: {type: Hooke, C_11: 175.0e+9, C_12: 115.0e+9, C_44: 135.0e+9}
plastic: plastic:
type: dislotwin type: dislotwin
output: [rho_mob, rho_dip, gamma_sl, Lambda_sl, tau_pass, f_tw, Lambda_tw, tau_hat_tw, f_tr] output: [rho_mob, rho_dip, gamma_sl, Lambda_sl, tau_pass, f_tw, Lambda_tw, tau_hat_tw, f_tr]
D: 2.0e-5 D: 2.0e-5
N_sl: [12] N_sl: [12]
b_sl: [2.56e-10] b_sl: [2.56e-10]
rho_mob_0: [1.0e12] rho_mob_0: [1.0e+12]
rho_dip_0: [1.0] rho_dip_0: [1.0]
v_0: [1.0e4] v_0: [1.0e+4]
Q_s: [3.7e-19] Q_s: [3.7e-19]
p_sl: [1.0] p_sl: [1.0]
q_sl: [1.0] q_sl: [1.0]
tau_0: [1.5e8] tau_0: [1.5e+8]
i_sl: [10.0] # Adj. parameter controlling dislocation mean free path i_sl: [10.0] # Adj. parameter controlling dislocation mean free path
D_0: 4.0e-5 # Vacancy diffusion prefactor / m^2/s D_0: 4.0e-5 # Vacancy diffusion prefactor / m^2/s
D_a: 1.0 # minimum dipole distance / b D_a: 1.0 # minimum dipole distance / b
Q_cl: 4.5e-19 # Activation energy for climb / J Q_cl: 4.5e-19 # Activation energy for climb / J
h_sl-sl: [0.122, 0.122, 0.625, 0.07, 0.137, 0.137, 0.122] # Interaction coefficients (Kubin et al. 2008) h_sl-sl: [0.122, 0.122, 0.625, 0.07, 0.137, 0.137, 0.122] # Interaction coefficients (Kubin et al. 2008)
# shear band parameters # shear band parameters
xi_sb: 180.0e6 xi_sb: 180.0e+6
Q_sb: 3.7e-19 Q_sb: 3.7e-19
p_sb: 1.0 p_sb: 1.0
q_sb: 1.0 q_sb: 1.0

View File

@ -1,19 +1,19 @@
Tungsten: Tungsten:
lattice: cI lattice: cI
mechanical: mechanical:
elastic: {type: Hooke, C_11: 523.0e9, C_12: 202.0e9, C_44: 161.0e9} # Marinica et al. Journal of Physics: Condensed Matter(2013) elastic: {type: Hooke, C_11: 523.0e+9, C_12: 202.0e+9, C_44: 161.0e+9} # Marinica et al. Journal of Physics: Condensed Matter(2013)
plastic: plastic:
type: dislotwin type: dislotwin
D: 2.0e-5 # Average grain size / m D: 2.0e-5 # Average grain size / m
N_sl: [12] N_sl: [12]
b_sl: [2.72e-10] # Burgers vector length of slip families / m b_sl: [2.72e-10] # Burgers vector length of slip families / m
rho_mob_0: [1.0e12] rho_mob_0: [1.0e+12]
rho_dip_0: [1.0] rho_dip_0: [1.0]
v_0: [1.0e4] # Initial glide velocity / m/s v_0: [1.0e+4] # Initial glide velocity / m/s
Q_s: [2.725e-19] # Activation energy for dislocation glide / J Q_s: [2.725e-19] # Activation energy for dislocation glide / J
p_sl: [0.78] # p-exponent in glide velocity p_sl: [0.78] # p-exponent in glide velocity
q_sl: [1.58] # q-exponent in glide velocity q_sl: [1.58] # q-exponent in glide velocity
tau_0: [1.5e8] # solid solution strength / Pa tau_0: [1.5e+8] # solid solution strength / Pa
i_sl: [10.0] # Adj. parameter controlling dislocation mean free path i_sl: [10.0] # Adj. parameter controlling dislocation mean free path
D_0: 4.0e-5 # Vacancy diffusion prefactor / m^2/s D_0: 4.0e-5 # Vacancy diffusion prefactor / m^2/s
D_a: 1.0 # minimum dipole distance / b D_a: 1.0 # minimum dipole distance / b

View File

@ -6,8 +6,8 @@ FreeSurface:
plastic: plastic:
type: isotropic type: isotropic
output: [xi] output: [xi]
xi_0: 0.3e6 xi_0: 0.3e+6
xi_inf: 0.6e6 xi_inf: 0.6e+6
dot_gamma_0: 0.001 dot_gamma_0: 0.001
n: 5 n: 5
M: 3 M: 3

View File

@ -4,14 +4,14 @@
Martensite: Martensite:
lattice: cI lattice: cI
mechanical: mechanical:
elastic: {C_11: 417.4e9, C_12: 242.4e9, C_44: 211.1e9, type: Hooke} elastic: {C_11: 417.4e+9, C_12: 242.4e+9, C_44: 211.1e+9, type: Hooke}
plastic: plastic:
N_sl: [12, 12] N_sl: [12, 12]
a_sl: 2.0 a_sl: 2.0
dot_gamma_0_sl: 0.001 dot_gamma_0_sl: 0.001
h_0_sl-sl: 563.0e9 h_0_sl-sl: 563.0e+9
h_sl-sl: [1, 1.4, 1, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4] h_sl-sl: [1, 1.4, 1, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4]
n_sl: 20 n_sl: 20
type: phenopowerlaw type: phenopowerlaw
xi_0_sl: [405.8e6, 456.7e6] xi_0_sl: [405.8e+6, 456.7e+6]
xi_inf_sl: [872.9e6, 971.2e6] xi_inf_sl: [872.9e+6, 971.2e+6]

View File

@ -4,22 +4,22 @@ Magnesium:
c/a: 1.62350 c/a: 1.62350
mechanical: mechanical:
output: [F, P, F_e, F_p, L_p, O] output: [F, P, F_e, F_p, L_p, O]
elastic: {C_11: 59.3e9, C_12: 25.7e9, C_13: 21.4e9, C_33: 61.5e9, C_44: 16.4e9, type: Hooke} elastic: {C_11: 59.3e+9, C_12: 25.7e+9, C_13: 21.4e+9, C_33: 61.5e+9, C_44: 16.4e+9, type: Hooke}
plastic: plastic:
N_sl: [3, 3, 0, 6, 0, 6] N_sl: [3, 3, 0, 6, 0, 6]
N_tw: [6, 0, 0, 6] N_tw: [6, 0, 0, 6]
h_0_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_sl: [40.0e+6, 135.0e+6, 0, 150.0e+6, 0.0, 150.0e+6]
xi_0_tw: [40e6, 0.0, 0.0, 60.0e6] xi_0_tw: [40e6, 0.0, 0.0, 60.0e+6]
a_sl: 2.25 a_sl: 2.25
dot_gamma_0_sl: 0.001 dot_gamma_0_sl: 0.001
dot_gamma_0_tw: 0.001 dot_gamma_0_tw: 0.001

View File

@ -6,7 +6,7 @@ cpTi:
c/a: 1.587 c/a: 1.587
mechanical: mechanical:
output: [F, P, F_e, F_p, L_p, O] output: [F, P, F_e, F_p, L_p, O]
elastic: {C_11: 160.0e9, C_12: 90.0e9, C_13: 66.0e9, C_33: 181.7e9, C_44: 46.5e9, type: Hooke} elastic: {C_11: 160.0e+9, C_12: 90.0e+9, C_13: 66.0e+9, C_33: 181.7e+9, C_44: 46.5e+9, type: Hooke}
plastic: plastic:
N_sl: [3, 3, 0, 6, 12] N_sl: [3, 3, 0, 6, 12]
a_sl: 2.0 a_sl: 2.0
@ -17,4 +17,4 @@ cpTi:
output: [gamma_sl] output: [gamma_sl]
type: phenopowerlaw type: phenopowerlaw
xi_0_sl: [0.15e9, 0.09e9, 0, 0.20e9, 0.25e9] xi_0_sl: [0.15e9, 0.09e9, 0, 0.20e9, 0.25e9]
xi_inf_sl: [0.24e9, 0.5e9, 0, 0.6e9, 0.8e9] xi_inf_sl: [0.24e9, 0.5e+9, 0, 0.6e+9, 0.8e+9]

View File

@ -30,7 +30,7 @@ grid:
eps_div_rtol: 5.0e-4 # relative tolerance for fulfillment of stress equilibrium eps_div_rtol: 5.0e-4 # relative tolerance for fulfillment of stress equilibrium
eps_curl_atol: 1.0e-12 # absolute tolerance for fulfillment of strain compatibility eps_curl_atol: 1.0e-12 # absolute tolerance for fulfillment of strain compatibility
eps_curl_rtol: 5.0e-4 # relative tolerance for fulfillment of strain compatibility eps_curl_rtol: 5.0e-4 # relative tolerance for fulfillment of strain compatibility
eps_stress_atol: 1.0e3 # absolute tolerance for fulfillment of stress BC eps_stress_atol: 1.0e+3 # absolute tolerance for fulfillment of stress BC
eps_stress_rtol: 0.01 # relative tolerance for fulfillment of stress BC eps_stress_rtol: 0.01 # relative tolerance for fulfillment of stress BC
eps_damage_atol: 1.0e-2 # absolute tolerance for damage evolution eps_damage_atol: 1.0e-2 # absolute tolerance for damage evolution
eps_damage_rtol: 1.0e-6 # relative tolerance for damage evolution eps_damage_rtol: 1.0e-6 # relative tolerance for damage evolution

View File

@ -3,6 +3,6 @@ references:
- J. Vallin et al., - J. Vallin et al.,
Journal of Applied Physics 35(6), 1825-1826, 1964, Journal of Applied Physics 35(6), 1825-1826, 1964,
10.1063/1.1713749 10.1063/1.1713749
C_11: 107.3e9 C_11: 107.3e+9
C_12: 60.8e9 C_12: 60.8e+9
C_44: 28.3e9 C_44: 28.3e+9

View File

@ -1,6 +1,6 @@
type: Hooke type: Hooke
references: references:
- www.mit.edu/~6.777/matprops/copper.htm, fixed typo - www.mit.edu/~6.777/matprops/copper.htm, fixed typo
C_11: 168.3e9 C_11: 168.3e+9
C_12: 122.1e9 C_12: 122.1e+9
C_44: 75.7e9 C_44: 75.7e+9

View File

@ -5,5 +5,5 @@ references:
John Wiley & Sons, John Wiley & Sons,
page 837 page 837
C_11: 242e9 C_11: 242e9
C_12: 146.5e9 C_12: 146.5e+9
C_44: 112e9 C_44: 112e9

View File

@ -4,6 +4,6 @@ references:
Theory of Dislocations, 1982, Theory of Dislocations, 1982,
John Wiley & Sons, John Wiley & Sons,
page 837 page 837
C_11: 246.5e9 C_11: 246.5e+9
C_12: 147.3e9 C_12: 147.3e+9
C_44: 124.7e9 C_44: 124.7e+9

View File

@ -3,8 +3,8 @@ references:
- L. Wang et al., - L. Wang et al.,
Acta Materialia 132, 598-610, 2017, Acta Materialia 132, 598-610, 2017,
10.1016/j.actamat.2017.05.015 10.1016/j.actamat.2017.05.015
C_11: 162.4e9 C_11: 162.4e+9
C_33: 181.6e9 C_33: 181.6e+9
C_44: 47.2e9 C_44: 47.2e+9
C_12: 92e9 C_12: 92e9
C_13: 69e9 C_13: 69e9

View File

@ -3,6 +3,6 @@ references:
- D. Cereceda et al., - D. Cereceda et al.,
International Journal of Plasticity, 78, 242-265, 2016, International Journal of Plasticity, 78, 242-265, 2016,
10.1016/j.ijplas.2015.09.002 10.1016/j.ijplas.2015.09.002
C_11: 523.e9 C_11: 523.e+9
C_12: 202.e9 C_12: 202.e+9
C_44: 161.e9 C_44: 161.e+9

View File

@ -8,9 +8,9 @@ references:
output: [rho_dip, rho_mob] output: [rho_dip, rho_mob]
N_sl: [12, 12] N_sl: [12, 12]
b_sl: [2.49e-10, 2.49e-10] b_sl: [2.49e-10, 2.49e-10]
rho_mob_0: [2.81e12, 2.8e12] rho_mob_0: [2.81e12, 2.8e+12]
rho_dip_0: [1.0, 1.0] # not given rho_dip_0: [1.0, 1.0] # not given
v_0: [1.4e3, 1.4e3] v_0: [1.4e+3, 1.4e+3]
Q_s: [1.57e-19, 1.57e-19] # Delta_F Q_s: [1.57e-19, 1.57e-19] # Delta_F
tau_0: [454e6, 454e6] tau_0: [454e6, 454e6]
p_sl: [0.325, 0.325] p_sl: [0.325, 0.325]

View File

@ -32,7 +32,7 @@ w: 10 # w_k in multiple of b
p_sl: 1 p_sl: 1
q_sl: 1 q_sl: 1
nu_a: 50.e9 nu_a: 50.e+9
B: 1.e-2 B: 1.e-2
f_ed: 1.0 # k_3 f_ed: 1.0 # k_3

View File

@ -13,10 +13,10 @@ d_sc: [12.e-9]
i_sl: [45] # k_2 i_sl: [45] # k_2
f_ed_mult: 0.1 # k_1 f_ed_mult: 0.1 # k_1
rho_u_ed_neg_0: [6.e10] # 2.88e12 / (12*4) rho_u_ed_neg_0: [6.e+10] # 2.88e12 / (12*4)
rho_u_ed_pos_0: [6.e10] # 2.88e12 / (12*4) rho_u_ed_pos_0: [6.e+10] # 2.88e12 / (12*4)
rho_u_sc_neg_0: [6.e10] # 2.88e12 / (12*4) rho_u_sc_neg_0: [6.e+10] # 2.88e12 / (12*4)
rho_u_sc_pos_0: [6.e10] # 2.88e12 / (12*4) rho_u_sc_pos_0: [6.e+10] # 2.88e12 / (12*4)
rho_d_ed_0: [0] rho_d_ed_0: [0]
rho_d_sc_0: [0] rho_d_sc_0: [0]
@ -32,7 +32,7 @@ w: 10 # w_k
p_sl: 1 p_sl: 1
q_sl: 1 q_sl: 1
nu_a: 50.e9 nu_a: 50.e+9
B: 1.e-3 B: 1.e-3
f_ed: 0.01 # k_3 f_ed: 0.01 # k_3

View File

@ -8,8 +8,8 @@ output: [xi_sl, gamma_sl]
N_sl: [12] N_sl: [12]
n_sl: 20 n_sl: 20
a_sl: 3.1 a_sl: 3.1
h_0_sl-sl: 1.7e8 h_0_sl-sl: 1.7e+8
xi_0_sl: [5.0e6] xi_0_sl: [5.0e+6]
xi_inf_sl: [37.5e6] xi_inf_sl: [37.5e+6]
h_sl-sl: [1, 1, 1.4, 1.4, 1.4, 1.4, 1.4] h_sl-sl: [1, 1, 1.4, 1.4, 1.4, 1.4, 1.4]
dot_gamma_0_sl: 4.5e-3 dot_gamma_0_sl: 4.5e-3

View File

@ -10,8 +10,8 @@ output: [xi_sl, gamma_sl]
N_sl: [12] N_sl: [12]
n_sl: 83.3 n_sl: 83.3
a_sl: 1.0 a_sl: 1.0
h_0_sl-sl: 75.0e6 h_0_sl-sl: 75.0e+6
xi_0_sl: [26.25e6] xi_0_sl: [26.25e6]
xi_inf_sl: [53.0e6] xi_inf_sl: [53.0e+6]
h_sl-sl: [1, 1, 1.4, 1.4, 1.4, 1.4, 1.4] h_sl-sl: [1, 1, 1.4, 1.4, 1.4, 1.4, 1.4]
dot_gamma_0_sl: 0.001 dot_gamma_0_sl: 0.001

View File

@ -8,8 +8,8 @@ output: [xi_sl, gamma_sl]
N_sl: [12] N_sl: [12]
n_sl: 20 n_sl: 20
a_sl: 1.0 a_sl: 1.0
h_0_sl-sl: 2.4e8 h_0_sl-sl: 2.4e+8
xi_0_sl: [1.5e6] xi_0_sl: [1.5e+6]
xi_inf_sl: [112.5e6] xi_inf_sl: [112.5e+6]
h_sl-sl: [1, 1, 1.4, 1.4, 1.4, 1.4, 1.4] h_sl-sl: [1, 1, 1.4, 1.4, 1.4, 1.4, 1.4]
dot_gamma_0_sl: 3e-3 dot_gamma_0_sl: 3e-3

View File

@ -7,8 +7,8 @@ output: [xi_sl, gamma_sl]
N_sl: [12, 12] N_sl: [12, 12]
n_sl: 20 n_sl: 20
a_sl: 2.25 a_sl: 2.25
h_0_sl-sl: 1.0e9 h_0_sl-sl: 1.0e+9
xi_0_sl: [95.e6, 96.e6] xi_0_sl: [95.e+6, 96.e+6]
xi_inf_sl: [222.e6, 412.e6] xi_inf_sl: [222.e+6, 412.e+6]
h_sl-sl: [1, 1.4, 1, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4] h_sl-sl: [1, 1.4, 1, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4, 1.4]
dot_gamma_0_sl: 0.001 dot_gamma_0_sl: 0.001