Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish up a variety of modules' SQA missing items to be able to enforce checks #28464

Closed
wants to merge 12 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions modules/combined/examples/geochem-porous_flow/forge/tests
Original file line number Diff line number Diff line change
Expand Up @@ -3,68 +3,68 @@
type = CSVDiff
input = water_60degC.i
csvdiff = water_60degC_out.csv
requirement = "The geochemistry model shall be able to solve aqueous geochemical systems in contact with minerals"
requirement = "The system shall be able to solve aqueous geochemical systems in contact with minerals, for water at equilibrium at a constant 60C temperature."
issues = '#15693'
design = 'geotes_forge.md'
design = 'forge.md'
[../]
[./water_60_to_220degC]
type = CSVDiff
input = water_60_to_220degC.i
csvdiff = water_60_to_220degC_out.csv
requirement = "The geochemistry model shall be able to solve aqueous geochemical systems in contact with minerals"
requirement = "The system shall be able to solve aqueous geochemical systems in contact with minerals, for water in a reservoir."
issues = '#15693'
design = 'geotes_forge.md'
design = 'forge.md'
[../]
[./kinetic]
type = CSVDiff
input = kinetic.i
csvdiff = kinetic_out.csv
requirement = "The geochemistry model shall be able to solve aqueous geochemical systems in contact with kinetic minerals"
requirement = "The system shall be able to solve aqueous geochemical systems in contact with kinetic minerals"
issues = '#15693'
design = 'geotes_forge.md'
design = 'forge.md'
[../]
[./water_3]
type = CSVDiff
input = water_3.i
csvdiff = water_3_out.csv
requirement = "The geochemistry model shall be able to solve aqueous geochemical systems with varying temperatures and varying pH"
requirement = "The system shall be able to solve aqueous geochemical systems with varying temperatures and varying pH"
issues = '#15693'
design = 'geotes_forge.md'
design = 'forge.md'
[../]
[./natural_reservoir]
type = CSVDiff
input = natural_reservoir.i
csvdiff = natural_reservoir_out.csv
cli_args = 'Executioner/end_time=4E2'
requirement = "The geochemistry model shall be able to solve aqueous geochemical systems in contact with minerals"
requirement = "The system shall be able to solve aqueous geochemical systems in contact with minerals, for water enclosed in a natural reservoir."
issues = '#15693'
design = 'geotes_forge.md'
design = 'forge.md'
[../]
[./reservoir_and_water_3]
type = CSVDiff
input = reservoir_and_water_3.i
csvdiff = reservoir_and_water_3_out.csv
cli_args = 'Executioner/end_time=4E6'
requirement = "The geochemistry model shall be able to solve aqueous geochemical systems in contact with minerals"
requirement = "The system shall be able to solve aqueous geochemical systems in contact with minerals to examine water injection in a natural reservoir."
issues = '#15693'
design = 'geotes_forge.md'
design = 'forge.md'
[../]
[./porous_flow]
type = CSVDiff
input = porous_flow.i
csvdiff = porous_flow_out.csv
cli_args = "MultiApps/active='' Transfers/active='' Mesh/gen/nx=9 Mesh/gen/ny=8 Executioner/end_time=500 FluidProperties/the_simple_fluid/thermal_expansion=0"
requirement = "The geochemistry model shall be able to solve aqueous geochemical systems in contact with minerals"
requirement = "The system shall be able to solve aqueous geochemical systems in contact with minerals to examine water injection in a natural reservoir without geochemistry"
issues = '#15693'
design = 'geotes_forge.md'
design = 'forge.md'
[../]
[./aquifer_geochemistry_alone]
type = CSVDiff
input = aquifer_geochemistry.i
csvdiff = aquifer_geochemistry_out.csv
cli_args = 'Mesh/gen/nx=3 Mesh/gen/ny=2 Executioner/TimeStepper/function=1E2 Executioner/end_time=4E2'
requirement = "The geochemistry model shall be able to solve aqueous geochemical systems in contact with minerals"
requirement = "The system shall be able to solve aqueous geochemical systems in contact with minerals to examine water injection in a natural reservoir with reactive transport / geochemistry."
issues = '#15693'
design = 'geotes_forge.md'
design = 'forge.md'
[../]
[]
8 changes: 4 additions & 4 deletions modules/combined/examples/geochem-porous_flow/geotes_2D/tests
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
type = CSVDiff
input = aquifer_equilibrium.i
csvdiff = aquifer_equilibrium_out.csv
requirement = "The geochemistry model shall be able to find the molality of species at equilibrium with free minerals"
requirement = "The geochemistry model shall be able to find the molality of species at equilibrium with free minerals, with quartz-like minerals."
issues = '#15693'
design = 'geotes_2D.md'
[../]
Expand All @@ -20,7 +20,7 @@
input = 'aquifer_geochemistry.i'
csvdiff = 'aquifer_geochemistry_out.csv'
cli_args = 'Outputs/exodus=false Executioner/end_time=1E5'
requirement = "Spatially-dependent aquifer geochemical models shall be possible in the geochemistry module"
requirement = "The system shhall be able to model spatially-dependent aquifer geochemical models."
issues = '#15693'
design = 'geotes_2D.md'
[../]
Expand All @@ -29,7 +29,7 @@
input = 'aquifer_un_quartz_geochemistry.i'
csvdiff = 'aquifer_un_quartz_geochemistry_out.csv'
cli_args = 'Outputs/exodus=false Executioner/end_time=1E5'
requirement = "Spatially-dependent aquifer geochemical models shall be possible in the geochemistry module"
requirement = "The system shhall be able to model spatially-dependent aquifer geochemical models with unquartz-like minerals."
issues = '#15693'
design = 'geotes_2D.md'
[../]
Expand Down Expand Up @@ -61,7 +61,7 @@
cli_args = 'Executioner/end_time=2E5 Outputs/file_base=exchanger_un_quartz_2steps'
heavy = true
prereq = porous_flow
requirement = "Porous-flow simulations should be able to two-way couple to spatially-dependent geochemical models to simulate reactive transport"
requirement = "The system shall be able to two-way couple porous-flow simulations to spatially-dependent geochemical models to simulate reactive transport, in the presence of unquartz-like minerals"
issues = '#15693'
design = 'geotes_2D.md'
[../]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ NH3; bulk_moles = 0.001937mol; bulk_conc = 30.1mg/kg(soln); molality = 3.163e
csvdiff = 'aquifer_geochemistry_out.csv'
cli_args = 'Outputs/exodus=false Executioner/end_time=1E4'
heavy = true
requirement = "Spatially-dependent aquifer geochemical models shall be possible in the geochemistry module"
requirement = "The system shall be able to model spatially-dependent aquifer geochemical models."
issues = '#15693'
design = 'geotes_weber_tensleep.md'
[../]
Expand All @@ -77,7 +77,7 @@ NH3; bulk_moles = 0.001937mol; bulk_conc = 30.1mg/kg(soln); molality = 3.163e
cli_args = 'Executioner/end_time=1E4'
prereq = 'aquifer_geochemistry_only'
heavy = true
requirement = "Porous-flow simulations should be able to couple to spatially-dependent geochemical models to simulate reactive transport"
requirement = "The system should be able to couple porous-flow simulations to spatially-dependent geochemical models to simulate reactive transport for spatially-dependent aquifer models."
issues = '#15693'
design = 'geotes_weber_tensleep.md'
[../]
Expand All @@ -88,7 +88,7 @@ NH3; bulk_moles = 0.001937mol; bulk_conc = 30.1mg/kg(soln); molality = 3.163e
cli_args = 'Executioner/end_time=2E4'
prereq = 'porous_flow'
heavy = true
requirement = "Geochemical models should be able to two-way couple with porous-flow simulations"
requirement = "The system shall be able to two-way couple geochemical models with porous-flow simulations for spatially-dependent aquifer model."
issues = '#15693'
design = 'geotes_weber_tensleep.md'
[../]
Expand Down
68 changes: 34 additions & 34 deletions modules/combined/examples/stochastic/tests
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
[Tests]
design = '/stochastic_tools/index.md'
issues = '#14933'
requirement = "The system shall use stochastic methods on a thermomechanics model to "

