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

[BUG?] - openmc csg-to-cad unit of measure issue #276

Open
SteSeg opened this issue Sep 17, 2024 · 1 comment
Open

[BUG?] - openmc csg-to-cad unit of measure issue #276

SteSeg opened this issue Sep 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@SteSeg
Copy link

SteSeg commented Sep 17, 2024

Not sure this a bug or a feature request. Anyways, I am trying to translate a csg geometry from an openmc xml file to a cad geometry with geouned. Apparently, openmc default unit of measure is cm while geouned defaults to mm. So I get a cad that is 10 times smaller than the csg model. I believe this should be fixed or a scaling factor/choice of the unit of measure should be implemented.

Expected behavior

Maintain the same dimensions/unit of measure.

Please complete the following information):

  • OS: Linux
  • GEOUNED version 1.3.0
  • Python version 3.11
@SteSeg SteSeg added the bug Something isn't working label Sep 17, 2024
@SteSeg SteSeg changed the title [BUG?] - openmc csg-to-cad [BUG?] - openmc csg-to-cad unit of measure issue Sep 17, 2024
@psauvan
Copy link
Member

psauvan commented Nov 6, 2024

Hi Stefano,

The units of the solids are maintained during the conversion. I checked with a simple mcnp input and my 10cm cube was displayed as a 100mm cube with FreeCAD.
Perhaps it happens only with and OpenMC xml model? I will check .

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