Skip to content

Commit

Permalink
Merge branch '430-config-example-should-test-if-output-is-available' …
Browse files Browse the repository at this point in the history
…into 'development'

always include all possible output items in examples

Closes #430

See merge request damask/DAMASK!976
  • Loading branch information
dmentock committed Sep 23, 2024
2 parents b8a3b10 + 79d441e commit 92ed021
Show file tree
Hide file tree
Showing 26 changed files with 77 additions and 17 deletions.
2 changes: 1 addition & 1 deletion PRIVATE
3 changes: 2 additions & 1 deletion examples/config/homogenization/damage/pass_direct.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# For single point calculations, requires N_constituents = 1
type: pass
output: ['T']

output: [phi]
4 changes: 3 additions & 1 deletion examples/config/homogenization/mechanical/RGC_8grains.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# For Relaxed Grain Cluster homogenization, requires N_constituents = 8
type: RGC

output: [F, P, M, Delta_V, max_dot_a, avg_dot_a]

D_alpha: [4.0e-06, 4.0e-06, 2.0e-06]
a_g: [0.0, 0.0, 0.0]
c_alpha: 2.0
cluster_size: [2, 2, 2]
output: [M, Delta_V, avg_dot_a, max_dot_a]
xi_alpha: 10.0
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# For Taylor homogenization with N_constituents > 1
type: isostrain
output: ['F', 'P']

output: [F, P]
3 changes: 2 additions & 1 deletion examples/config/homogenization/mechanical/pass_direct.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# For single point calculations, requires N_constituents = 1
type: pass
output: ['F', 'P']

output: [F, P]
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# For homogenization with N_constituents > 1
type: isotemperature
output: ['T']

output: [T]
3 changes: 2 additions & 1 deletion examples/config/homogenization/thermal/pass_direct.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# For single point calculations, requires N_constituents = 1
type: pass
output: ['T']

output: [T]
2 changes: 1 addition & 1 deletion examples/config/phase/damage/anisobrittle_cubic.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
type: anisobrittle

output: [f_phi]
output: [Psi_D]

N_cl: [3]

Expand Down
2 changes: 1 addition & 1 deletion examples/config/phase/damage/isobrittle_generic.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
type: isobrittle

output: [f_phi]
output: [r_W]

G_crit: 1400000.0
l_c: 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ references:
Acta Materialia 56(19):5412-5425, 2008,
https://doi.org/10.1016/j.actamat.2008.07.037

output: [Lambda_sl]
output: [rho_mob, rho_dip, gamma_sl, Lambda_sl, tau_pass]

N_sl: [12]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ references:
Mechanics of Materials, 164:104117, 2022,
https://doi.org/10.1016/j.mechmat.2021.104117

output: [rho_dip, rho_mob]
output: [rho_dip, rho_mob, gamma_sl, Lambda_sl, tau_pass]

N_sl: [12, 12]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ references:
https://doi.org/10.1016/j.actamat.2008.08.012,
Table 1 (self and coplanar)

output: [rho_dip, rho_mob]
output: [rho_dip, rho_mob, gamma_sl, Lambda_sl, tau_pass]

N_sl: [12]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ references:
International Journal of Fatigue 36(1):181-193, 2012,
https://doi.org/10.1016/j.ijfatigue.2011.07.008

output: [xi, chi, chi_flip, gamma_flip, gamma, sgn(gamma)]
output: [xi, chi, sgn(gamma), chi_flip, gamma_flip, gamma]

N_sl: [12]

Expand Down
20 changes: 19 additions & 1 deletion examples/config/phase/mechanical/plastic/nonlocal_Al.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,25 @@ references:
RWTH Aachen 2013,
http://publications.rwth-aachen.de/record/229993/files/4862.pdf

output: [rho_u_ed_pos, rho_b_ed_pos, rho_u_ed_neg, rho_b_ed_neg, rho_u_sc_pos, rho_b_sc_pos, rho_u_sc_neg, rho_b_sc_neg, rho_d_ed, rho_d_sc]
output:
- rho_u_ed_pos
- rho_b_ed_pos
- rho_u_ed_neg
- rho_b_ed_neg
- rho_d_ed
- rho_u_sc_pos
- rho_b_sc_pos
- rho_u_sc_neg
- rho_b_sc_neg
- rho_d_sc
- rho_f
- v_ed_pos
- v_ed_neg
- v_sc_pos
- v_sc_neg
- gamma
- tau_pass


