Skip to content

Commit

Permalink
Make sure INSConvectedMesh kernels are being applied to right variables
Browse files Browse the repository at this point in the history
  • Loading branch information
lindsayad authored and cticenhour committed Dec 18, 2018
1 parent 8115c68 commit 8a184f4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
10 changes: 6 additions & 4 deletions test/tests/kc/cold-start-twice-around-circle.i
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ surfacetemp=300
integrate_p_by_parts = true
convective_term = true
transient_term = true
temperature = T
[]

[Mesh]
Expand Down Expand Up @@ -85,6 +86,9 @@ surfacetemp=300
type = Diffusion
variable = disp_z
[../]
[]

[ADKernels]
[./mesh_x]
type = INSConvectedMesh
variable = vel_x
Expand All @@ -95,23 +99,21 @@ surfacetemp=300
[../]
[./mesh_y]
type = INSConvectedMesh
variable = vel_x
variable = vel_y
disp_x = disp_x
disp_y = disp_y
disp_z = disp_z
use_displaced_mesh = true
[../]
[./mesh_z]
type = INSConvectedMesh
variable = vel_x
variable = vel_z
disp_x = disp_x
disp_y = disp_y
disp_z = disp_z
use_displaced_mesh = true
[../]
[]

[ADKernels]
# mass
[./mass]
type = INSADMass
Expand Down
12 changes: 7 additions & 5 deletions test/tests/kc/hot-once-around-circle.i
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ timestep=4e-7
integrate_p_by_parts = true
convective_term = true
transient_term = true
temperature = T
[]

[Mesh]
Expand Down Expand Up @@ -83,6 +84,9 @@ timestep=4e-7
type = Diffusion
variable = disp_z
[../]
[]

[ADKernels]
[./mesh_x]
type = INSConvectedMesh
variable = vel_x
Expand All @@ -93,24 +97,22 @@ timestep=4e-7
[../]
[./mesh_y]
type = INSConvectedMesh
variable = vel_x
variable = vel_y
disp_x = disp_x
disp_y = disp_y
disp_z = disp_z
use_displaced_mesh = true
[../]
[./mesh_z]
type = INSConvectedMesh
variable = vel_x
variable = vel_z
disp_x = disp_x
disp_y = disp_y
disp_z = disp_z
use_displaced_mesh = true
[../]
[]

[ADKernels]
# mass
# mass
[./mass]
type = INSADMass
variable = p
Expand Down

0 comments on commit 8a184f4

Please sign in to comment.