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.

Convert to solid of parametric surfaces

Please login with a confirmed email address before reporting spam

I tried to create a cube by converting 6 surfaces to a solid. 5 surfaces are just plane, and the one at the top has a roughness, which is determined by interpolating from a data (701x701 points). The top surface is only rough in the middle part, so area around the border has the same z-coordinate than the border of the side surfaces. The interpolation results in a warning, because the maximum relative error is about 0.0045. When I want to convert the surfaces to a solid comsol give me the error message ' internal error in geometric decomposition'. If I increase the relative repair tolerance, the solid will convert, but its so unexact that the roughness disappears and it is just another plane surface.

It would be really nice, if somebody of you could give me some hints how to decrease the relative error from interpolating or some other ideas so the convertion can be done. The distance between two points of the rough surface is 1 m, so the cube has a edge length of 0.7mm. Are this still not enough points to interpolate more exactly?

4 Replies Last Post 27 lug 2012, 09:42 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 lug 2012, 07:31 GMT-4
here is the comsol modell file!
here is the comsol modell file!


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 lug 2012, 08:59 GMT-4
For what it's worth, if you use the geometry kernel that ships with any of the CAD import modules instead of Comsol's standard geometry kernel, your geometry sequence works as it is.
For what it's worth, if you use the geometry kernel that ships with any of the CAD import modules instead of Comsol's standard geometry kernel, your geometry sequence works as it is.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 lug 2012, 09:20 GMT-4
thanks very much for your help. I used the comsol kernel because we have only a limited number of cad import licences. The solid is still just converted with a reapir tolerance > 1.5 E-4 . Is this a problem or can i ignore this? in the end, two of this cubes should be pressed together at their rough surfaces!
thanks very much for your help. I used the comsol kernel because we have only a limited number of cad import licences. The solid is still just converted with a reapir tolerance > 1.5 E-4 . Is this a problem or can i ignore this? in the end, two of this cubes should be pressed together at their rough surfaces!

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 lug 2012, 09:42 GMT-4
The solid is still just converted with a reapir tolerance > 1.5 E-4 . Is this a problem or can i ignore this?

I don't know for sure. (I also don't think anybody *really* knows what these geometry kernels do internally.) As long as it works, I usually don't worry about it much. I'm guessing that in your case you need to relax the repair tolerance so that the edges match. (Even though you said the top surface is only rough in the middle, maybe the interpolation routine causes some trouble here...)

Anyway, if the high tolerance bothers you, there's another way to achieve the same result. Make a block that extends from below to above your rough surface, but has otherwise the same dimensions. Then unite block and surface, split, and delete the "outside" part. This way, you get the job done with the standard repair tolerance of 1e-6. But again, it only works with the CAD kernel, not the standard one.

in the end, two of this cubes should be pressed together at their rough surfaces!

Good luck with that. You'll certainly need it.
[quote]The solid is still just converted with a reapir tolerance > 1.5 E-4 . Is this a problem or can i ignore this?[/quote] I don't know for sure. (I also don't think anybody *really* knows what these geometry kernels do internally.) As long as it works, I usually don't worry about it much. I'm guessing that in your case you need to relax the repair tolerance so that the edges match. (Even though you said the top surface is only rough in the middle, maybe the interpolation routine causes some trouble here...) Anyway, if the high tolerance bothers you, there's another way to achieve the same result. Make a block that extends from below to above your rough surface, but has otherwise the same dimensions. Then unite block and surface, split, and delete the "outside" part. This way, you get the job done with the standard repair tolerance of 1e-6. But again, it only works with the CAD kernel, not the standard one. [quote]in the end, two of this cubes should be pressed together at their rough surfaces![/quote] Good luck with that. You'll certainly need it.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.