Hi,
I created a mesh geometry using CubitForm and created .h5m file. Now I would like to use that file to run my problem. The h5.m file contains all the geometry, cells, materials and the bounding, right? So I define:
dagmc_universe = openmc.DAGMCUniverse(‘myFile.h5m’)
What are the other entries of the code I need to add to the code to run this problem?
My guess is that I still need to define the source, settings parameters, tally, cross section data, and maybe temperature
What about materials, cells and such?
What else do I need to add to the code. Is there a list of entries I can use to run the problem?
Thank you
Birsen
I have a minimal example here that shows how to make a DAGMC h5m file into and openmc model
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Simple CAD model simulation\n",
"\n",
"In this example we make use of a DAGMC neutronics geometry that has been made in the previous tasks.\n",
"\n",
"This task simply loads up the DAGMC h5m file into OpenMC to show how one makes an openmc.Model\n",
"\n",
"This specific example is an absolute minimal example, others in this same task show a few more additions on top of this."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
This file has been truncated. show original