Skip to content

Commit

Permalink
Merge pull request #238 from lanl/strength
Browse files Browse the repository at this point in the history
updated artificial viscosity UI and storage of values
  • Loading branch information
nathanielmorgan authored Nov 18, 2024
2 parents 837bfa6 + b0dc343 commit 1640139
Show file tree
Hide file tree
Showing 26 changed files with 637 additions and 173 deletions.
20 changes: 12 additions & 8 deletions single-node-refactor/input-impact-erosion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,13 @@ materials:
eos_model_type: decoupled
eos_model: gamma_law_gas
# strength_model: none
q1: 1.0
q2: 1.333
q1ex: 1.0
q2ex: 1.333
dissipation_global_vars:
- 1.0 # q1
- 1.0 # q1ex
- 1.333 # q2
- 1.333 # q2ex
- 0.0 # phi_min
- 0 # use edge normals
eos_global_vars:
- 3.0
- 1.0E-4
Expand All @@ -76,10 +79,11 @@ materials:
eos_model_type: decoupled
eos_model: gamma_law_gas
# strength_model: none
q1: 1.0
q2: 1.333
q1ex: 1.0
q2ex: 1.333
dissipation_global_vars:
- 1.0 # q1
- 1.333 # q1ex
- 1.0 # q2
- 1.333 # q2ex
eos_global_vars:
- 1.666666666666667
- 1.0E-4
Expand Down
88 changes: 88 additions & 0 deletions single-node-refactor/input-noh-rz.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# num_dims: 2

dynamic_options:
time_final: 0.6
dt_min: 1.e-8
dt_max: 1.e-2
dt_start: 1.e-5
cycle_stop: 300000


# mesh_options:
# source: file
# file_path: /var/tmp/repos/Fierro/fork/Fierro/testing/meshes/mesh_Sedov_8.geo

mesh_options:
source: generate
num_dims: 2
type: box
origin: [0.0, 0.0]
length: [1.0, 1.0]
num_elems: [12, 12]


output_options:
timer_output_level: thorough
output_file_format: ensight
graphics_time_step: 0.6
# graphics_iteration_step: 10

solver_options:
- solver:
method: SGHRZ
# solver_vars:
# - blah
# - blah
# - blah

boundary_conditions:
# Tag X plane
- boundary_condition:
solver: SGHRZ
geometry: x_plane
direction: x_dir
value: 0.0
type: reflected_velocity


# Tag Y plane
- boundary_condition:
solver: SGHRZ
geometry: y_plane
direction: y_dir
value: 0.0
type: reflected_velocity




materials:
- material:
id: 0
eos_model_type: decoupled
eos_model: gamma_law_gas
# strength_model: none
dissipation_global_vars:
- 1.0 # q1
- 1.0 # q1ex
- 1.333 # q2
- 1.333 # q2ex
- 0 # phi_min
- 0 # use edge normals
eos_global_vars:
- 1.666666666666667
- 1.0E-14
- 1.0

regions:
- fill_volume:
type: global
material_id: 0
den: 1.0
sie: 1.e-10
velocity: radial
speed: -1.0




95 changes: 95 additions & 0 deletions single-node-refactor/input-noh.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# num_dims: 3

dynamic_options:
time_final: 0.6
dt_min: 1.e-8
dt_max: 1.e-2
dt_start: 1.e-5
cycle_stop: 300000


# mesh_options:
# source: file
# file_path: /var/tmp/repos/Fierro/fork/Fierro/testing/meshes/mesh_Sedov_8.geo

mesh_options:
source: generate
num_dims: 3
type: box
origin: [0.0, 0.0, 0.0]
length: [1.0, 1.0, 1.0]
num_elems: [12, 12, 12]


output_options:
timer_output_level: thorough
output_file_format: state
graphics_time_step: 0.6
# graphics_iteration_step: 10

solver_options:
- solver:
method: SGH3D
# solver_vars:
# - blah
# - blah
# - blah

boundary_conditions:
# Tag X plane
- boundary_condition:
solver: SGH3D
geometry: x_plane
direction: x_dir
value: 0.0
type: reflected_velocity


# Tag Y plane
- boundary_condition:
solver: SGH3D
geometry: y_plane
direction: y_dir
value: 0.0
type: reflected_velocity

# Tag z plane
- boundary_condition:
solver: SGH3D
geometry: z_plane
direction: z_dir
value: 0.0
type: reflected_velocity



materials:
- material:
id: 0
eos_model_type: decoupled
eos_model: gamma_law_gas
# strength_model: none
dissipation_global_vars:
- 1.0 # q1
- 1.0 # q1ex
- 1.333 # q2
- 1.333 # q2ex
- 0 # phi_min
- 0 # use edge normals
eos_global_vars:
- 1.666666666666667
- 1.0E-14
- 1.0

regions:
- fill_volume:
type: global
material_id: 0
den: 1.0
sie: 1.e-10
velocity: spherical
speed: -1.0




