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

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

Open
DMelisena opened this issue Jul 11, 2023 · 1 comment
Open

Comments

@DMelisena
Copy link

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?

@amitkumarcodes
Copy link

Hello,

I encountered a SyntaxError when running the step_to_h5m_zpre.py script included in this repository. The issue seems to be with the following line:

ab.mesher_config['min_mesh_size'] =

This line is missing a value to assign to ab.mesher_config['min_mesh_size']. Could you please clarify what value should be used here, or update the script if this is a mistake? This would greatly help me in using this project for my work.

Thank you for your help.

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

No branches or pull requests

2 participants