Skip to content

Commit

Permalink
Add ghosting to pass the boundary test for block material
Browse files Browse the repository at this point in the history
Ideally, we would use a postprocessor that currently does not have an issue with insufficient
ghosting when used on its own, see idaholab#19534. But I dont think there is one that will trigger
the ghosting we want. I could admittedly make a new one, which would be a rework of SideAverageMaterialProperty,
but it could make that one confusing.
  • Loading branch information
GiudGiud committed Dec 3, 2021
1 parent 375e716 commit c4e0589
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test/tests/materials/piecewise_by_block_material/test.i
Expand Up @@ -21,6 +21,21 @@
[]
[]

[Variables]
[dummy]
type = MooseVariableFVReal
[]
[]

# This is added to have sufficient ghosting layers, see #19534
[FVKernels]
[diff]
type = FVDiffusion
variable = 'dummy'
coeff = 1
[]
[]

[AuxVariables]
[u]
type = MooseVariableFVReal
Expand Down Expand Up @@ -80,4 +95,9 @@

[Outputs]
exodus = true
# To get level of ghosting
[console]
type = Console
system_info = 'framework mesh aux nonlinear execution relationship'
[]
[]
1 change: 1 addition & 0 deletions test/tests/materials/piecewise_by_block_material/tests
Expand Up @@ -6,6 +6,7 @@
exodiff = test_out.e
requirement = 'The system shall provide a material object that can, for a single material property, map subdomain IDs to a possibly discontinuous property value.'
design = 'PiecewiseConstantByBlockMaterial.md'
ad_indexing_type = 'global'
[]
[functor]
type = Exodiff
Expand Down

0 comments on commit c4e0589

Please sign in to comment.