I’m trying to mesh this wall assembly (attached) but it freezes when I try select the parts to apply the meshing settings to. I’ve tried cloud HPC (224 vCPUs, AMD EPYC 7B13) but it still freezes.
I prefer not to ‘simplify’ the model as this way it accurately takes into consideration the number and quantity of thermal bridges present in a given section.
Some parts here are extremely thin (0.001 mm ?) and should be meshed with hex elements. There are also small screws. Most parts should be hex meshable, but some would require splitting into subvolumes with 5 or 6 faces (3 or 4 edges each) or modeling as surfaces and using the Thicken Shell Mesh tool. You could try meshing it with tetras like models from your initial threads. But you should first make sure the geometry has no flaws (have a look at that one part with the yellow warning sign) and try removing tiny details such as cutouts and holes. Then there are two ways - compounding everything (if the input and output geometry is correct) and meshing with tetras or (probably better) meshing parts separately and using tie constraints to connect them. Of course, these approaches may also be mixed - you can compound some parts where it works without issues and connect the rest with tie constraints. But simplifying/reducing/defeaturing the model is still strongly advised if you want to get a good mesh and thus reasonable results.
Try to mesh the smallest, largest and thinnest parts first individually. And think about how you will connect all 500 parts later. Maybe merge some of them.
Perhaps you could also utilize symmetry here and simplify the connections between the blocks. Merging parts in CAD software may also work better. Some software has pretty powerful boolean tools, including fuzziness/tolerance and detailed geometry checks to make sure it’s really meshable after importing to PrePoMax. Even FreeCAD has some tools like that.
Maybe you could even consider using submodeling to create a simplified global model and a detailed local model (selected connection), but I haven’t tested it with thermal procedures in CalculiX yet.
I think he probably means the freezing that occurs when trying to select all parts at once to assign the meshing parameters. In this case, it helps to switch the selection methode from Selection by location to Selection by ID.
This shouldn’t freeze or crash and you can easily isolate the issues (especially if you mesh parts one by one).
Surprisingly, the largest parts (plates) can be the most problematic due to their small details inside. As I said, one even shows a warning. It would be good to fix it in CAD first.
Exactly – changing to “Selection by ID” helped a lot – thanks.
Thanks @FEAnalyst and @Matej for your insights. I’m still unable to mesh the whole model. I’ve started doing it part by part, and got to this stage with no problems. It really was just a case of re-attaching some part using the Manipulator WB > Align tool in FreeCAD, which is frustrating because it’s ‘random’. Not sure if this is a fault of FreeCAD or PrePoMax.
You could also try the built-in Transform tool in the newest versions of FreeCAD. Some small misalignments may indeed break merging/compounding, for instance.
Without. I’ve learned to not compound anything unless the mesh works (so as to not waste time). Even when I do compound, it’s only to make it easier to assign materials later on. I always do tie constraints as without it I’ve always ran into errors.
Where about is that flaw and how did you find it?
I’m trying to establish a fool-proof workflow that won’t require me to do trial and error every time I want to mesh something slightly complicated
Visual inspection revealed it, but built-in checks for small edges/faces and other issues can also be very helpful. FreeCAD has a tool to check the correctness of the parts too.
Part CheckGeometry didn’t return any errors. Will give Analysis Situs a go.
What’s irritating is that the third track is an exact copy of the first two. So why aren’t there any errors in the frist two? And why does it build the third differently to how it built the first two?
I don’t know how you modeled those cutouts, but if you made a boolean cut with the track then maybe something was wrong with the track or its alignment. As I said, booleans often fail due to small misalignments. Some software includes tolerance/fuzziness settings for them because of that. In FreeCAD, there are fuzzy booleans available in the add-on Defeaturing workbench.
I didn’t model any cut-outs. What I love about PrePoMax is that I can insert parts into other parts and it’ll automatically create cut-outs that usually work.
I’ve tried increasing the Boolean tolerance to 1 mm but that didn’t help either (it won’t accept 2 mm)
Then I would try recreating them in any CAD software.
This is the BooleanFragments tool, quite specific. You would have to use Part Cut (maybe it will work out of the box) or Fuzzy Cut in the Defeaturing add-on workbench if the regular cut still fails.
There might be no actual geometry errors, such as shell faces, but there are at least extremely thin-walled regions. Some dedicated checks may detect them with proper thresholds.
Something strange is happening when running CalculiX: When I attempt to run it on an HPC server, it fails. Yet when I run it locally on my computer, it works.
The “Job failed - no results exist” message is a generic CalculiX error. It may mean an incorrect model definition, but if it runs on a different computer, then it’s less likely. Are there any other relevant warnings or errors in the log file from the HPC run (maybe share the whole log file) ? How many elements do you have there ?