Mr. Nozaki Fumiya 0 Report post Posted April 16, 2014 Hi, Is it possible to define the solid name of STL(OpenFOAM) in CAESES?The default names are |trimesh0, |trimesh1, and so on. This functionality is not indispensable since we can rename the solid using a scriptbut it would be very convenient to be able to define STL's solid names. Best Regards,Fumiya Share this post Link to post Share on other sites
Mr. Claus Abt 14 Report post Posted April 17, 2014 Hi Fumiya, The groups in the export are distinguished by color and therefore can not be addressed by name independently. If you have an idea how this could be controlled- please post it here. ThanksClaus Share this post Link to post Share on other sites
Mr. Nozaki Fumiya 0 Report post Posted April 17, 2014 Hi Claus, I think I and many users assign the same color to the surfacesif we want to set the same boundary conditions on them in our CFD simulations. Here are my ideas.If there is only one surface that is assigned one color, we can call the solid of the surface by its surface name.If there are some surfaces that are assigned one color, we can call the solid of the surfaces by the name of the surface that appears first in trimesh sources list.Or,it would be very convenient if we can set the color and solid name in the Display / Export Options of trimesh. I think there must be a better way.I'll welcome any comments or suggestions on above ideas! Thank you for your consideration.Fumiya Share this post Link to post Share on other sites
Mr. Klaus Straka 0 Report post Posted April 10, 2016 Hi, it is quite easy to set solid names in stl-files. Just create a new color and assigne the solid name to the color, let's say "inlet". Then set the color of the inlet patch to the color "inlet" and export STL(Multi Body). Now the stl-file looks like this: solid inletfacet normal 0.0182022738298 -0.999834321385 8.37095476786e-05 outer loop vertex 0.107793885811 -8.99435408899 0.638042712216 vertex 0.210288153997 -8.99254157023 .... However, there are some small drawbacks, seems like you cannot assigne the same name to a geometry object and a color. Cheers,Klaus Share this post Link to post Share on other sites
Karsten Wenzke 12 Report post Posted April 19, 2016 Hey, However, there are some small drawbacks, seems like you cannot assigne the same name to a geometry object and a color. You are right. The reason is that geometry objects and colors are both objects. Cheers, Karsten Share this post Link to post Share on other sites