extra cut layer names confusion. #377
Unanswered
approx-infinity
asked this question in
Q&A
Replies: 2 comments
-
|
Thanks for raising the issue, that does look like a bug in the naming. Are you keen to PR a fix for this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks for your reply. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to build EU DEMO fusion reactor with paramak. I have added 16tf coils in the model through paramak.toroidal_field_coil_princeton_d().
tf = paramak.toroidal_field_coil_princeton_d(
r1=cm(303.3),
r2=cm(1436.9),
thickness=cm(130),
distance=cm(80),
rotation_angle=360,
with_inner_leg=True,
azimuthal_placement_angles=list(np.linspace(0, 360, 16, endpoint=False)) # 22.5* apart each
)
But when I ran "print(model.names())", it only printed the 1st tf coil name. I have confirmed it via opening the step file in FreeCAD.
And I found out that paramak has made a part for tf coils which consist of 16 subparts, but it is only showing the 1st subpart name. But it should print the 16 subparts name or only the main tf part name.
The problem aries when I try to add material tag to the volumes in the model. If I follow the names given by "print(model.names())", then at the time of meshing, it says model has 42 volumes but I have given 26 volume names. So the remaining 16(15 for tf coil and 1 for divertor) tf coils volume need to be tagged. But the question is in which sequence should I tag them? Should I tag them after the 1st tf coils or should I tag them at the end?
Same thing goes for divertor. It has 2 subparts but only showing 1 subpart name.
Here is the out put for 180° model:
['add_extra_cut_shape_1', 'add_extra_cut_shape_2', 'add_extra_cut_shape_3', 'add_extra_cut_shape_4', 'add_extra_cut_shape_5', 'add_extra_cut_shape_6', 'add_extra_cut_shape_7', 'add_extra_cut_shape_8', 'add_extra_cut_shape_9', 'add_extra_cut_shape_10', 'add_extra_cut_shape_11', 'add_extra_cut_shape_12', 'add_extra_cut_shape_13', 'extra_intersect_shapes_1', 'layer_1', 'layer_2', 'layer_3', 'layer_4', 'layer_5', 'layer_6', 'layer_7', 'layer_8', 'layer_9', 'layer_10', 'plasma']
And the FreeCAD part names tree is added in the picture.

Beta Was this translation helpful? Give feedback.
All reactions