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

General Dirichlet boundary conditions can use unreasonable values for undefined DOFs #151

Open
saroberts opened this issue Jun 9, 2017 · 0 comments
Labels

Comments

@saroberts
Copy link
Contributor

This problem arises when applying the GD_LINEAR boundary condition to an internal, double-sided sideset where a DOF (a species concentration in this case) is only defined on one side of the sideset. When looping through the faces on the side that has the DOF properly defined, everything works fine. However, when later looping through the faces attached to the opposing block, an incorrect value is used. I did not verify, but it appears that it is either overflowing memory or, more likely, indexing back into some other set of variables.

The correct action in this case is to use a single-sided sideset, which we are now doing. However, I would expect that when a double-sided sideset is used and invalid variables are called, an error should be thrown.

@saroberts saroberts added the bug label Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant