Skip to content

Commit

Permalink
Merge pull request idaholab#137 from apb13/hit_directed-energy_128
Browse files Browse the repository at this point in the history
hit formatting of directed energy input files
  • Loading branch information
sapitts authored Jul 9, 2024
2 parents 49e2050 + aabd824 commit 77649ad
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,21 +127,25 @@ dt = 200
[]
[]

[Physics/SolidMechanics/QuasiStatic]
strain = FINITE
incremental = true
generate_output = 'stress_xx stress_yy stress_zz stress_xy stress_yz stress_xz strain_yy strain_xx '
'strain_zz strain_xy strain_xz strain_yz'
use_automatic_differentiation = true
[product]
block = '2'
eigenstrain_names = 'thermal_eigenstrain_product'
use_automatic_differentiation = true
[]
[substrate]
block = '3'
eigenstrain_names = 'thermal_eigenstrain_substrate'
use_automatic_differentiation = true
[Physics]
[SolidMechanics]
[QuasiStatic]
strain = FINITE
incremental = true
generate_output = 'stress_xx stress_yy stress_zz stress_xy stress_yz stress_xz strain_yy strain_xx '
'strain_zz strain_xy strain_xz strain_yz'
use_automatic_differentiation = true
[product]
block = '2'
eigenstrain_names = 'thermal_eigenstrain_product'
use_automatic_differentiation = true
[]
[substrate]
block = '3'
eigenstrain_names = 'thermal_eigenstrain_substrate'
use_automatic_differentiation = true
[]
[]
[]
[]

Expand Down Expand Up @@ -255,15 +259,19 @@ dt = 200
marker = marker
initial_marker = marker
max_h_level = 3
[Indicators/indicator]
type = GradientJumpIndicator
variable = temp_aux
[]
[Markers/marker]
type = ErrorFractionMarker
indicator = indicator
coarsen = 0 # coarsening is pending MOOSE PR #23078 being merged
refine = 0.5
[Indicators]
[indicator]
type = GradientJumpIndicator
variable = temp_aux
[]
[]
[Markers]
[marker]
type = ErrorFractionMarker
indicator = indicator
coarsen = 0 # coarsening is pending MOOSE PR #23078 being merged
refine = 0.5
[]
[]
[]

Expand Down
22 changes: 13 additions & 9 deletions examples/directed_energy_deposition/cylinder/sub_app_thermal.i
Original file line number Diff line number Diff line change
Expand Up @@ -261,15 +261,19 @@ dt = 200
marker = marker
initial_marker = marker
max_h_level = 2
[Indicators/indicator]
type = GradientJumpIndicator
variable = temp
[]
[Markers/marker]
type = ErrorFractionMarker
indicator = indicator
coarsen = 0 # coarsening is pending MOOSE PR #23078 being merged
refine = 0.5
[Indicators]
[indicator]
type = GradientJumpIndicator
variable = temp
[]
[]
[Markers]
[marker]
type = ErrorFractionMarker
indicator = indicator
coarsen = 0 # coarsening is pending MOOSE PR #23078 being merged
refine = 0.5
[]
[]
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,21 +127,25 @@ dt = 20
[]
[]

[Physics/SolidMechanics/QuasiStatic]
strain = FINITE
incremental = true
generate_output = 'stress_xx stress_yy stress_zz stress_xy stress_yz stress_xz strain_yy strain_xx '
'strain_zz strain_xy strain_xz strain_yz'
use_automatic_differentiation = true
[product]
block = '2'
eigenstrain_names = 'thermal_eigenstrain_product'
use_automatic_differentiation = true
[]
[substrate]
block = '3'
eigenstrain_names = 'thermal_eigenstrain_substrate'
use_automatic_differentiation = true
[Physics]
[SolidMechanics]
[QuasiStatic]
strain = FINITE
incremental = true
generate_output = 'stress_xx stress_yy stress_zz stress_xy stress_yz stress_xz strain_yy strain_xx '
'strain_zz strain_xy strain_xz strain_yz'
use_automatic_differentiation = true
[product]
block = '2'
eigenstrain_names = 'thermal_eigenstrain_product'
use_automatic_differentiation = true
[]
[substrate]
block = '3'
eigenstrain_names = 'thermal_eigenstrain_substrate'
use_automatic_differentiation = true
[]
[]
[]
[]

Expand Down Expand Up @@ -255,15 +259,19 @@ dt = 20
marker = marker
initial_marker = marker
max_h_level = 3
[Indicators/indicator]
type = GradientJumpIndicator
variable = temp_aux
[]
[Markers/marker]
type = ErrorFractionMarker
indicator = indicator
coarsen = 0 # coarsening is pending MOOSE PR #23078 being merged
refine = 0.5
[Indicators]
[indicator]
type = GradientJumpIndicator
variable = temp_aux
[]
[]
[Markers]
[marker]
type = ErrorFractionMarker
indicator = indicator
coarsen = 0 # coarsening is pending MOOSE PR #23078 being merged
refine = 0.5
[]
[]
[]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,15 +266,19 @@ dt = 20
marker = marker
initial_marker = marker
max_h_level = 2
[Indicators/indicator]
type = GradientJumpIndicator
variable = temp
[]
[Markers/marker]
type = ErrorFractionMarker
indicator = indicator
coarsen = 0 # coarsening is pending MOOSE PR #23078 being merged
refine = 0.5
[Indicators]
[indicator]
type = GradientJumpIndicator
variable = temp
[]
[]
[Markers]
[marker]
type = ErrorFractionMarker
indicator = indicator
coarsen = 0 # coarsening is pending MOOSE PR #23078 being merged
refine = 0.5
[]
[]
[]

Expand Down

0 comments on commit 77649ad

Please sign in to comment.