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

MCNP importer gives wrong material group names #45

Open
ljacobson64 opened this issue Sep 20, 2018 · 4 comments
Open

MCNP importer gives wrong material group names #45

ljacobson64 opened this issue Sep 20, 2018 · 4 comments

Comments

@ljacobson64
Copy link
Member

When you run the MCNP importer and produce a .sat file as output, the group names that actually appear in the sat file appear in the old mat_105_rho_-1.52 form instead of the new mat:105/rho:-1.52 form. It seems to be dropping the : and / immediately. Furthermore, I think Trelis might also have a problem with the - character, as when you load a .sat file into Trelis, it gives a warning message like this:

WARNING: 28 invalid names were found during import.

and if you try to list information about a group, this is what it says:

Trelis>list group 3
Group Entity 'mat_105_rho_-1.52', 'mat_105_rho__1.52' (Id = 3)

Has anyone ever run the MCNP importer and successfully run DAGMC with the .sat or .h5m files it created?

@pshriwise
Copy link
Member

Reviving this thread. It's a relatively easy change that would significantly improve user experience when importing models into Cubit.

@pshriwise
Copy link
Member

I'll try to tackle it soon.

@ahnaf-tahmid-chowdhury
Copy link
Member

Just asking, is this module only required when a user has MCNP installed?

@gonuke
Copy link
Member

gonuke commented Mar 30, 2024

This module is used to import MCNP files and generate a CAD model. It currently requires some implementation of the iGeom interface. A minimal implementation is provided in the Cubit plugin, and that is the main place that this code is currently availble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants