Hi,
I imported a 2D geometry (which includes many curved lines) into solidworks from DXF and wanted to export it to COMSOL now. I have the livelink with COMSOL and checked the 'COMSOL adds on' box in Solidworks, and then tried synchronizing it in COMSOL but I get an error that says: the file does not contain any geometry.
I tried doing the same thing with a geometry that was built in Solidworks (3D) and it worked fine.
I was wondering if this is becasue I have a 2d geometry or is it becasue this is an imported geometry?
Thanks,
Dana
SolidworksImport export
Dana,
You might want to ask this question in the SolidWorks Simulation/Simulation forum as well.
I have never worked with COMSOL, but in ANSYS I have to tell it up front what type of geometry I am bringing in by setting up some of the options properly. It I forget and leave the default 3D geometry settings, then I get a similar warning when I try to import 2D geometry.
Jerry S.
Thanks,
I just posted it in the simulation forum too.
There not many options I can play with in comsol when I import an object and I have tried all and nothing worked.
So I am gussing the problem might be from solidworks(?)
Dana
Dana,
I'm surprised that COMSOL doesn't have a lot of import options, since they do so many multi-physics type of analyses.
ANSYS does a really nice job of hiding various important options in unexpected places. Perhaps COMSOL does the same.
How does the import into COMSOL happen? Does it use Parasolid? If so, that might be the problem, as I think it is quite possible that Parasolid only exports solids and surfaces, not sketches or 2D geometry.
Jerry S.
I am actaully using the Synchronize option in Comsol, not import (I have tried importing it but I get some other errors).
So when I run both programs at the same time, I can directly send the geometry from solidworks to comsol and i have done it with some other 3D geometries before.
I don't know any solidworks and I am not sure how solidworks treats an imported object. I saved the imported dxf file as sldpart so it should be considered as a normal solidwork object!
The other thing that suprized me was when I wanted to use 'simplify spline' tool but all the spline tools were gray and I couldn't select the curves of my geometry to use any of those tools.
Dana
Dana,
Your pictures don't show up on my machine.
Do you have someone who knows SolidWorks better who can help you locally?
SolidWorks is primarily focussed on solid bodies, as you might expect from the name. It is not necessarily a good program to handle 2D objects.
What form are your dxf objects in SolidWorks? Does it show up as a 2D Sketch, a 3D Sketch, as Edges? Simplify Spline probably only works in a Sketch.
Jerry S..
Unfortunately there's no one that know Solidworks well in our group.
I think it's a sketch (at least that's what it says oon the very top of the page) and it shows it as a 2D object.
The Synchronize option is only available in 3D and not 2D. So, maybe that's the problem? Im not sure..
Do you think the 2D to 3D conversion option in solidworks might help?
Thanks,
Dana
Dana,
In the Feature Manager on the left side of the window you can see that you have imported a whole series of Curves. I'm not sure what suggests that you have a Sketch, perhaps just the fact that Sketch is first icon in the Command Manager.
From your second screen shot, it looks like the link between SolidWorks and COMSOL should be able to transfer the Curves, as it is including "Curves and points" in the import.
I'm afraid I have about reached the limits of my abililty to help.
Jerry S
Well thanks so much for your help.
Dana