STL File Multiple Materials

This category replaces the missing input manual
Post Reply
terryphi
Posts: 28
Joined: Sun Feb 05, 2017 5:44 am
Security question 1: No
Security question 2: 64

STL File Multiple Materials

Post by terryphi » Thu Feb 09, 2017 11:09 pm

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?

User avatar
Jaakko Leppänen
Site Admin
Posts: 2191
Joined: Thu Mar 18, 2010 10:43 pm
Security question 2: 0
Location: Espoo, Finland
Contact:

Re: STL File Multiple Materials

Post by Jaakko Leppänen » Fri Feb 10, 2017 1:48 pm

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?
- Jaakko

terryphi
Posts: 28
Joined: Sun Feb 05, 2017 5:44 am
Security question 1: No
Security question 2: 64

Re: STL File Multiple Materials

Post by terryphi » Sun Apr 02, 2017 7:35 am

I don't have the geometry made yet. Is there something I should watch out for?

User avatar
Jaakko Leppänen
Site Admin
Posts: 2191
Joined: Thu Mar 18, 2010 10:43 pm
Security question 2: 0
Location: Espoo, Finland
Contact:

Re: STL File Multiple Materials

Post by Jaakko Leppänen » Mon Apr 03, 2017 9:29 am

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.
- Jaakko

Post Reply