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.

Problem when importing CAD file into COMSOL

Please login with a confirmed email address before reporting spam

Hello

Using COMSOL, I have imported a geometry (step file “.stp”) into COMSOL and converted it into COMSOL object.

Afterwards, the following error message keeps popping up: “Unsupported degree on Bezier representation”

Another error message that keeps popping up is: “Error in Geometry Decomposition”

What does each error message mean and how to solve these two errors ?

Thanks
Nayef

5 Replies Last Post 2 août 2012, 14:18 UTC−4
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 29 juil. 2012, 03:35 UTC−4
Hi

have you checked what you can do with the geometry repair functions ?
Sometimes its better to convert to COMSOL CAD specifically, others time not ...

--
Good luck
Ivar
Hi have you checked what you can do with the geometry repair functions ? Sometimes its better to convert to COMSOL CAD specifically, others time not ... -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 29 juil. 2012, 06:30 UTC−4
Hi

If you mean importing the step file into COMSOL and trying the defeaturing and repair functions (before converting the design to COMSOL object) then the answer is yes.

I have tried to use these two functions but I keep getting the same errors.

What does theses errors indicate by the way ?
Hi If you mean importing the step file into COMSOL and trying the defeaturing and repair functions (before converting the design to COMSOL object) then the answer is yes. I have tried to use these two functions but I keep getting the same errors. What does theses errors indicate by the way ?

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 29 juil. 2012, 10:48 UTC−4
Hi

probably a very high order Bezier curve that is not supported by COMSOL, so you are missing some lines, hence some surfaces are not well closed etc. The geometry is not complet.

It can also come from small "silver faces" or other features, but normally you can detect these with the repair functionality of COMSOL.

Bezier curves often comes from free-hand surfaces, but some translators trasform even simple circles, cylinders or sheres to higher order Bezier curves.

Which CAD soft do you use ? I'm using Solid works, and have seldom such issues neither with direct read-in, nor with STEP trnslations.

By the way sometimes you have optons when writing the STEP file, perhaps you have some tick maks there to use or not higher order Beziers, take a look, but this omes from your CAD programme and not from COMSOL

--
Good luck
Ivar
Hi probably a very high order Bezier curve that is not supported by COMSOL, so you are missing some lines, hence some surfaces are not well closed etc. The geometry is not complet. It can also come from small "silver faces" or other features, but normally you can detect these with the repair functionality of COMSOL. Bezier curves often comes from free-hand surfaces, but some translators trasform even simple circles, cylinders or sheres to higher order Bezier curves. Which CAD soft do you use ? I'm using Solid works, and have seldom such issues neither with direct read-in, nor with STEP trnslations. By the way sometimes you have optons when writing the STEP file, perhaps you have some tick maks there to use or not higher order Beziers, take a look, but this omes from your CAD programme and not from COMSOL -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 31 juil. 2012, 18:33 UTC−4
Hi Ivar

The CAD programme used is CATIA.

In order to make sure that each part is error free I have imported each part of the design individually into COMSOL;
then converted it into COMSOL object. When I find any errors in any part I fix them in CATIA before importing it into COMSOL again. I repeated this procedure until all parts became error free in COMSOL.

I am now confident that all individual parts of the design are error free and don’t need repair or defeaturing.

Then in CATIA, I formed the whole structure from these individual parts (connected all these parts together to form the desired design) then imported it into COMSOL.

Unfortunately I still have the error messages: “Unsupported degree on Bezier representation” and “Internal Error in Geometry Decomposition”.

Any help ?

Many thanks
Hi Ivar The CAD programme used is CATIA. In order to make sure that each part is error free I have imported each part of the design individually into COMSOL; then converted it into COMSOL object. When I find any errors in any part I fix them in CATIA before importing it into COMSOL again. I repeated this procedure until all parts became error free in COMSOL. I am now confident that all individual parts of the design are error free and don’t need repair or defeaturing. Then in CATIA, I formed the whole structure from these individual parts (connected all these parts together to form the desired design) then imported it into COMSOL. Unfortunately I still have the error messages: “Unsupported degree on Bezier representation” and “Internal Error in Geometry Decomposition”. Any help ? Many thanks

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2 août 2012, 14:18 UTC−4
Hi

check your options in CATIA for STEP format, there are generally a few options about which version to use. See if you find an entry for the bezier level, and ty to use a low polynomial development. Personally I have never used CATIA so I do not know which options are proposed.

Another way is to read the catia file, or use "parasolid" as format, if you have the CATIA and or COSMOL modules for this

--
Good luck
Ivar
Hi check your options in CATIA for STEP format, there are generally a few options about which version to use. See if you find an entry for the bezier level, and ty to use a low polynomial development. Personally I have never used CATIA so I do not know which options are proposed. Another way is to read the catia file, or use "parasolid" as format, if you have the CATIA and or COSMOL modules for this -- Good luck Ivar

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.