[lhs_stats]
type = JSONDiff
input = lhs_uniform.i
cli_args = 'Samplers/sample/num_rows=10'
jsondiff = 'lhs_uniform_out.json'
detail = "sample and compute statistics, "
method = opt # a bit too slow for debug
[]
[poly_chaos_train_uniform]
type = CheckFiles
input = poly_chaos_train_uniform.i
cli_args = 'Samplers/sample/order=1'
check_files = 'poly_chaos_train_uniform_out_dispx_center_inner.rd/data
poly_chaos_train_uniform_out_dispx_center_outer.rd/data
poly_chaos_train_uniform_out_dispx_end_inner.rd/data
poly_chaos_train_uniform_out_dispx_end_outer.rd/data
poly_chaos_train_uniform_out_dispz_inner.rd/data
poly_chaos_train_uniform_out_dispz_outer.rd/data
poly_chaos_train_uniform_out_temp_center_inner.rd/data
poly_chaos_train_uniform_out_temp_center_outer.rd/data
poly_chaos_train_uniform_out_temp_end_inner.rd/data
poly_chaos_train_uniform_out_temp_end_outer.rd/data'
detail = "train a polynomial chaos surrogate, and "
[]
[poly_chaos_uniform]
type = JSONDiff
input = poly_chaos_uniform.i
cli_args = 'Samplers/sample/num_rows=10'
jsondiff = 'poly_chaos_uniform_out.json'
allow_test_objects = true
detail = "evaluate a polynomial chaos surrogate."
prereq = poly_chaos_train_uniform
[stochastic_thermomecha]
requirement = "The system shall use stochastic methods on a thermomechanics model to "
[lhs_stats]
type = JSONDiff
input = lhs_uniform.i
cli_args = 'Samplers/sample/num_rows=10'
jsondiff = 'lhs_uniform_out.json'
detail = "sample and compute statistics, "
method = opt # a bit too slow for debug
[]
[poly_chaos_train_uniform]
type = CheckFiles
input = poly_chaos_train_uniform.i
cli_args = 'Samplers/sample/order=1'
check_files = 'poly_chaos_train_uniform_out_dispx_center_inner.rd/data
poly_chaos_train_uniform_out_dispx_center_outer.rd/data
poly_chaos_train_uniform_out_dispx_end_inner.rd/data
poly_chaos_train_uniform_out_dispx_end_outer.rd/data
poly_chaos_train_uniform_out_dispz_inner.rd/data
poly_chaos_train_uniform_out_dispz_outer.rd/data
poly_chaos_train_uniform_out_temp_center_inner.rd/data
poly_chaos_train_uniform_out_temp_center_outer.rd/data
poly_chaos_train_uniform_out_temp_end_inner.rd/data
poly_chaos_train_uniform_out_temp_end_outer.rd/data'
detail = "train a polynomial chaos surrogate, and "
[]
[poly_chaos_uniform]
type = JSONDiff
input = poly_chaos_uniform.i
cli_args = 'Samplers/sample/num_rows=10'
jsondiff = 'poly_chaos_uniform_out.json'
allow_test_objects = true
detail = "evaluate a polynomial chaos surrogate."
[]
[]
[]
39 changes: 21 additions & 18 deletions modules/combined/test/tests/application_block_check/tests
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
[Tests]
issues = '#26474'
design = 'syntax/Application/index.md CreateApplicationBlockAction.md'
requirement = "The system shall support running a simulation with application type check and"