N_sl: [12]

Expand Down
19 changes: 18 additions & 1 deletion examples/config/phase/mechanical/plastic/nonlocal_Ni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,24 @@ references:
RWTH Aachen 2013,
http://publications.rwth-aachen.de/record/229993/files/4862.pdf

output: [rho_u_ed_pos, rho_b_ed_pos, rho_u_ed_neg, rho_b_ed_neg, rho_u_sc_pos, rho_b_sc_pos, rho_u_sc_neg, rho_b_sc_neg, rho_d_ed, rho_d_sc]
output:
- rho_u_ed_pos
- rho_b_ed_pos
- rho_u_ed_neg
- rho_b_ed_neg
- rho_d_ed
- rho_u_sc_pos
- rho_b_sc_pos
- rho_u_sc_neg
- rho_b_sc_neg
- rho_d_sc
- rho_f
- v_ed_pos
- v_ed_neg
- v_sc_pos
- v_sc_neg
- gamma
- tau_pass

N_sl: [12]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ references:
Acta Materialia 80:77-93, 2014,
https://doi.org/10.1016/j.actamat.2014.07.048

output: [xi_sl, xi_tw]
output: [xi_sl, gamma_sl, xi_tw, gamma_tw]

N_sl: [3, 3, 6, 0, 6] # basal, prism, 1. pyr<a>, -, 2. pyr<c+a>
N_tw: [6, 0, 6] # tension, -, compression
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ references:
Acta Materialia 132:598-610, 2017,
https://doi.org/10.1016/j.actamat.2017.05.015

output: [gamma_sl]
output: [xi_sl, gamma_sl]

N_sl: [3, 3, 0, 12] # basal, prism, -, 1. pyr<c+a>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ references:
Metallurgical and Materials Transactions B 1:1121–1143, 1970,
https://doi.org/10.1007/BF02900224

output: [xi_sl, gamma_sl]

N_sl: [12, 12]

dot_gamma_0_sl: [0.001, 0.001]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ references:
https://doi.org/10.1016/j.msea.2023.145373,
Table 2, Fig. 19 indent II with contraints

output: [xi_sl, gamma_sl]

N_sl: [12, 12, 24]

h_0_sl-sl: [1.0e+9, 1.0e+9, 1.0e+9]
Expand Down
2 changes: 2 additions & 0 deletions examples/config/phase/thermal/Au.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
references:
- https://de.wikipedia.org/wiki/Gold

output: [T]

K_11: 320.0
C_p: 128.0
2 changes: 2 additions & 0 deletions examples/config/phase/thermal/X2CrNi18-10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ references:
https://doi.org/10.2172/4152287,
Eq. 5 and Eq. 28 (T_min=300K, T_max=1600K)

output: [T]

K_11: 12.86
K_11,T: 1.618e-2

Expand Down
2 changes: 2 additions & 0 deletions examples/config/phase/thermal/X2CrNiMo17-12-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ references:
https://doi.org/10.2172/4152287,
Eq. 7 and Eq. 30 (T_min=300K, T_max=1600K)

output: [T]

K_11: 13.85
K_11,T: 1.571e-2

Expand Down
2 changes: 2 additions & 0 deletions examples/config/phase/thermal/X5CrNi18-10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ references:
Thermochimica Acta 218:373-393, 1993,
https://doi.org/10.1016/0040-6031(93)80437-F

output: [T]

K_11: 14.34
C_p: 470.0
2 changes: 2 additions & 0 deletions examples/config/phase/thermal/adiabatic.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
output: [T]

K_11: 0
K_33: 0
C_p: 1
2 changes: 2 additions & 0 deletions examples/config/phase/thermal/fast-convection.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
output: [T]

K_11: 1.e+30
K_33: 1.e+30
C_p: 1
2 changes: 2 additions & 0 deletions examples/config/phase/thermal/steel-0.5C.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ references:
- https://www.engineeringtoolbox.com/thermal-conductivity-metals-d_858.html
- https://www.engineeringtoolbox.com/specific-heat-metals-d_152.html

output: [T]

K_11: 54.0
C_p: 490.0

0 comments on commit 92ed021

Please sign in to comment.