Skip to content

Commit

Permalink
external petsc solver: Added a test where PETSc has a smaller dt
Browse files Browse the repository at this point in the history
  • Loading branch information
fdkong committed Apr 6, 2020
1 parent 02bc232 commit 6248eab
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
design = "ExternalProblem.md"
issues = "#12595"

[external_transient]
[external_petsc]
type = 'Exodiff'
input = 'external_petsc_master.i'
exodiff = 'external_petsc_master_out.e external_petsc_master_out_sub_app0.e'
Expand All @@ -14,19 +14,19 @@
library_mode = 'DYNAMIC'
[]

[external_transient_subcycling]
[external_petsc_subcycling]
type = 'Exodiff'
input = 'external_petsc_master.i'
exodiff = 'external_petsc_master_out.e external_petsc_master_out_sub_app0.e'
cli_args = 'sub_app:Outputs/hide="pid" Outputs/hide="picard_its" MultiApps/sub_app/sub_cycling=true MultiApps/sub_app/output_sub_cycles=true'
allow_warnings = true
prereq = 'external_transient'
prereq = 'external_petsc'
petsc_version = '>=3.8.0'
library_mode = 'DYNAMIC'
requirement = "MOOSE shall be able to couple the PETSc external solver with subcycling."
[]

[external_transient_subcycling_multistep]
[external_petsc_subcycling_multistep]
type = 'Exodiff'
input = 'external_petsc_master.i'
exodiff = 'external_petsc_master_multistep_out.e external_petsc_master_multistep_out_sub_app0.e'
Expand All @@ -37,4 +37,15 @@
requirement = "MOOSE shall be able to couple with the PETSc external solver with multistep subcycling."
[]

[external_petsc_small_dt]
type = 'Exodiff'
input = 'external_petsc_master.i'
exodiff = 'external_petsc_master_small_dt_out.e external_petsc_master_small_dt_out_sub_app0.e'
cli_args = 'sub_app:Outputs/hide="pid" Outputs/hide="picard_its" Outputs/file_base=external_petsc_master_small_dt_out -ts_dt 0.1'
allow_warnings = true
issues = "#12595"
petsc_version = '>=3.8.0'
library_mode = 'DYNAMIC'
requirement = "MOOSE shall handle the simulation correctly when dt in the external petsc solver is smaller than master app."
[]
[]

0 comments on commit 6248eab

Please sign in to comment.