[no_application_block]
type = 'RunApp'
input = 'application_block.i'
detail = "not return an error when the application type is omitted"
[]
[application_type]
requirement = "The system shall support running a simulation with application type check and"

[registered_application]
type = 'RunApp'
input = 'application_block.i'
cli_args = 'Application/type=ContactApp'
detail = "not return an error when the application type is registered correctly"
[]
[no_application_block]
type = 'RunApp'
input = 'application_block.i'
detail = "not return an error when the application type is omitted"
[]

[registered_application]
type = 'RunApp'
input = 'application_block.i'
cli_args = 'Application/type=ContactApp'
detail = "not return an error when the application type is registered correctly"
[]

[unregistered_application]
type = 'RunException'
input = 'application_block.i'
cli_args = 'Application/type=DummyApp'
expect_err = "'DummyApp' is not a registered application name."
detail = "return an error message when the application type is not registered."
[unregistered_application]
type = 'RunException'
input = 'application_block.i'
cli_args = 'Application/type=DummyApp'
expect_err = "'DummyApp' is not a registered application name."
detail = "return an error message when the application type is not registered."
[]
[]
[]
8 changes: 4 additions & 4 deletions modules/combined/test/tests/elastic_patch/tests
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
exodiff = 'ad_elastic_patch_plane_strain_out.e'
scale_refine = 1
requirement = 'AD density shall calculate the density due to changes in strain in the plane strain formulation'
design = "ADDensity.md"
design = "Density.md"
issues = "#12633"
[]
[rz]
Expand All @@ -33,7 +33,7 @@
exodiff = 'ad_elastic_patch_rz_out.e'
scale_refine = 1
requirement = 'AD density shall calculate the density due to changes in strain in the 2DRZ formulation'
design = "ADDensity.md"
design = "Density.md"
issues = "#12633"
[]
[rz_nonlinear]
Expand All @@ -49,7 +49,7 @@
input = 'ad_elastic_patch_rz_nonlinear.i'
exodiff = 'ad_elastic_patch_rz_nonlinear_out.e'
requirement = 'AD density shall calculate the density due to changes in strain in the 2DRZ eigenstrain formulation'
design = "ADDensity.md"
design = "Density.md"
issues = "#12633"
[]
[rspherical]
Expand All @@ -65,7 +65,7 @@
input = 'ad_elastic_patch_rspherical.i'
exodiff = 'ad_elastic_patch_rspherical_out.e'
requirement = 'AD density shall calculate the density due to changes in strain in the spherical formulation'
design = "ADDensity.md"
design = "Density.md"
issues = "#12633"
[]
[]
2 changes: 1 addition & 1 deletion modules/combined/test/tests/elastic_thermal_patch/tests
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
exodiff = 'elastic_thermal_patch_out.e'
abs_zero = 1e-08
use_old_floor = True
requirement = 'The system shall compute uniform thermal strain for a uniform change in temperature'
requirement = 'The system shall compute uniform thermal strain for a uniform change in temperature with an irregular patch mesh.'
[../]

[./elastic_thermal_patch_rz]
Expand Down
Loading