forked from idaholab/moose
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a test for parameter: Mesh/allow_uniform_refine_when_use_split=…
…true Closes idaholab#18575
- Loading branch information
Showing
8 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
[Mesh] | ||
[./square] | ||
type = GeneratedMeshGenerator | ||
nx = 16 | ||
ny = 16 | ||
nz = 16 | ||
dim = 3 | ||
[../] | ||
[] | ||
|
||
[Variables] | ||
[./u] | ||
[../] | ||
[] | ||
|
||
[Kernels] | ||
[./diff] | ||
type = Diffusion | ||
variable = u | ||
[../] | ||
[] | ||
|
||
[BCs] | ||
[./left] | ||
type = DirichletBC | ||
variable = u | ||
preset = false | ||
boundary = 3 | ||
value = 0 | ||
[../] | ||
|
||
[./right] | ||
type = DirichletBC | ||
variable = u | ||
preset = false | ||
boundary = 1 | ||
value = 1 | ||
[../] | ||
[] | ||
|
||
[Executioner] | ||
type = Steady | ||
|
||
solve_type = 'NEWTON' | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] |
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 contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[Tests] | ||
design = 'Mesh/index.md Mesh/splitting.md' | ||
|
||
[./square] | ||
type = 'Exodiff' | ||
input = '3d_diffusion.i' | ||
cli_args = '-r 1 Mesh/allow_uniform_refine_when_use_split=true --use-split --split-file square' | ||
exodiff = '3d_diffusion_out.e' | ||
# Pre-split mesh was generated for this particular configuration. | ||
# MOOSE will check these when we read meshes from cpr files | ||
# if (_error_on_different_number_of_processors && (this_n_procs != n_procs)) | ||
# mooseError("Cannot restart using a different number of processors!"); | ||
# if (_error_on_different_number_of_threads && (this_n_threads != n_threads)) | ||
# mooseError("Cannot restart using a different number of threads!"); | ||
min_parallel = 3 | ||
max_parallel = 3 | ||
max_threads = 1 | ||
issues = '#18575' | ||
requirement = 'The system shall support optionally allowing uniform refinements when using a pre-split mesh' | ||
[../] | ||
[] |