Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParsedGenerateSideset creates error when called after FancyExtruderGenerator #16902

Closed
snschune opened this issue Feb 5, 2021 · 1 comment · Fixed by #16904
Closed

ParsedGenerateSideset creates error when called after FancyExtruderGenerator #16902

snschune opened this issue Feb 5, 2021 · 1 comment · Fixed by #16904
Labels
T: defect An anomaly, which is anything that deviates from expectations.

Comments

@snschune
Copy link
Contributor

snschune commented Feb 5, 2021

Bug Description

Error

*** ERROR ***
Invalid shape function index i = 2

encountered when ParsedGenerateSideset is executed after FancyExtruderGenerator. The error does not occur if
MeshExtruderGenerator is used.

Steps to Reproduce

[Mesh]
  [file]
    type = CartesianMeshGenerator
    dim = 2
    dx = '1 1 1 1'
    dy = '1 1'
    subdomain_id = '1 2 3 4
                    1 2 3 4'
  []

  [extrude]
    type = FancyExtruderGenerator
    direction = '0 0 1'
    heights = '1 1 1'
    num_layers = '1 1 1'
    input = file
  []

  #[extrude]
  #  type = MeshExtruderGenerator
  #  extrusion_vector = '0 0 3'
  #  num_layers = 3
  #  input = file
  #[]

  [add_side]
    type = ParsedGenerateSideset
    combinatorial_geometry = '2 > 1'
    new_sideset_name = new_s
    included_subdomain_ids = 1
    included_neighbor_ids = 2
    input = extrude
  []
[]

Impact

There are workarounds, like writing the mesh to file, reloading it and adding sidesets.

@lindsayad

@snschune snschune added the T: defect An anomaly, which is anything that deviates from expectations. label Feb 5, 2021
@lindsayad
Copy link
Member

lindsayad commented Feb 5, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: defect An anomaly, which is anything that deviates from expectations.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants