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

No error or warning on specifying two different initial conditions #20944

Open
GiudGiud opened this issue May 3, 2022 · 0 comments · May be fixed by #29672
Open

No error or warning on specifying two different initial conditions #20944

GiudGiud opened this issue May 3, 2022 · 0 comments · May be fixed by #29672
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

@GiudGiud
Copy link
Contributor

GiudGiud commented May 3, 2022

Bug Description

When specifying two initial conditions for the same variable (exodus + constant for example) in the variables block, the constant one gets used and the other one ignored.

Steps to Reproduce

use this

  [T_fluid]
    type = INSFVEnergyVariable
    block = 'fuel pump hx'
    initial_condition = ${T_HX}
    initial_from_file_var = T_fluid
  []

Impact

Potential for user error. Hard to debug because everything kind of looks right

@GiudGiud GiudGiud 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 May 3, 2022
DanielYankura added a commit to DanielYankura/moose that referenced this issue Jan 10, 2025
-Error thrown if an initial_condition parameter is provided along with an initial_from_file_var parameter for the same variable.

closes idaholab#20944
DanielYankura added a commit to DanielYankura/moose that referenced this issue Jan 14, 2025
-Error thrown if an initial_condition parameter is provided along with an initial_from_file_var parameter for the same variable.

closes idaholab#20944
DanielYankura added a commit to DanielYankura/moose that referenced this issue Jan 16, 2025
-Error thrown if an initial_condition parameter is provided along with an initial_from_file_var parameter for the same variable.

closes idaholab#20944
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

Successfully merging a pull request may close this issue.

1 participant