I was trying to calculate flux for an unstructured mesh problem which is similar to the example example for Unstructured mesh given in the documentation. But in this case the output file of tallies calculation becomes empty. The code is given below. I have created the h5m file of the geometry using Coreform cubit with DAGMC plugin. Untitled.ipynb (35.5 KB)
Hi @Sabyasachi! Thanks for inquiring about this. I’m a little confused because the tallies.xml file doesn’t contain a mesh filter with an unstructured mesh applied. Maybe it didn’t get added to the inputs?
I have modified the code as per your suggestion, but it shows same result. The output file of tallies calculation is empty.
I am uploading the files related to the code, model.xml (1.2 KB)
Hi @Sabyasachi, thanks for the nudge! If it’s openly shareable (I’m assuming so as this is an exploration of the feature), can you send along the unstructured mesh file as well? If it’s too big for discourse you can drop it here: Box
Hi Patrick,
I hope that you have received the documents which I have submitted in the given link. Do you get any solution of this problem? please give me some necessary information. This project is related to my undergrad project submission.
Thanks in advance
I’ve taken a look at this. The unstructured mesh I found in that drop point, named dagmc.h5m I think, was a DAGMC model consisting of only triangles. When you run mbsize (a MOAB utility for providing element types and counts) what does the output show you?
$ mbsize dagmc.h5m
Let me know if I got that model name wrong, I’ve had a number of models dropped off this week so I may be getting them confused.
yes you have got the right scenario that the DAGMC model is consisting of only triangles.
I have generated this dagmc model by applying the code export dagmc "dagmc.h5m" faceting_tolerance 1.0e-5 length_tolerance 5 using coreform cubit.
Please suggest me how do I solve this problem?
If the output above is from the mesh file you’re using as an UnstructureMeshFilter, the problem is that there are no volumetric elements in the file. You’ll want to create an appropriate tetrahedral mesh for the problem and apply that instead.
Hi Patrick. Would an appropriate unstructured mesh only contain tetrahedral elements? I have a mesh with triangles and tetrahedral elements that I am using for a flux calculation. However, I only get zeros for my flux values, so I was wondering if my mesh is good. Thanks.
` type count total minimum average rms maximum std.dev.
------- ------ -------- ---------------- ---------------- ---------------- ---------------- ----------------
Tri 16734 5.6e+05 5.5747 33.693 34.612 72.169 7.9247
Tet 24468 7.5e+05 3.2502 30.725 31.955 91.947 8.7807
1D Side 197010 1.6e+06 2 8.1149 8.3899 17.065 2.1303
Vertex 8344`