From d0a73286282de1cb52f23c453d2b33606ed91a0b Mon Sep 17 00:00:00 2001 From: Armando Pabon Date: Mon, 24 Jun 2024 13:22:30 -0600 Subject: [PATCH] hit formatting of diemodel input files Refs #128 --- .../electrothermal_plunger_powder.i | 17 ++++---- ...nical_plunger_powder_bothends_pressurebc.i | 39 ++++++++++-------- ...trothermomechanical_plunger_powder_creep.i | 41 ++++++++++--------- .../mechanical_plunger_powder_plastic.i | 39 +++++++++--------- .../graphite_electrothermalmech_singleblock.i | 23 ++++++----- .../isoPlastic_singleblock.i | 18 ++++---- ...tria_electrothermomechanical_singleblock.i | 24 ++++++----- 7 files changed, 107 insertions(+), 94 deletions(-) diff --git a/examples/sps/multiapp/diemodel/electrothermal/electrothermal_plunger_powder.i b/examples/sps/multiapp/diemodel/electrothermal/electrothermal_plunger_powder.i index 6286155..20a70ce 100644 --- a/examples/sps/multiapp/diemodel/electrothermal/electrothermal_plunger_powder.i +++ b/examples/sps/multiapp/diemodel/electrothermal/electrothermal_plunger_powder.i @@ -1,6 +1,6 @@ ## Units in the input file: m-Pa-s-K -initial_temperature=300 #roughly 600C where the pyrometer kicks in +initial_temperature = 300 #roughly 600C where the pyrometer kicks in [GlobalParams] order = SECOND @@ -46,7 +46,8 @@ initial_temperature=300 #roughly 600C where the pyrometer kicks in [sigma_aeh] initial_condition = 2.0e-10 #in units eV/((nV)^2-s-nm) [] - [microapp_potential] #converted to microapp electronVolts units + [microapp_potential] + #converted to microapp electronVolts units [] [E_x] order = FIRST @@ -143,7 +144,7 @@ initial_temperature=300 #roughly 600C where the pyrometer kicks in variable = heat_transfer_radiation boundary = 'outer_die_wall' coupled_variables = 'temperature' - constant_names = 'boltzmann epsilon temperature_farfield' #published emissivity for graphite is 0.85 + constant_names = 'boltzmann epsilon temperature_farfield' #published emissivity for graphite is 0.85 constant_expressions = '5.67e-8 0.85 300.0' #roughly room temperature, which is probably too cold expression = '-boltzmann*epsilon*(temperature^4-temperature_farfield^4)' [] @@ -386,7 +387,6 @@ initial_temperature=300 #roughly 600C where the pyrometer kicks in [] [] - [Materials] [graphite_density] type = ADGenericConstantMaterial @@ -457,8 +457,8 @@ initial_temperature=300 #roughly 600C where the pyrometer kicks in [] [electrical_conductivity] type = ADParsedMaterial - # coupled_variables = 'sigma_aeh' - # expression = 'sigma_aeh*1.602e8' #converts to units of J/(V^2-m-s) + # coupled_variables = 'sigma_aeh' + # expression = 'sigma_aeh*1.602e8' #converts to units of J/(V^2-m-s) property_name = 'electrical_conductivity' output_properties = electrical_conductivity outputs = 'exodus csv' @@ -466,7 +466,7 @@ initial_temperature=300 #roughly 600C where the pyrometer kicks in # type = ADDerivativeParsedMaterial # property_name = electrical_conductivity coupled_variables = 'temperature' - constant_names = 'Q_elec kB prefactor_solid initial_porosity' + constant_names = 'Q_elec kB prefactor_solid initial_porosity' constant_expressions = '1.61 8.617343e-5 1.25e-4 0.38' expression = '(1-initial_porosity) * prefactor_solid * exp(-Q_elec/kB/temperature) * 1.602e8' # in eV/(nV^2 s nm) per chat with Larry, last term converts to units of J/(V^2-m-s) [] @@ -537,13 +537,12 @@ initial_temperature=300 #roughly 600C where the pyrometer kicks in [] [] - [Outputs] csv = true exodus = true perf_graph = true [ckpt] - type =Checkpoint + type = Checkpoint time_step_interval = 1 num_files = 2 [] diff --git a/examples/sps/multiapp/diemodel/electrothermomechs/electrothermomechanical_plunger_powder_bothends_pressurebc.i b/examples/sps/multiapp/diemodel/electrothermomechs/electrothermomechanical_plunger_powder_bothends_pressurebc.i index b71ac27..ac61113 100644 --- a/examples/sps/multiapp/diemodel/electrothermomechs/electrothermomechanical_plunger_powder_bothends_pressurebc.i +++ b/examples/sps/multiapp/diemodel/electrothermomechs/electrothermomechanical_plunger_powder_bothends_pressurebc.i @@ -59,7 +59,8 @@ initial_temperature = 300 #roughly 600C where the pyrometer kicks in # order = FIRST # block = 'upper_plunger lower_plunger die_wall' # [] - [microapp_potential] #converted to microapp electronVolts units + [microapp_potential] + #converted to microapp electronVolts units [] [E_x] order = FIRST @@ -84,23 +85,25 @@ initial_temperature = 300 #roughly 600C where the pyrometer kicks in [] [Physics] - [SolidMechanics/QuasiStatic] - [graphite] - strain = FINITE - add_variables = true - use_automatic_differentiation = true - generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' - extra_vector_tags = 'ref' - eigenstrain_names = 'graphite_thermal_expansion' - block = 'upper_plunger lower_plunger die_wall' - [] - [yttria] - strain = FINITE - add_variables = true - use_automatic_differentiation = true - generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' - extra_vector_tags = 'ref' - block = 'powder_compact' + [SolidMechanics] + [QuasiStatic] + [graphite] + strain = FINITE + add_variables = true + use_automatic_differentiation = true + generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' + extra_vector_tags = 'ref' + eigenstrain_names = 'graphite_thermal_expansion' + block = 'upper_plunger lower_plunger die_wall' + [] + [yttria] + strain = FINITE + add_variables = true + use_automatic_differentiation = true + generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' + extra_vector_tags = 'ref' + block = 'powder_compact' + [] [] [] [] diff --git a/examples/sps/multiapp/diemodel/electrothermomechs/electrothermomechanical_plunger_powder_creep.i b/examples/sps/multiapp/diemodel/electrothermomechs/electrothermomechanical_plunger_powder_creep.i index bf280a3..ded052f 100644 --- a/examples/sps/multiapp/diemodel/electrothermomechs/electrothermomechanical_plunger_powder_creep.i +++ b/examples/sps/multiapp/diemodel/electrothermomechs/electrothermomechanical_plunger_powder_creep.i @@ -59,7 +59,8 @@ initial_temperature = 300 #roughly 600C where the pyrometer kicks in # order = FIRST # block = 'upper_plunger lower_plunger die_wall' # [] - [microapp_potential] #converted to microapp electronVolts units + [microapp_potential] + #converted to microapp electronVolts units [] [E_x] order = FIRST @@ -84,24 +85,26 @@ initial_temperature = 300 #roughly 600C where the pyrometer kicks in [] [Physics] - [SolidMechanics/QuasiStatic] - [graphite] - strain = FINITE - add_variables = true - use_automatic_differentiation = true - generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' - extra_vector_tags = 'ref' - eigenstrain_names = 'graphite_thermal_expansion' - block = 'upper_plunger lower_plunger die_wall' - [] - [yttria] - strain = FINITE - add_variables = true - use_automatic_differentiation = true - generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' - extra_vector_tags = 'ref' - eigenstrain_names = 'yttria_thermal_expansion' - block = 'powder_compact' + [SolidMechanics] + [QuasiStatic] + [graphite] + strain = FINITE + add_variables = true + use_automatic_differentiation = true + generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' + extra_vector_tags = 'ref' + eigenstrain_names = 'graphite_thermal_expansion' + block = 'upper_plunger lower_plunger die_wall' + [] + [yttria] + strain = FINITE + add_variables = true + use_automatic_differentiation = true + generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' + extra_vector_tags = 'ref' + eigenstrain_names = 'yttria_thermal_expansion' + block = 'powder_compact' + [] [] [] [] diff --git a/examples/sps/multiapp/diemodel/electrothermomechs/mechanical_plunger_powder_plastic.i b/examples/sps/multiapp/diemodel/electrothermomechs/mechanical_plunger_powder_plastic.i index 780a772..6b44d38 100644 --- a/examples/sps/multiapp/diemodel/electrothermomechs/mechanical_plunger_powder_plastic.i +++ b/examples/sps/multiapp/diemodel/electrothermomechs/mechanical_plunger_powder_plastic.i @@ -49,24 +49,26 @@ initial_temperature = 300 #roughly 600C where the pyrometer kicks in [] [Physics] - [SolidMechanics/QuasiStatic] - [graphite] - strain = FINITE - add_variables = true - use_automatic_differentiation = true - generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' - extra_vector_tags = 'ref' - eigenstrain_names = 'graphite_thermal_expansion' - block = 'upper_plunger lower_plunger die_wall' - [] - [yttria] - strain = FINITE - add_variables = true - use_automatic_differentiation = true - generate_output = 'plastic_strain_yy strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' - extra_vector_tags = 'ref' - eigenstrain_names = 'yttria_thermal_expansion' - block = 'powder_compact' + [SolidMechanics] + [QuasiStatic] + [graphite] + strain = FINITE + add_variables = true + use_automatic_differentiation = true + generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' + extra_vector_tags = 'ref' + eigenstrain_names = 'graphite_thermal_expansion' + block = 'upper_plunger lower_plunger die_wall' + [] + [yttria] + strain = FINITE + add_variables = true + use_automatic_differentiation = true + generate_output = 'plastic_strain_yy strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' + extra_vector_tags = 'ref' + eigenstrain_names = 'yttria_thermal_expansion' + block = 'powder_compact' + [] [] [] [] @@ -223,7 +225,6 @@ initial_temperature = 300 #roughly 600C where the pyrometer kicks in # relative_tolerance = 1e-20 # absolute_tolerance = 1e-8 # max_inelastic_increment = 0.000001 - [] [yttria_thermal_expansion] type = ADComputeThermalExpansionEigenstrain diff --git a/examples/sps/multiapp/diemodel/electrothermomechs/simple_geometries/graphite_electrothermalmech_singleblock.i b/examples/sps/multiapp/diemodel/electrothermomechs/simple_geometries/graphite_electrothermalmech_singleblock.i index 4aa9f1c..8cee8ba 100644 --- a/examples/sps/multiapp/diemodel/electrothermomechs/simple_geometries/graphite_electrothermalmech_singleblock.i +++ b/examples/sps/multiapp/diemodel/electrothermomechs/simple_geometries/graphite_electrothermalmech_singleblock.i @@ -100,7 +100,8 @@ initial_temperature = 300 #roughly 600C where the pyrometer kicks in # order = FIRST # block = 'upper_plunger' # [] - [microapp_potential] #converted to microapp electronVolts units + [microapp_potential] + #converted to microapp electronVolts units [] [E_x] order = FIRST @@ -121,15 +122,17 @@ initial_temperature = 300 #roughly 600C where the pyrometer kicks in [] [Physics] - [SolidMechanics/QuasiStatic] - [graphite] - strain = FINITE - add_variables = true - use_automatic_differentiation = true - generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' - extra_vector_tags = 'ref' - # eigenstrain_names = 'graphite_thermal_expansion' - block = 'upper_plunger' + [SolidMechanics] + [QuasiStatic] + [graphite] + strain = FINITE + add_variables = true + use_automatic_differentiation = true + generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' + extra_vector_tags = 'ref' + # eigenstrain_names = 'graphite_thermal_expansion' + block = 'upper_plunger' + [] [] [] [] diff --git a/examples/sps/multiapp/diemodel/electrothermomechs/simple_geometries/isoPlastic_singleblock.i b/examples/sps/multiapp/diemodel/electrothermomechs/simple_geometries/isoPlastic_singleblock.i index 9cc7b50..40ebf9d 100644 --- a/examples/sps/multiapp/diemodel/electrothermomechs/simple_geometries/isoPlastic_singleblock.i +++ b/examples/sps/multiapp/diemodel/electrothermomechs/simple_geometries/isoPlastic_singleblock.i @@ -80,14 +80,16 @@ initial_temperature = 600 #roughly 600C where the pyrometer kicks in [] [Physics] - [SolidMechanics/QuasiStatic] - [graphite] - strain = FINITE - add_variables = true - use_automatic_differentiation = true - generate_output = 'plastic_strain_yy strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' - extra_vector_tags = 'ref' - eigenstrain_names = 'thermal_expansion' + [SolidMechanics] + [QuasiStatic] + [graphite] + strain = FINITE + add_variables = true + use_automatic_differentiation = true + generate_output = 'plastic_strain_yy strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz' + extra_vector_tags = 'ref' + eigenstrain_names = 'thermal_expansion' + [] [] [] [] diff --git a/examples/sps/multiapp/diemodel/electrothermomechs/simple_geometries/yttria_electrothermomechanical_singleblock.i b/examples/sps/multiapp/diemodel/electrothermomechs/simple_geometries/yttria_electrothermomechanical_singleblock.i index e6a785c..1393ee4 100644 --- a/examples/sps/multiapp/diemodel/electrothermomechs/simple_geometries/yttria_electrothermomechanical_singleblock.i +++ b/examples/sps/multiapp/diemodel/electrothermomechs/simple_geometries/yttria_electrothermomechanical_singleblock.i @@ -63,7 +63,8 @@ initial_temperature = 300 #roughly 600C where the pyrometer kicks in [specific_heat_capacity_va] initial_condition = 842.2 # at 1500K #568.73 at 1000K #447.281 # at 293K [] - [density_va] # initial condition set in ICs block below + [density_va] + # initial condition set in ICs block below [] [heat_transfer_radiation] [] @@ -82,16 +83,17 @@ initial_temperature = 300 #roughly 600C where the pyrometer kicks in [] [Physics] - [SolidMechanics/QuasiStatic] - [graphite] - strain = FINITE - incremental = true - add_variables = true - use_automatic_differentiation = true - generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy ' - 'stress_zz plastic_strain_yy' - extra_vector_tags = 'ref' - eigenstrain_names = 'thermal_expansion' + [SolidMechanics] + [QuasiStatic] + [graphite] + strain = FINITE + incremental = true + add_variables = true + use_automatic_differentiation = true + generate_output = 'strain_xx strain_xy strain_yy strain_zz stress_xx stress_xy stress_yy stress_zz plastic_strain_yy' + extra_vector_tags = 'ref' + eigenstrain_names = 'thermal_expansion' + [] [] [] []