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

check missing on the inflow profile name #322

Open
1 task done
dcodoni opened this issue Jan 6, 2025 · 0 comments
Open
1 task done

check missing on the inflow profile name #322

dcodoni opened this issue Jan 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@dcodoni
Copy link
Contributor

dcodoni commented Jan 6, 2025

Description

If the boundary condition Add_BC Profile parameter is not "Flat", "Parabolic" or "User_defined" (case sensitive), the solver does not give any warnings and the results are unexpected giving an unrelated error: Face used for a BC has no non-zero node. This happens because there is not a default case or a warning in the if statement that selects the type of flux profile.

Reproduction

Try to run any fluid case with a flux profile and set "parabolic" (lower case p) in the input file instead of "Parabolic" (capital P).

Expected behavior

I would expect the solver to give a warning or a descriptive runtime error saying explicitly that a match for the profile type has not been found.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@dcodoni dcodoni added the bug Something isn't working label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant