Skip to content

Commit

Permalink
Address @rwcarlsen review
Browse files Browse the repository at this point in the history
Use command line arguments to simplify interface value tests, #16099
  • Loading branch information
GiudGiud committed Nov 12, 2020
1 parent 6bc998e commit 8000835
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 364 deletions.
6 changes: 3 additions & 3 deletions test/tests/postprocessors/element_integral_var_pps/tests
Expand Up @@ -10,23 +10,23 @@
input = 'initial_pps.i'
exodiff = 'out_initial_pps.e'

detail = 'during the initial setup step and'
detail = 'during the initial setup step'
[]

[pps_old_test]
type = 'Exodiff'
input = 'pps_old_value.i'
exodiff = 'pps_old_value_out.e'

detail = 'at the end of each time step, for both FE and'
detail = 'and at the end of each time step, for FE variables'
[]

[pps_old_test_fv]
type = 'Exodiff'
input = 'pps_old_value_fv.i'
exodiff = 'pps_old_value_fv_out.e'

detail = 'FV variables.'
detail = 'and FV variables.'
[]
[]
[]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

@@ -1,3 +1,5 @@
postprocessor_type = InterfaceAverageVariableValuePostprocessor

[Mesh]
[gen]
type = GeneratedMeshGenerator
Expand Down Expand Up @@ -107,47 +109,47 @@

[Postprocessors]
[./diffusivity_average]
type = InterfaceAverageVariableValuePostprocessor
type = ${postprocessor_type}
interface_value_type = average
variable = diffusivity_1
neighbor_variable = diffusivity_2
execute_on = TIMESTEP_END
boundary = 'interface'
[../]
[./diffusivity_jump_primary_secondary]
type = InterfaceAverageVariableValuePostprocessor
type = ${postprocessor_type}
interface_value_type = jump_primary_minus_secondary
variable = diffusivity_1
neighbor_variable = diffusivity_2
execute_on = TIMESTEP_END
boundary = 'interface'
[../]
[./diffusivity_jump_secondary_primary]
type = InterfaceAverageVariableValuePostprocessor
type = ${postprocessor_type}
interface_value_type = jump_secondary_minus_primary
variable = diffusivity_1
neighbor_variable = diffusivity_2
execute_on = TIMESTEP_END
boundary = 'interface'
[../]
[./diffusivity_jump_abs]
type = InterfaceAverageVariableValuePostprocessor
type = ${postprocessor_type}
interface_value_type = jump_abs
variable = diffusivity_1
neighbor_variable = diffusivity_2
execute_on = TIMESTEP_END
boundary = 'interface'
[../]
[./diffusivity_primary]
type = InterfaceAverageVariableValuePostprocessor
type = ${postprocessor_type}
interface_value_type = primary
variable = diffusivity_1
neighbor_variable = diffusivity_2
execute_on = TIMESTEP_END
boundary = 'interface'
[../]
[./diffusivity_secondary]
type = InterfaceAverageVariableValuePostprocessor
type = ${postprocessor_type}
interface_value_type = secondary
variable = diffusivity_1
neighbor_variable = diffusivity_2
Expand All @@ -162,5 +164,6 @@
[]

[Outputs]
file_base = ${raw ${postprocessor_type} _fe}
exodus = true
[]
@@ -1,3 +1,5 @@
postprocessor_type = InterfaceAverageVariableValuePostprocessor

[Mesh]
[gen]
type = GeneratedMeshGenerator
Expand Down Expand Up @@ -106,47 +108,47 @@

[Postprocessors]
[./diffusivity_average]
type = InterfaceIntegralVariableValuePostprocessor
type = ${postprocessor_type}
interface_value_type = average
variable = diffusivity_1
neighbor_variable = diffusivity_2
execute_on = TIMESTEP_END
boundary = 'interface'
[../]
[./diffusivity_jump_primary_secondary]
type = InterfaceIntegralVariableValuePostprocessor
type = ${postprocessor_type}
interface_value_type = jump_primary_minus_secondary
variable = diffusivity_1
neighbor_variable = diffusivity_2
execute_on = TIMESTEP_END
boundary = 'interface'
[../]
[./diffusivity_jump_secondary_primary]
type = InterfaceIntegralVariableValuePostprocessor
type = ${postprocessor_type}
interface_value_type = jump_secondary_minus_primary
variable = diffusivity_1
neighbor_variable = diffusivity_2
execute_on = TIMESTEP_END
boundary = 'interface'
[../]
[./diffusivity_jump_abs]
type = InterfaceIntegralVariableValuePostprocessor
type = ${postprocessor_type}
interface_value_type = jump_abs
variable = diffusivity_1
neighbor_variable = diffusivity_2
execute_on = TIMESTEP_END
boundary = 'interface'
[../]
[./diffusivity_primary]
type = InterfaceIntegralVariableValuePostprocessor
type = ${postprocessor_type}
interface_value_type = primary
variable = diffusivity_1
neighbor_variable = diffusivity_2
execute_on = TIMESTEP_END
boundary = 'interface'
[../]
[./diffusivity_secondary]
type = InterfaceIntegralVariableValuePostprocessor
type = ${postprocessor_type}
interface_value_type = secondary
variable = diffusivity_1
neighbor_variable = diffusivity_2
Expand All @@ -165,5 +167,6 @@
[]

[Outputs]
file_base = ${postprocessor_type}
exodus = true
[]

0 comments on commit 8000835

Please sign in to comment.