-
Notifications
You must be signed in to change notification settings - Fork 14
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
Debugging MCNP import into Cubit #155
Comments
This isn't a way to debug the problem inside of the Cubit plugin, but may still be helpful. I am wondering: are you sure your input file is valid? A quick plug for another utility: MontePy (I am the lead developer) can do quite a few sanity checks that your input file is valid for MCNP 6.2+, and in my experience sometimes more aggressive than MCNP.
pip install montepy
montepy -c <foo.i> |
Thanks, thats useful. I was told this ran successfully on MCNP 6.2. I tried out
where it doesn't like the floating point:
|
That looks like it doesn't like the macrobody facets
On Wed, 2024-06-05 at 10:51 -0700, Michael Churchill wrote:
valid literal for int() with base 10: '-60066.2'
|
Can you share your input? One thing I would try is remove half the cell definitions inthe input deck, if it still fails remove a further half, and keep bisecting until you find the problem surface. |
Attached. I'll start trying the bisection method. |
@makeclean you are correct that this is an issue that MontePy can't handle macrobodies. Can this plugin handle Macrobody facets? |
If memory serves, then yes I'm fairly sure it does |
Looks like its the 2nd cell which is the first problem... - intersection of three tori |
I think our implementation doesn't actually have the correct logic for this case; we missed the case where the major radius -s less than 0, we have the case for major radius < minor radius, but not the third case - I'll raise a bug |
I can use the import of MCNP .i file into Cubit for some files, but there is one that is causing a segfault. I have looked for ELL, WED, ARB flags, but it doesn't have them. Are there additional ways to debug? I started to build from scratch mcnp2cad, but figured I would first see if there are additional steps recommended to find root cause.
The text was updated successfully, but these errors were encountered: