Page 1 of 1

STL File Multiple Materials

Posted: Thu Feb 09, 2017 11:09 pm
by terryphi
Hi There,

So, I'm trying to import a CAD model with multiple materials into SERPENT.

Based on what I've read, it looks like I can define 1 STL file for each material, then import it into SERPENT.

Is this on the right track?

Re: STL File Multiple Materials

Posted: Fri Feb 10, 2017 1:48 pm
by Jaakko Leppänen
You can have multiple STL bodies in a single file, but this is probably the easiest way to do it. The problem with the STL format is that it doesn't support any meta-data that would allow passing the material information from the CAD model to the Serpent input. So assigning the material names to STL bodies can be quite cumbersome for complex models.

What kind of geometry do you have?

Re: STL File Multiple Materials

Posted: Sun Apr 02, 2017 7:35 am
by terryphi
I don't have the geometry made yet. Is there something I should watch out for?

Re: STL File Multiple Materials

Posted: Mon Apr 03, 2017 9:29 am
by Jaakko Leppänen
Make sure the models are water-tight. Serpent can do very little about holes between between the facets.

Also try different configurations for the search mesh. This can have a tremendous effect on performance, so optimizing the mesh parameters really pays off. Serpent prints the fraction of mesh cells with pre-assigned data. Try to get this number as high as possible.

Another good method of optimization is dividing the geometry into multiple levels. You can put STL universes in the background universes of other STL universes. This is pretty easy to do if you have structures that form clearly separate units. This allows you to optimize the search mesh separately for each universe.

It takes a bit of trial and error the get a hang of it.