So, I originally used docker run openmc/openmc:latest and could not run any example, so if I use docker pull openmc/openmc:develop-dagmc instead, will I be able to execute the example here or here ?
@IIP If you want to run notebook file from the terminal, you have to convert it to python script first. Then rename the generated script to be an IPython script by changing the extension to .ipy and run it with ipython
So the steps on the command line all together would be:
Sorry for so many questions (I’m new to this) but what difference is in pulling OpenMC using docker pull openmc/openmc:latest from any other, such as docker pull openmc/openmc:develop-dagmc-libmesh.
I noticed the ‘develop’ one’s are larger in size and have been pushed recently…
The different docker images contain OpenMC compiled in different ways. Some include extra programs like Libmesh or DAGMC while the openmc/openmc:latest is a minimal version. If the minimal version has everything you need then I would stick with that.
Re: For geometry, is there a direct way to import CAD from mainstream software like SolidWorks and Creo, instead of DAGMC ?
Provided that your CAD software can output Brep, STP or STL files then there are a few tools out there for conversion to DAGMC h5m files which can then be run in OpenMC.
We maintain a list of such software here
I’m working on yet another addition to this list and can post here once it is more ready
I just released the version 0.1.1 of cad_to_dagmc which can convert CAD files in STP format or CadQuery objects into DAGMC h5m files. It might help convert your CAD geometry @IIP
I’ve not seen a tutorial for the cad_to_openmc package which was created by Erik. Perhaps you can request a tutorial on the github page as I’m not sure if Erik visits the discourse channel