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
1D tests on dev don't run #313
Comments
Removing the "if" statements in the Check_Custom_Boundary function in boundary_conditions.cpp fixes the boundary error, but the Riemann problems are still broken. The issue is that the initial conditions are not getting set, because the code never enters the loop. |
I fixed the underflow issue in the Riemann ICs (see PR #314). I'm not sure exactly what you want done in the boundary condition code so I didn't touch that. The tests still don't run though even with both fixes, after the first time step it returns all NaNs. Once these issues are resolved we should add 1D and 2D sod tests to the system tests so we don't have this issue again. |
Output from git bisect Before this change, running 1-D sod.txt from examples completed successfully (though I don't guarantee numerical accuracy, I can say that the output from sod.txt has been consistent since main branch). I'm not sure what the bug is and I should caveat that multiple types of things go wrong after this commit so the bug could still be in any number of things, not sure if its this particular commit.
|
With VL and bypassing the above bugs it runs. With SIMPLE and bypassing the above bugs it does not run. I think the differences between VL and SIMPLE warrant further investigation. |
Ignore my above comments which I initially intended as adding info to the problem, and were helpful for me personally, but no longer useful as of #315 . |
Solved in PR #315 |
When trying to run a test on the dev branch with ny = 1 and nz = 1 in a parameter file, the code exits with the following error:
Invalid boundary conditions. Must select between 1 (periodic), 2 (reflective), 3 (transmissive), 4 (custom), 5 (mpi).
This happens even though the boundary conditions are set in the parameter file, and appear to be read in, since the code correctly outputs:
Parameter values: nx = 100, ny = 1, nz = 1, tout = 0.200000, init = Riemann, boundaries = 3 3 3 3 3 3
before it fails.
The text was updated successfully, but these errors were encountered: