我正在尝试使用Netgen(CSG)制作一组均匀的球体。请在下面找到“ .geo”文件和脚本。问题是,当我使用Netgen打开地理文件时,我可以完美地看到几何图形而没有任何错误(包括图片)。但是当我尝试将其转换为网格时,没有生成网格。由于找不到错误消息,因此我无法找到原因。它显示“网格划分成功完成”。
[algebraic3d
solid sph1 = sphere (0, 0, 0;10);
solid sph2 = sphere (0, 0, 25 ;10);
solid sph3 = sphere (0, 0, 50;10);
solid sph4 = sphere (0, 0,75;10);
solid sph5 = sphere (25,0,0;10);
solid sph6 = sphere (50,0,0;10);
solid sph7 = sphere (75,0,0 ;10);
solid sph8 = sphere (0 ,25,0;10);
solid sph9 = sphere (0,50,0;10);
solid sph10 = sphere (0,75,0 ;10);
solid sph11= sphere (25,25,25 ;10);
solid sph12 = sphere (25,25,50 ;10);
solid sph13 = sphere (25,25,75 ;10);
solid sph14 = sphere (25,25,0 ;10);
solid sph15 = sphere (25,50,0 ;10);
solid sph16 = sphere (25,50,25 ;10);
solid sph17 = sphere (25,50,50 ;10);
solid sph18 = sphere (25,50,75 ;10);
solid sph19 = sphere (50,0,25 ;10) ;
solid sph20 = sphere (50,0,50 ;10);
solid sph21 = sphere (50,0,75 ;10);
solid sph22 = sphere (50,25,25 ;10);
solid sph23 = sphere (50,25,50 ;10);
solid sph24 = sphere (50,25,75 ;10);
solid sph25 = sphere (50,50,0 ;10);
solid sph26 = sphere (50,50,25 ;10);
solid sph27 = sphere (50,50,50 ;10);
solid sph28 = sphere (50,50,75 ;10);
solid sph29 = sphere (50,75,0 ;10);
solid sph30 = sphere (50,75,25 ;10);
solid sph31 = sphere (50,75,50 ;10);
solid sph32 = sphere (50,75,75 ;10);
solid sph33 = sphere (75,0,25 ;10);
solid sph34 = sphere (75,0,50 ;10);
solid sph35 = sphere (75,0,75 ;10);
solid sph36 = sphere (75,25,0 ;10);
solid sph37 = sphere (75,25,25 ;10);
solid sph38 = sphere (75,25,50;10);
solid sph39 = sphere (75,25,75 ;10);
solid sph40 = sphere (75,50,0 ;10);
solid sph41 = sphere (75,50,50 ;10);
solid sph42 = sphere (75,50,25 ;10);
solid sph43 = sphere (75,50,75 ;10);
solid sph44 = sphere (75,75,0 ;10);
solid sph45 = sphere (75,75,25 ;10);
solid sph46 = sphere (75,75,50 ;10);
solid sph47 = sphere (75,75,75 ;10);
solid sph49 = sphere (0, 25, 25;10);
solid sph50 = sphere (0, 25, 50;10);
solid sph51 = sphere (0, 25, 75;10);
solid sph53 = sphere (0, 50, 25;10);
solid sph54 = sphere (0, 50, 50;10);
solid sph55= sphere (0, 50, 75;10);
solid sph57= sphere (0, 75, 25;10);
solid sph58= sphere (0, 75, 50;10);
solid sph59= sphere (0, 75, 75;10);
solid sph60= sphere (0, 0, 0;10);
solid sph61= sphere (25, 0, 25;10);
solid sph62= sphere (25, 0, 50;10);
solid sph63 = sphere (25, 0, 75;10);
solid sph64 = sphere (25, 75, 0;10);
solid sph65 = sphere (25, 75, 25;10);
solid sph66 = sphere (25, 75, 50;10);
solid sph67 = sphere (25, 75, 75;10);
solid main = sph1 or sph2 or sph3 or sph4 or sph5 or sph6 or sph7 or sph8 or sph9 or sph10 or sph11 or sph12 or sph13 or sph14 or sph15 or sph16 or sph17 or sph18 or sph19 or sph20 or sph21 or sph22 or sph23 or sph24 or sph25 or sph26 or sph27 or sph28 or sph29 or sph30 or sph31 or sph32 or sph33 or sph34 or sph35 or sph36 or sph37 or sph38 or sph39 or sph40 or sph41 or sph42 or sph43 or sph44 or sph45 or sph46 or sph47 or sph49 or sph50 or sph51 or sph53 or sph54 or sph55 or sph57 or sph58 or sph59 or sph60 or sph61 or sph62 or sph63 or sph64 or sph65 or sph66 or sph67 -maxh=0.5 ;
tlo main ;][1]