Ways to improve a mesh STL file/COMSOL importing and meshing

I am currently working on modeling lattice structures in Intralattice and cutting out using rectangles to get a subset of the lattice mesh. With these cut out lattices I import them into COMSOL to simulate and get the mechanical properties of each lattice type. However, I constantly run into COMSOL meshing errors sometimes because certain parts of the mesh have edge intersections or incomplete mesh boundaries. I tried to investigate and see how I could improve the mesh in Rhino. The only mesh command I’ve found with some success is “MergeAllCoplanerFaces”. The “Smooth” function doesn’t help as it distorts a lot of the original design and I don’t want to modify it the original structure in any way. Commons issues I get are “spikes” and overlapping edges or faces. Would anyone happen to have any experience with importing STL Rhino files into COMSOL and meshing. If so, do you have any general tips or know of any rhino mesh commands that would help smoothen and preserve the original mesh created in Rhino before I export it out as a STL file and mess with it in COMSOL? I have attached an STL file as an example.
Diamond Lattice rhino file.zip (17.3 MB)

Apologies if anyone is confused about the post. If you need any clarification please let me know.

Thank you!
Daniel

just a guess:
Not sure if Rhino provides sufficient meshes for a FEM program.
why are you using rhino ?
what is the role of rhino in your workflow ? (modelling ? convert nurbs to mesh ? file-conversion ?

COMSOL should support import of iges or step ? does it ?
(and then do the meshing in COMSOL ?)

sorry - i am not an experienced COMSOL user.

did you search for more general:
rhino export - import to comsol
mesh import to Comsol
stl preparation for comsol
rhino to comsol
mesh optimisation for comsol

for example this

hope this gives some ideas to find a solution - good luck. kind regards -tom