Skip to content

ZPRE scripst doesn’t work with the latest version of cad_to_h5m #11

@DMelisena

Description

@DMelisena

I just installed openmc using source and installed it on virtual environment. The examples works fine but I want to run GitHub - openmsr/zpre: detailed cad model and simulations of the zpre (zero power reactor experiment), operated by oak ridge national laboratory and sometimes refered to in documentation as the pr-mark I (pratt and whitney mark I). 1 on my openmc. I installed cad_to_h5m using pip but iwhen i tried to run any of the run.sh options, it came out as :

`

  • case $opt in
  • echo 'generating neutron flux plot...'
    generating neutron flux plot...
  • bash ./scripts/nf.sh
  • test -f ./h5m_files/zpre.h5m
  • python ./step_to_h5m/step_to_h5m_zpre.py
    Traceback (most recent call last):
    File "/home/admin1/Code/zpre/./step_to_h5m/step_to_h5m_zpre.py", line 22, in
    cad_to_h5m(h5m_filename= h5m_out_filepath,
    TypeError: cad_to_h5m() got an unexpected keyword argument 'graveyard'
    `

The run.sh is containing a bunch of output such as geometry plot, photon flux etc. Everything has the same error. Does anyone have experienced similar problem when using cad_to_h5m?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions