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

msre.step with CAD_to_OpenMC #5

Open
DWTheo opened this issue Dec 18, 2022 · 4 comments
Open

msre.step with CAD_to_OpenMC #5

DWTheo opened this issue Dec 18, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@DWTheo
Copy link

DWTheo commented Dec 18, 2022

I seem to have an issue with MSRE CAD geometry and gmsh used in the CAD_to_OpenMC.

I have followed the installation and operating instructions and I got an error when attempting to use the run.sh script supplied.
More specifically, during the CAD conversion process I receive the error:
Error : The 1D mesh seems not to be forming a closed loop

From some quick googling it could be a problem with newer versions of gmsh from about a year ago but was apparently fixed in the latest version of gmsh, see here.

I am using gmsh version 4.11.0, the latest version, which I assume includes the above bug fix, so that may not be the problem.

Note that I have tried the 7pin test and everything works fine.

From msre run.sh script I tried options 1 and 2 but they both fail at the same point during 2D surface meshing.

I will attach the terminal output log.
error.log

@ebknudsen
Copy link
Contributor

Hey - thanks for reporting @DWTheo. I shall take a look at this problem, and try to fix it ASAP.

@ebknudsen
Copy link
Contributor

I will add that this is likely caused by some "oddity" in the CAD-model that gmsh for the time being cannot handle. As you've noticed gmsh improves all the time, but there are cases where things may go wrong. I will investigate the current version of MSRE to see what can be the cause. here.

@ebknudsen
Copy link
Contributor

ebknudsen commented Dec 28, 2022

Further inspection shows that this is indeed caused by a problem in the CAD-drawing. I've found that there is a problem with surface 16. Will fix this and upload a new step-model

@ebknudsen
Copy link
Contributor

ebknudsen commented Dec 28, 2022

It is a matter of a bad curvature on a this particular surface, which can be fixed. I should add that it is still unclear (to me) why this causes a problem for gmsh - but as noted it can be fixed.

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

2 participants