forked from idaholab/blackbear
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request idaholab#311 from albiedahal/vectordamage
Vector Damage closes idaholab#307
- Loading branch information
Showing
14 changed files
with
284 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+568 Bytes
(100%)
test/tests/steel_creep_damage_oh/gold/ad_steel_creep_damage_2d_out.e
Binary file not shown.
Binary file modified
BIN
+564 Bytes
(100%)
test/tests/steel_creep_damage_oh/gold/ad_steel_creep_damage_out.e
Binary file not shown.
1 change: 1 addition & 0 deletions
1
test/tests/steel_creep_damage_oh/gold/multi_power_law_creep_out.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
power_law_creep_out.csv |
7 changes: 7 additions & 0 deletions
7
test/tests/steel_creep_damage_oh/gold/power_law_creep_out.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
time,combined_creep_strain_yy,damage_index,dt,max_disp_x,max_disp_y,omega | ||
0,0,0,0,0,0,0 | ||
0.025,1.3591379713935e-07,0,0.025,-6.3775703573435e-08,2.3591229183113e-06,5.1088169606264e-06 | ||
0.05,1.1224595523922e-06,0,0.025,-1.5009847904727e-07,4.7182458365616e-06,4.2517326705618e-05 | ||
0.075,2.9728643440701e-06,0,0.025,-2.6193875410219e-07,7.0773687552007e-06,0.00011744316468622 | ||
0.1,5.2481408338636e-06,0,0.025,-3.8859149372669e-07,9.4364916740147e-06,0.00021475605982709 | ||
0.125,7.6822935439709e-06,0,0.025,-5.2230942992542e-07,1.1795614592695e-05,0.00032310458677235 |
Binary file modified
BIN
+564 Bytes
(100%)
test/tests/steel_creep_damage_oh/gold/steel_creep_damage_2d_out.e
Binary file not shown.
Binary file modified
BIN
+568 Bytes
(100%)
test/tests/steel_creep_damage_oh/gold/steel_creep_damage_out.e
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,187 @@ | ||
[Mesh] | ||
type = GeneratedMesh | ||
dim = 2 | ||
nx = 2 | ||
ny = 2 | ||
second_order = true | ||
[] | ||
|
||
[GlobalParams] | ||
displacements = 'disp_x disp_y' | ||
volumetric_locking_correction = false | ||
[] | ||
|
||
[AuxVariables] | ||
[local_damage] | ||
order = CONSTANT | ||
family = MONOMIAL | ||
[] | ||
[omega] | ||
order = CONSTANT | ||
family = MONOMIAL | ||
[] | ||
[combined_creep_strain_yy] | ||
order = CONSTANT | ||
family = MONOMIAL | ||
[] | ||
[] | ||
|
||
[AuxKernels] | ||
[local_damage] | ||
type = MaterialRealAux | ||
variable = local_damage | ||
property = local_damage | ||
execute_on = TIMESTEP_END | ||
[] | ||
[omega] | ||
type = MaterialRealAux | ||
variable = omega | ||
property = omega | ||
[] | ||
[combined_creep_strain_yy] | ||
type = RankTwoAux | ||
variable = combined_creep_strain_yy | ||
rank_two_tensor = combined_creep_strain | ||
index_j = 1 | ||
index_i = 1 | ||
execute_on = timestep_end | ||
[] | ||
[] | ||
|
||
[Functions] | ||
[pull] | ||
type = PiecewiseLinear | ||
x = '0 10' | ||
y = '0 1e-3' | ||
[] | ||
[] | ||
|
||
[Modules/TensorMechanics/Master] | ||
[all] | ||
strain = FINITE | ||
add_variables = true | ||
use_finite_deform_jacobian = true | ||
generate_output = 'hydrostatic_stress' | ||
[] | ||
[] | ||
|
||
[Materials] | ||
[elasticity_tensor] | ||
type = ComputeIsotropicElasticityTensor | ||
youngs_modulus = 1e10 | ||
poissons_ratio = 0.3 | ||
[] | ||
|
||
[elastic_strain] | ||
type = ComputeMultipleInelasticStress | ||
# tangent_operator = nonlinear | ||
damage_model = 'steel_local' | ||
[] | ||
|
||
[steel_local] | ||
type = SteelCreepDamageOh | ||
epsilon_f = 0.07 | ||
creep_law_exponent = 10 | ||
use_displaced_mesh = true | ||
damage_index_name = local_damage | ||
reduction_damage_threshold = 0.5 | ||
use_old_damage = true | ||
[] | ||
[creep_ten] | ||
type = PowerLawCreepStressUpdate | ||
coefficient = 10e-24 | ||
n_exponent = 4 | ||
activation_energy = 0 | ||
base_name = creep_ten | ||
[] | ||
[creep_ten2] | ||
type = PowerLawCreepStressUpdate | ||
coefficient = 10e-24 | ||
n_exponent = 4 | ||
activation_energy = 0 | ||
base_name = creep_ten2 | ||
[] | ||
# This model is activated with cli_args to compare the response with a single model with that of two models | ||
[creep_twenty] | ||
type = PowerLawCreepStressUpdate | ||
coefficient = 20e-24 | ||
n_exponent = 4 | ||
activation_energy = 0 | ||
base_name = creep_twenty | ||
[] | ||
[] | ||
|
||
[BCs] | ||
[no_disp_x] | ||
type = DirichletBC | ||
variable = disp_x | ||
boundary = left | ||
value = 0.0 | ||
[] | ||
|
||
[no_disp_y] | ||
type = DirichletBC | ||
variable = disp_y | ||
boundary = bottom | ||
value = 0.0 | ||
[] | ||
|
||
[pull_disp_y] | ||
type = FunctionDirichletBC | ||
variable = disp_y | ||
boundary = top | ||
function = pull | ||
[] | ||
[] | ||
|
||
[Preconditioning] | ||
[smp] | ||
type = SMP | ||
full = true | ||
[] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
solve_type = PJFNK | ||
|
||
petsc_options_iname = '-pc_type' | ||
petsc_options_value = 'lu' | ||
line_search = 'none' | ||
nl_rel_tol = 1e-10 | ||
nl_abs_tol = 1e-50 | ||
|
||
num_steps = 5 | ||
dt = 0.025 | ||
[] | ||
|
||
[Postprocessors] | ||
[max_disp_x] | ||
type = ElementExtremeValue | ||
variable = disp_x | ||
[] | ||
[max_disp_y] | ||
type = ElementExtremeValue | ||
variable = disp_y | ||
[] | ||
[dt] | ||
type = TimestepSize | ||
[] | ||
[damage_index] | ||
type = ElementExtremeValue | ||
variable = local_damage | ||
[] | ||
[omega] | ||
type = ElementAverageValue | ||
variable = omega | ||
[] | ||
[combined_creep_strain_yy] | ||
type = ElementAverageValue | ||
variable = combined_creep_strain_yy | ||
[] | ||
[] | ||
|
||
[Outputs] | ||
csv = true | ||
perf_graph = true | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.