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

Having a nodal constraint on a displaced mesh results in a segfault #11705

Closed
andrsd opened this issue Jun 18, 2018 · 0 comments
Closed

Having a nodal constraint on a displaced mesh results in a segfault #11705

andrsd opened this issue Jun 18, 2018 · 0 comments
Assignees
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: defect An anomaly, which is anything that deviates from expectations.

Comments

@andrsd
Copy link
Contributor

andrsd commented Jun 18, 2018

Rationale

Trying to solve a problem with a nodal constraint on a displaced mesh results in a segfault.

Description

This input file reproduces the problem:

[Mesh]
  file = 2-lines.e
  displacements = 'disp_x'
[]

[AuxVariables]
  [./disp_x]
  [../]
[]

[AuxKernels]
  [./disp_x_ak]
    type = ConstantAux
    variable = disp_x
    value = 1
  [../]
[]

[Variables]
  [./u]
  [../]
[]

[Kernels]
  [./diff]
    type = Diffusion
    variable = u
  [../]
[]

[BCs]
  [./left]
    type = DirichletBC
    variable = u
    boundary = 1
    value = 1
  [../]

  [./right]
    type = DirichletBC
    variable = u
    boundary = 4
    value = 3
  [../]
[]

[Constraints]
  [./c1]
    type = EqualValueNodalConstraint
    variable = u
    master = 0
    slave = 4
    penalty = 100000
    use_displaced_mesh = true
  [../]
[]

[Executioner]
  type = Steady

  solve_type = 'PJFNK'
[]

[Outputs]
  exodus = true
[]

Impact

Unable to solve problems with nodal constraints on displaced meshes.

@andrsd andrsd added C: Framework T: defect An anomaly, which is anything that deviates from expectations. P: normal A defect affecting operation with a low possibility of significantly affects. labels Jun 18, 2018
@andrsd andrsd self-assigned this Jun 18, 2018
andrsd added a commit to andrsd/moose that referenced this issue Jun 18, 2018
fdkong added a commit to andrsd/moose that referenced this issue Jun 18, 2018
because these is no data need to be cleaned

Closes idaholab#11705
hugary1995 added a commit to hugary1995/moose that referenced this issue Jun 20, 2018
test file

Update buildSideList() calls to use non-deprecated version.

Remove original elem_list, side_list, id_list data structures.  We are
also able to get rid of _n_elems, since only one line of code was
using it and it's now gone.

Refs idaholab#11565.

Do not add into vectors if they do not exist

Closes idaholab#11705

Assembly.C: do not clean up when tag does not exist

because these is no data need to be cleaned

Closes idaholab#11705

Added a post-processor to compare vector post-processors

Closes idaholab#11704

Fixed typo in clang-format hook installation script

Fix package file name

Closes idaholab#11712

more tests

add tests build

preparing documentation and regression tests

delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: defect An anomaly, which is anything that deviates from expectations.
Projects
None yet
Development

No branches or pull requests

1 participant