20 changes: 12 additions & 8 deletions single-node-refactor/input-origin-erosion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,13 @@ materials:
eos_model_type: decoupled
eos_model: gamma_law_gas
# strength_model: none
q1: 1.0
q2: 1.333
q1ex: 1.0
q2ex: 1.333
dissipation_global_vars:
- 1.0 # q1
- 1.0 # q1ex
- 1.333 # q2
- 1.333 # q2ex
- 0.0 # phi_min
- 0 # use edge normals
eos_global_vars:
- 1.666666666666667
- 1.0E-14
Expand All @@ -88,10 +91,11 @@ materials:
eos_model_type: decoupled
eos_model: gamma_law_gas
# strength_model: none
q1: 1.0
q2: 1.333
q1ex: 1.0
q2ex: 1.333
dissipation_global_vars:
- 1.0 # q1
- 1.333 # q1ex
- 1.0 # q2
- 1.333 # q2ex
eos_global_vars:
- 1.666666666666667
- 1.0E-14
Expand Down
15 changes: 9 additions & 6 deletions single-node-refactor/input-rz-polar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dynamic_options:
dt_min: 1.e-8
dt_max: 1.e-2
dt_start: 1.e-5
cycle_stop: 10000
cycle_stop: 100000


# mesh_options:
Expand All @@ -28,7 +28,7 @@ mesh_options:

output_options:
timer_output_level: thorough
output_file_format: state #ensight state
output_file_format: ensight #ensight state
graphics_time_step: 0.25
#graphics_iteration_step: 2

Expand Down Expand Up @@ -78,10 +78,13 @@ materials:
eos_model_type: decoupled
eos_model: gamma_law_gas
# strength_model: none
q1: 1.0
q2: 1.333
q1ex: 1.0
q2ex: 1.333
dissipation_global_vars:
- 1.0 # q1
- 1.0 # q1ex
- 1.333 # q2
- 1.333 # q2ex
- 0.0 # phi_min
- 0 # use edge normals
eos_global_vars:
- 1.666666666666667
- 1.0E-14
Expand Down
20 changes: 12 additions & 8 deletions single-node-refactor/input-rz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,13 @@ materials:
eos_model_type: decoupled
eos_model: gamma_law_gas
# strength_model: none
q1: 1.0
q2: 1.333
q1ex: 1.0
q2ex: 1.333
dissipation_global_vars:
- 1.0 # q1
- 1.0 # q1ex
- 1.333 # q2
- 1.333 # q2ex
- 0.0 # phi_min
- 0 # use edge normals
eos_global_vars:
- 1.666666666666667
- 1.0E-14
Expand All @@ -75,10 +78,11 @@ materials:
eos_model_type: decoupled
eos_model: gamma_law_gas
# strength_model: none
q1: 1.0
q2: 1.333
q1ex: 1.0
q2ex: 1.333
dissipation_global_vars:
- 1.0 # q1
- 1.333 # q1ex
- 1.0 # q2
- 1.333 # q2ex
eos_global_vars:
- 1.666666666666667
- 1.0E-14
Expand Down
11 changes: 7 additions & 4 deletions single-node-refactor/input-sgtm-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,13 @@ materials:
eos_model_type: decoupled
eos_model: gamma_law_gas
# strength_model: none
q1: 1.0
q2: 1.333
q1ex: 1.0
q2ex: 1.333
dissipation_global_vars:
- 1.0 # q1
- 1.0 # q1ex
- 1.333 # q2
- 1.333 # q2ex
- 0.0 # phi_min
- 0 # use edge normals
eos_global_vars:
- 1.666666666666667
- 1.0E-14
Expand Down
11 changes: 7 additions & 4 deletions single-node-refactor/input.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,13 @@ materials:
eos_model_type: decoupled
eos_model: gamma_law_gas
# strength_model: none
q1: 1.0
q2: 1.333
q1ex: 1.0
q2ex: 1.333
dissipation_global_vars:
- 1.0 # q1
- 1.0 # q1ex
- 1.333 # q2
- 1.333 # q2ex
- 0 # phi_min
- 0 # use edge normals
eos_global_vars:
- 1.666666666666667
- 1.0E-14
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,13 @@ materials:
eos_model_type: decoupled
eos_model: gamma_law_gas
# strength_model: none
q1: 1.0
q2: 1.333
q1ex: 1.0
q2ex: 1.333
dissipation_global_vars:
- 1.0 # q1
- 1.0 # q1ex
- 1.333 # q2
- 1.333 # q2ex
- 0.0 # phi_min
- 0 # use edge normals
eos_global_vars:
- 1.666666666666667
- 1.0E-14
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ regions:
material_id: 0
den: 1.0
sie: 1.e-10

velocity: spherical
speed: -1.0

Loading

0 comments on commit 1640139

Please sign in to comment.