Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
STL Geometry & Meshing
Posted Apr 30, 2012, 11:30 a.m. EDT Geometry, Mesh Version 4.2, Version 4.2a 2 Replies
Please login with a confirmed email address before reporting spam
The intent of this is to build a Java file that I can run within a Fortran model with a variety of geometries, so I ideally want something that is very general and not gui-based. The import geometries will always have a top surface, a bottom surface, and some side faces that are perpendicular to the y-axis.
If you look at the model, you can see that the imported geometry still contains all of the faces defined within the stl file. I cannot get rids of this segmentation, which is the problem now for meshing and for setting boundary conditions.
Is there a way to combine all of these segments together? They are all treated as one domain within the geometry. I have tried converting to solid and a variety of other processes dealing with the geometry. But it seems that when I go to mesh, the mesh is over each small unit and really takes quite a bit of time to get going.
Second question, is there a way to write in the face number when I create the geometry. Since I want something that can be generalized, but I will always know the number of faces/facets, numbering them would allow me to easily group them into the surface necessary for the boundary conditions that I want to apply.
Unfortunately, my file is too large. I'll try to figure this out so that i can attach it. Probably clearing the mesh will solve that problem.
*Just for your information, I have attempted a variety of other methods to bring in this geometry, including an interpolation function (from a file) with a block & parametric surfaces for the geometry. I never got this to work successfully to make something 3D, though it worked for either the top or bottom just fine (see the mention of the interpolation in the first paragraph). I've also gone through many, many permutations of stl files, and this seems to be the best.
Hello Rachel Headley
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.