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.

Domain Recognition by COMSOL

Please login with a confirmed email address before reporting spam

Hi,

I import a DXF file to COMSOL. But when I assign materials to my imported object, COMSOL cannot recognize the domains in the object. What COMSOL selects are actually the boundaries instead of the enclosed solid.

I use measurements to check whether COMSOL can define the domains, it shows that COMSOL has no problem in recognizing all the domains of the imported object. But I don't know why when it comes to materials, it will have this problem. Can somebody help me out?

Thanks a lot!

2 Replies Last Post 18 lug 2012, 13:05 GMT-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 17 lug 2012, 15:57 GMT-4
Hi

DXF is not a very well normalised protocol for drawings or 2D objects, therefore, often there are incomplete loops / poly-lines or missing edges in the drawings, these can be very small, but still deteced as anomalies by COMSOl, sometimes by using a lower resolution COMSOL manages to knit the lines together to form surfaces (domains in 2D)

other times you might select a series of edges and creae a "solid" therefrom manually in the geoemtry sequence

One way to better identify how COMSOl has translated the geometry is to use the selection list and see how COMSOL sorts the domains, boundaries etc.

Once passed the "finish" line in the geometry nodes, you have the FEM "Entities" as COMSOl identifies them, thereafter you can easily assign materials, physics and BC conditions to domains and boundaries.

Note that materials properties can be assigned to either domains or boundaries, and if you need material properties on both domains and boundaries (because you use some thin layer physics on some boundaries) then you might need to call in 2x the same material, once for the domains and once for the boundaries (see the selection list)


--
Good luck
Ivar
Hi DXF is not a very well normalised protocol for drawings or 2D objects, therefore, often there are incomplete loops / poly-lines or missing edges in the drawings, these can be very small, but still deteced as anomalies by COMSOl, sometimes by using a lower resolution COMSOL manages to knit the lines together to form surfaces (domains in 2D) other times you might select a series of edges and creae a "solid" therefrom manually in the geoemtry sequence One way to better identify how COMSOl has translated the geometry is to use the selection list and see how COMSOL sorts the domains, boundaries etc. Once passed the "finish" line in the geometry nodes, you have the FEM "Entities" as COMSOl identifies them, thereafter you can easily assign materials, physics and BC conditions to domains and boundaries. Note that materials properties can be assigned to either domains or boundaries, and if you need material properties on both domains and boundaries (because you use some thin layer physics on some boundaries) then you might need to call in 2x the same material, once for the domains and once for the boundaries (see the selection list) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 18 lug 2012, 13:05 GMT-4
Thank you, Ivar!
Problem solved!

Chloe
Thank you, Ivar! Problem solved! Chloe

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.