Skip to content

Commit

Permalink
Add a transient test for laplacian jump
Browse files Browse the repository at this point in the history
Make sure it works for recover and distributed mesh.
closes idaholab#2190
  • Loading branch information
permcody committed Nov 15, 2017
1 parent 3d8cf72 commit f432687
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 0 deletions.
Binary file not shown.
@@ -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
[]
6 changes: 6 additions & 0 deletions test/tests/indicators/laplacian_jump_indicator/tests
Expand Up @@ -5,4 +5,10 @@
exodiff = 'laplacian_jump_indicator_test_out.e'
scale_refine = 2
[../]

[./test_transient]
type = 'Exodiff'
input = 'laplacian_jump_transient.i'
exodiff = 'laplacian_jump_transient_out.e'
[../]
[]

0 comments on commit f432687

Please sign in to comment.