Open g-blackett opened 2 months ago
Yes sorry, paramak needs a rewrite (which is happening)
But in the meantime perhaps the work around is to export to step file and use cad-to-dagmc or one of the other converters with the step file.
The step file can also be opened in freecad or other step file viewers so you can see the order of the solids and number of solids
No worries, thank you for the response. I will give this method a go.
Hello,
I am trying to generate the EU-DEMO model but keep running into issues.
The first method is as below:
However this throws an error saying the number of material tags does not match the number of volumes.
Rerunning the code with rotation angle equal to anything less than 360 throws 'ValueError: Null TopoDS_Shape object. From looking at forum posts online this may be related to how the geometry is sliced when selecting an angle < 360.
I also followed the method as stated in a previous thread raised here (https://github.com/fusion-energy/paramak/issues/306) where the paramak reactor object is exported as a .brep file then imported with the brep_to_h5m command. To perform this method the appropriate material tags are required. From looking at the code for the EU-DEMO model there should be 16 volumes in the order stated below?
However this throws the error "ValueError: 34 volumes found in Brep file is not equal to the number of material_tags 16 provided." Should there be 34 volumes? What would their material tags be, I cannot see from the EU-DEMO code what these would be.
Thank you for any help!