You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.
Traceback (most recent call last):
File "/home/fusion-neutronics-workflow/examples/run_neutronics.py", line 8, in <module>
materials = odw.Materials(
File "/opt/conda/lib/python3.9/site-packages/openmc_dagmc_wrapper/Materials.py", line 25, in __init__
self.set_openmc_materials()
File "/opt/conda/lib/python3.9/site-packages/openmc_dagmc_wrapper/Materials.py", line 41, in set_openmc_materials
openmc_material = create_material(material_tag, material_entry)
File "/opt/conda/lib/python3.9/site-packages/openmc_dagmc_wrapper/utils.py", line 10, in create_material
openmc_material = nmm.Material.from_library(
File "/opt/conda/lib/python3.9/site-packages/neutronics_material_maker/material.py", line 865, in from_library
return Material(name=name, **entry)
File "/opt/conda/lib/python3.9/site-packages/neutronics_material_maker/material.py", line 199, in __init__
self._make_openmc_material()
File "/opt/conda/lib/python3.9/site-packages/neutronics_material_maker/material.py", line 645, in _make_openmc_material
openmc_material = self._add_density(openmc_material)
File "/opt/conda/lib/python3.9/site-packages/neutronics_material_maker/material.py", line 758, in _add_density
from CoolProp.CoolProp import PropsSI
ModuleNotFoundError: No module named 'CoolProp'
after installing CoolProp with
pip install Coolprop
Traceback (most recent call last):
File "/home/fusion-neutronics-workflow/examples/run_neutronics.py", line 8, in <module>
materials = odw.Materials(
File "/opt/conda/lib/python3.9/site-packages/openmc_dagmc_wrapper/Materials.py", line 25, in __init__
self.set_openmc_materials()
File "/opt/conda/lib/python3.9/site-packages/openmc_dagmc_wrapper/Materials.py", line 41, in set_openmc_materials
openmc_material = create_material(material_tag, material_entry)
File "/opt/conda/lib/python3.9/site-packages/openmc_dagmc_wrapper/utils.py", line 10, in create_material
openmc_material = nmm.Material.from_library(
File "/opt/conda/lib/python3.9/site-packages/neutronics_material_maker/material.py", line 865, in from_library
return Material(name=name, **entry)
File "/opt/conda/lib/python3.9/site-packages/neutronics_material_maker/material.py", line 199, in __init__
self._make_openmc_material()
File "/opt/conda/lib/python3.9/site-packages/neutronics_material_maker/material.py", line 645, in _make_openmc_material
openmc_material = self._add_density(openmc_material)
File "/opt/conda/lib/python3.9/site-packages/neutronics_material_maker/material.py", line 768, in _add_density
raise ValueError(
ValueError: Material.temperature is needed to calculate the density
As I understand it, we need to provide a temperature to work out the density.
On the latest fusion-neutronics-workflow image, running this is not possible:
after installing CoolProp with
pip install Coolprop
As I understand it, we need to provide a temperature to work out the density.
Problem: with this layout, we can't.
The workaround:
Surely that's fine as is, just wondered if this use case could be simplified. Happy with the workaround anyway
The text was updated successfully, but these errors were encountered: