CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ANSYS Meshing & Geometry

[DesignModeler] How to import AutoCAD file into Design Modeler?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 7, 2010, 09:09
Default How to import AutoCAD file into Design Modeler?
  #1
New Member
 
Jay Lane
Join Date: Jul 2010
Posts: 3
Rep Power: 7
CFD-Jay is on a distinguished road
How can I import a geometry created in AutoCAD into Design Modeler? Can anybody help me with that? Thanks!
CFD-Jay is offline   Reply With Quote

Old   July 8, 2010, 10:01
Default File Filter
  #2
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 35
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
Import Geometry and Browse to the folder where your file is...

If you don't see your files, check the filter. This may be licensing dependent. There is a special key needed to import Autodesk formats, just as there is one to import Pro/E or NX formats. I think this is less nitpicky with the Academic keys.

ImportFileFilter.jpg

Coming at 13.0, we have added some new import formats (such as JTOpen and STL), removed some of the requirements to have CAD software installed, etc.
PSYMN is offline   Reply With Quote

Old   July 8, 2010, 10:35
Default
  #3
Member
 
james britton
Join Date: Jan 2010
Posts: 38
Rep Power: 7
jbritton is on a distinguished road
If you are using the academic version, most packages of this come with the geometry interfaces and you can import as above.

If its a commercial license, you will need the autocad geometry interface license or simply export you geometry to step format and open it in design modeller.
jbritton is offline   Reply With Quote

Old   February 8, 2011, 17:47
Default
  #4
New Member
 
Arash Akhgari
Join Date: Feb 2011
Posts: 2
Rep Power: 0
Arash Akhgari is on a distinguished road
Hi,

I am trying to import a 2D drawing form AutoCAD 2008 into the DesignModeler. the import option is available, although when I generate the model, there is an error.

---------------------------
ANSYS DesignModeler 12.1 Error
---------------------------
Error: Attach failed
Context: Attach Feature Import1


---------------------------
OK
---------------------------

can anybody help me on that? thanks.
Arash Akhgari is offline   Reply With Quote

Old   February 10, 2011, 10:25
Default 3D dwg only...
  #5
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 35
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
Sorry, I just checked with development and they told me that currently, the autodesk reader is only for 3D dwg files. However, they are enhancing it right now so that the next release will support 2D.
PSYMN is offline   Reply With Quote

Old   May 3, 2011, 01:06
Default
  #6
rae
New Member
 
Join Date: May 2011
Posts: 12
Rep Power: 7
rae is on a distinguished road
I have a very simple AutoCAD version 12 3D dwg file that I am attempting to import but get the same 'attach failed' error message as Arash.

Is there something else to know?
rae is offline   Reply With Quote

Old   May 3, 2011, 14:59
Default
  #7
New Member
 
Arash Akhgari
Join Date: Feb 2011
Posts: 2
Rep Power: 0
Arash Akhgari is on a distinguished road
Hi Rae,

Apparently importing the CAD drawings does not work properly. Simon told me that it will be fixed soon. Try ICEM to mesh you geometry. ICEM is fairly straight forward too.
Arash Akhgari is offline   Reply With Quote

Old   May 3, 2011, 19:05
Default
  #8
rae
New Member
 
Join Date: May 2011
Posts: 12
Rep Power: 7
rae is on a distinguished road
Hi Arash, Meshing is my next step so thanks for the advice.

On my 'Geometry' - I noted 'Inventor Fusion' seemed the preferred source in ANSYS discussions so I opened and saved my '.dwg' file in '.igs' format using Fusion - ANSYS workbench opened the '.igs' format without a hitch.
rae is offline   Reply With Quote

Old   May 6, 2011, 18:44
Default importing from Autocad to Ansys
  #9
New Member
 
rafik
Join Date: Jan 2011
Posts: 16
Rep Power: 6
rafiktharwat is on a distinguished road
hello
to import autocad 3D objects to Ansys.
Export them from Autogad in IGES format using the subscription package of licenced version of Autocad .
Then import it in Ansys geometry.
this works for me
rafiktharwat is offline   Reply With Quote

Old   May 6, 2011, 20:33
Default
  #10
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 35
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
I thought the problem was just with 2D AutoCAD. No one was complaining about 3D models... (yet?)
__________________
-----------------------------------------
Please help guide development at ANSYS by filling in these surveys

Public ANSYS ICEM CFD Users Survey

This second one is more general (Gambit, TGrid and ANSYS Meshing users welcome)...

CFD Online Users Survey
PSYMN is offline   Reply With Quote

Old   October 19, 2011, 20:23
Default
  #11
Member
 
Nathan
Join Date: Aug 2010
Posts: 64
Rep Power: 6
natantyt is on a distinguished road
Hi

I'm trying to import a 3D geometry to Design Modeler in STL stp ir iges. none of them works for me and i get the "attach failed" or "no body found' error message.
Anybody got any idea?

Cheers,
natantyt is offline   Reply With Quote

Old   October 19, 2011, 22:02
Default
  #12
rae
New Member
 
Join Date: May 2011
Posts: 12
Rep Power: 7
rae is on a distinguished road
RE: 'I'm trying to import a 3D geometry to Design Modeler in ... iges.'

Hi,

My experience with DM is that it imports geometry in '.igs' format without trouble. There may be some structures which can't be imported (haven't of course tried them all) and there may be some structures ignored (eg. from memory there are configurable DM settings to ignore certain information like names or material properties).

I suggest you try again, maybe starting with a very simple test geometry.
rae is offline   Reply With Quote

Old   October 21, 2011, 09:16
Default Faceted Geometry...
  #13
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 35
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
STL should fail because DM does not yet support faceted geometry.

IGES or Step should work, if they are bspline or nurb geometry, but if you are starting with some faceted format and just output faceted geometry as Step or IGES, then it won't work.

So, what was the source?
__________________
-----------------------------------------
Please help guide development at ANSYS by filling in these surveys

Public ANSYS ICEM CFD Users Survey

This second one is more general (Gambit, TGrid and ANSYS Meshing users welcome)...

CFD Online Users Survey
PSYMN is offline   Reply With Quote

Old   October 21, 2011, 13:53
Default
  #14
Member
 
Nathan
Join Date: Aug 2010
Posts: 64
Rep Power: 6
natantyt is on a distinguished road
Hi
It is actually a packing of particles ,3d geometry. As you're saying it seems that it can not be imported to Design modeler, it is not just a bSPline.
natantyt is offline   Reply With Quote

Old   October 21, 2011, 13:56
Default
  #15
Member
 
Nathan
Join Date: Aug 2010
Posts: 64
Rep Power: 6
natantyt is on a distinguished road
Can I instead import the coordinateds and the radius of my spheres in the packing, so Design Modeler can generate the geometry automatically? What's the procedure?
natantyt is offline   Reply With Quote

Old   October 21, 2011, 14:34
Default Example...
  #16
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 35
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
Yes, you could write a script that would take in those coordinates and radii and generate the model...

Here is an example to get you started... See the attached zip file...

  1. Copy the "Create_Objects.js" and "Primitives_Information.txt" to working directory
  2. Open Workbench 13 and start DM
  3. Read the "Create_Objects.js" in to DM from File->Run Script menu item.
  4. J-script will launch dialog browser for text file selection
  5. Select "Primitives_Information.txt" text file and script will create prisms, cylinders and cubes in automated fashion.

This example should give you some idea, you can figure it out from there (or call Tech support for more info, I think this script was made by Vamsi Krishna at ANSYS).

And don't forget to have fun with it.
Attached Files
File Type: zip Sample_Jscript_For_Object_Generation.zip (1.6 KB, 111 views)
__________________
-----------------------------------------
Please help guide development at ANSYS by filling in these surveys

Public ANSYS ICEM CFD Users Survey

This second one is more general (Gambit, TGrid and ANSYS Meshing users welcome)...

CFD Online Users Survey
PSYMN is offline   Reply With Quote

Old   November 3, 2011, 07:50
Default
  #17
New Member
 
Ed heywood-Lonsdale
Join Date: Nov 2011
Posts: 2
Rep Power: 0
eheywoodlonsdale is on a distinguished road
PSYMN,

I think I have a similar issue - my aim is to use Matlab to generate 3d coordinates of a rotor (done), export the coordinates into excel (done in Cartesian and in Cylindrical polar) and then get them into ANSYS.

I am only using DM 12.0.1 - is that the problem? When I run the script you so kindly uploaded, I receive the following error in a pop up box:

Script Error
Line:11
Char:0
Error:Automation server can't create object
Code:800a01ad
Source: Microsoft JScript runtime error
Script: var dlg = AnsObject.............

Anything you can say to shed light?

Many thanks,

Ed
eheywoodlonsdale is offline   Reply With Quote

Old   November 22, 2011, 17:00
Default
  #18
New Member
 
Join Date: Aug 2011
Posts: 1
Rep Power: 0
celsound is on a distinguished road
I get the same error eheywoodlonsdale does. I'm trying to do the coordinates of an airfoil.
celsound is offline   Reply With Quote

Old   September 9, 2013, 00:45
Default
  #19
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 158
Rep Power: 4
Tanjina is on a distinguished road
Hello All,

I am trying to import the 2D Autocad geometry to design modeler, but can't do it. But I can import 3D geometry. I am using Ansys 14.0. Is it still unable to import 2D as this post says? Please someone who knows about it clarify my query .

Thanks in advance.

Tanjina
Tanjina is offline   Reply With Quote

Old   September 9, 2013, 12:31
Default
  #20
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 35
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
I am not sure about 14.0. We have had two releases since then and will very soon release a 3rd.

At the moment (14.5.7), it is more entity type limited than 2D vs. 3D. Here is a listing of things that were tested for:

Quote:
The following entity types should be attached/imported to WB:
  • 3D Solids
  • Sheet Bodies (except mesh types)
  • Wire bodies (sketch lines, polylines and splines).
As I understand it, most 2D entities are what we seem to call Wire bodies. Let me know if you have specific entity type info that I can check with the developer for current/planned support.
__________________
-----------------------------------------
Please help guide development at ANSYS by filling in these surveys

Public ANSYS ICEM CFD Users Survey

This second one is more general (Gambit, TGrid and ANSYS Meshing users welcome)...

CFD Online Users Survey
PSYMN is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
swak4foam building problem GGerber OpenFOAM Installation 54 April 24, 2015 16:02
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16
How to import AutoCAD file into Design Modeler? CFD-Jay ANSYS 2 July 13, 2010 21:56
import autocad file ritmat FLUENT 5 June 1, 2007 12:19


All times are GMT -4. The time now is 14:23.