Discussion Forum

Constructing Complex 3D geometry / Importing CAD geometry

Topics: Geometry, 4.1

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   10 Replies   Last post: January 19, 2011 10:16am UTC
Dheeraj Bobba

Dheeraj Bobba

July 22, 2010 7:50pm UTC

Constructing Complex 3D geometry / Importing CAD geometry

Hi,

I am trying to create a geometry in COMSOL for solving a magnetic problem using an FEA solver.
I was working with a few other softwares before and was able to import this geometry from a CAD file (.sat). However the import option in COMSOL seems to support limited file extensions among which ‘.sat’ is not one. I tried converting my model from ‘.sat’ to a few file formats that I see in COMSOL (like .dxf) but still could not import it.

Finally I gave up trying to import and started constructing it using COMSOL. Now, I am stuck up at a point where I had to split my object at specific sections. Please find attached a figure of the geometry that I am trying to build.

Any insight on how I can create this geometry or any other possible ways to import from my CAD file?
I appreciate your help.

Thanks,
DheeraJ.

Attachments:   Geometry.JPG  

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg
Moderator

July 22, 2010 8:48pm UTC in response to Dheeraj Bobba

Re: Constructing Complex 3D geometry / Importing CAD geometry

Hi

COMSOL accepts several CAD formats (but I do not remeber if .sat is on the list, probably not if you didnt succed) solidworks, parasolid, Pro-e etc, dxf for 2D but some are linked to the live-link or CAD interface module. For your type of 3D you should try parasolid (in my opinion), but you can also generate it with COMSOL, V4 has further enhancements w.r.t v3.5

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Dheeraj Bobba

Dheeraj Bobba

July 22, 2010 10:00pm UTC in response to Ivar Kjelberg

Re: Constructing Complex 3D geometry / Importing CAD geometry

Hi Ivar,

Thank you for your response.

The only CAD formats that COMSOL appears to support are .dxf , .gds & .asc.. and as per my knowledge all three are for 2D. I have tried Solidworks but it doesn't generate any file format that is listed with COMSOL. Parasolid is something new and I shall try looking into the availability of that.
We just got a glimpse at V4, but there are some upgrade issues that are yet to be resolved before I get to work on V4.
Meanwhile, can you suggest any methods or any specific commands that I might be missing to create this geometry in COMSOL 3.5

I had a 2D model made as shown in the attached figure 1, and extruded it to obtain the horizontal splits (as in figure 2). If there is some way to create sectional cuts on this , I would be very close to my desired geometry. Your expertise would be of great help with this.

Thanks again!
DheeraJ

Attachments:   Figure 1.jpg   Figure 2.jpg  

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg
Moderator

July 23, 2010 7:47am UTC in response to Dheeraj Bobba

Re: Constructing Complex 3D geometry / Importing CAD geometry

Hi

Then you do not have the CAD interface toolbox, because COMSOL can read far more 3D formats, as I have CAD and SolidWorks for V3.5 and V4 I can also link directly with SolidWorks, very handy.

Now for your gemoetry my approache would be to generate it as two circles and a diagonal vertical line that I would duplicate and rotate (CNTRL+C CNTRL+V then CR (no displacements) Rotate around 0,0 angle X°). This in 2D, then I would Coerce it to one solid (as I expect you have done from your image, extrude it N times and keep the items you want. All in COMSOL

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Dheeraj Bobba

Dheeraj Bobba

July 23, 2010 4:48pm UTC in response to Ivar Kjelberg

Re: Constructing Complex 3D geometry / Importing CAD geometry

WoW! Thanks Ivar!!

Extrude N times did work! I didn't realize that extrude function could do a piecewise linear extrusion.

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg
Moderator

July 24, 2010 7:07am UTC in response to Dheeraj Bobba

Re: Constructing Complex 3D geometry / Importing CAD geometry

Hi

You know with COMSOL one can do almost everything, the only issue is that you must THINK, at least think PHYSICS, (and search/investigate a little) not that a bad thing, but one has almost forgotten to think these days with the usual clickable engineering tools all around.

It took me some time to get back "thinking" again but now I'm really having fun ;)

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Lichun  Wang

Lichun Wang

January 18, 2011 11:20pm UTC in response to Ivar Kjelberg

Re: Constructing Complex 3D geometry / Importing CAD geometry

Hi, I am fresh man with COMSOL. Currently, I want to generate 3D geometry. Could you tell me how to do it in COMSOL? By the way, what the V4? Thanks for your help.

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg
Moderator

January 18, 2011 11:45pm UTC in response to Lichun Wang

Re: Constructing Complex 3D geometry / Importing CAD geometry

Hi
V4 is the new version 4 approach of COMSOL, much smoother, but somewhat different from the old 3.5, in methodology. see the main veb site of COMSOL.

Check the doc, there are amny 2D and 3D commands for geometry inside COMSOL

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Lichun  Wang

Lichun Wang

January 19, 2011 3:58am UTC in response to Ivar Kjelberg

Re: Constructing Complex 3D geometry / Importing CAD geometry

Hi, Ivar
Thanks for your reply. My tricky thing and also my classmate also have difficulty in building 3D geometry using 3D data(format: x, y, z), not just a simple geometry. So, could you tell me the convinient way to do so? Thank you.

Best regards,
Lichun

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg
Moderator

January 19, 2011 6:45am UTC in response to Lichun Wang

Re: Constructing Complex 3D geometry / Importing CAD geometry

Hi

if it is scanned images in mesh geometry, I can only suggest a) to write a program in Matlab, but its a rather tough issue, certainly interesting. Or, for an engineer, and not students, buy one of the third party software or service to get the data translated, see the main web site

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Kodanda Ram Mangipudi

Kodanda Ram Mangipudi

January 19, 2011 10:16am UTC in response to Lichun Wang

Re: Constructing Complex 3D geometry / Importing CAD geometry

Hi Wang,

There is a free meshing toolbox for MATLAB that can mesh a given point cloud data like yours. It can make triangular surface meshes or solid tetrahedral meshes.

It is bit simple to use, but importing into comsol should be done through a matlab +comsol transfer. I warn you that it may not always be successful all the time.

kodanda

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines