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

use_displaced = true caused SEGFAULT when there is no displaced problem #11309

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

use_displaced = true caused SEGFAULT when there is no displaced problem #11309

andrsd opened this issue Apr 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 Apr 18, 2018

Rationale

If you use use_displaced = true in your outputter and there is no displaced problem, the code crashes.

Description

To reproduce, run this input file:

[Mesh]
  type = GeneratedMesh
  dim = 1
  nx = 2
[]

[AuxVariables]
  [./a]
  [../]
[]

[AuxKernels]
  [./a_ak]
    type = ConstantAux
    variable = a
    value = 1.
    execute_on = initial
  [../]
[]

[Problem]
  solve = false
[]

[Executioner]
  type = Steady
[]

[Outputs]
  [./exodus]
    type = Exodus
    use_displaced = true
  [../]
[]

Impact

Needs to warn the user and quit, crashing is ridiculous.

@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 Apr 18, 2018
@andrsd andrsd self-assigned this Apr 18, 2018
andrsd added a commit to andrsd/moose that referenced this issue Apr 18, 2018
If users required output on displaced mesh via 'use_displaced = true',
but there is no displaced problem, MOOSE should use the non-displaced
problem instead and warn the user about this fact.

Closes idaholab#11309
andrsd added a commit to andrsd/moose that referenced this issue Apr 18, 2018
If users required output on displaced mesh via 'use_displaced = true',
but there is no displaced problem, MOOSE should use the non-displaced
problem instead and warn the user about this fact.

Closes idaholab#11309
andrsd added a commit to andrsd/moose that referenced this issue Apr 19, 2018
If users required output on displaced mesh via 'use_displaced = true',
but there is no displaced problem, MOOSE should use the non-displaced
problem instead and warn the user about this fact.

Closes idaholab#11309
andrsd added a commit to andrsd/moose that referenced this issue Apr 19, 2018
If users required output on displaced mesh via 'use_displaced = true',
but there is no displaced problem, MOOSE should use the non-displaced
problem instead and warn the user about this fact.

Closes idaholab#11309
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