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.
Add a transient test for laplacian jump
Make sure it works for recover and distributed mesh. closes idaholab#2190
- Loading branch information
Showing
3 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+31.1 KB
test/tests/indicators/laplacian_jump_indicator/gold/laplacian_jump_transient_out.e
Binary file not shown.
70 changes: 70 additions & 0 deletions
70
test/tests/indicators/laplacian_jump_indicator/laplacian_jump_transient.i
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,70 @@ | ||
[Mesh] | ||
type = GeneratedMesh | ||
dim = 2 | ||
nx = 5 | ||
ny = 5 | ||
nz = 0 | ||
[] | ||
|
||
[Variables] | ||
[./u] | ||
order = THIRD | ||
family = HERMITE | ||
[../] | ||
[] | ||
|
||
[Kernels] | ||
[./diff] | ||
type = Diffusion | ||
variable = u | ||
[../] | ||
[./conv] | ||
type = Convection | ||
variable = u | ||
velocity = '1 0 0' | ||
[../] | ||
[./time] | ||
type = TimeDerivative | ||
variable = u | ||
[../] | ||
[] | ||
|
||
[BCs] | ||
[./left] | ||
type = DirichletBC | ||
variable = u | ||
boundary = left | ||
value = 0 | ||
[../] | ||
[./right] | ||
type = DirichletBC | ||
variable = u | ||
boundary = right | ||
value = 1 | ||
[../] | ||
[./divbc] | ||
type = DivergenceBC | ||
variable = u | ||
boundary = 'left right' | ||
[../] | ||
[] | ||
|
||
[Adaptivity] | ||
[./Indicators] | ||
[./error] | ||
type = LaplacianJumpIndicator | ||
variable = u | ||
scale_by_flux_faces = true | ||
[../] | ||
[../] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
num_steps = 4 | ||
dt = 0.1 | ||
[] | ||
|
||
[Outputs] | ||
exodus = true | ||
[] |
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